diff --git a/libwps.spec b/libwps.spec index eee2b05..06168bb 100644 --- a/libwps.spec +++ b/libwps.spec @@ -1,3 +1,5 @@ +%global apiversion 0.2 + Name: libwps Version: 0.2.8 Release: 1%{?dist} @@ -82,17 +84,19 @@ LD_LIBRARY_PATH=$(pwd)/src/lib/.libs make check %files %doc COPYING.LGPL COPYING.MPL CREDITS NEWS README -%{_libdir}/*.so.* +%{_libdir}/%{name}-%{apiversion}.so.* %files devel %doc HACKING -%{_includedir}/* -%{_libdir}/*.so -%{_libdir}/pkgconfig/%{name}* +%{_includedir}/%{name}-%{apiversion} +%{_libdir}/%{name}-%{apiversion}.so +%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc %files tools -%{_bindir}/wps2* +%{_bindir}/wps2html +%{_bindir}/wps2raw +%{_bindir}/wps2text %files doc