define API version

f41
David Tardon 12 years ago
parent 102f3a2772
commit 2aa8190a39

@ -1,3 +1,5 @@
%global apiversion 0.3
Name: libcmis Name: libcmis
Version: 0.3.1 Version: 0.3.1
Release: 4%{?dist} Release: 4%{?dist}
@ -63,19 +65,17 @@ rm -f %{buildroot}/%{_libdir}/*.la
%files %files
%doc AUTHORS COPYING.* README %doc AUTHORS COPYING.* README
%{_libdir}/%{name}-0.3.so.3 %{_libdir}/%{name}-%{apiversion}.so.*
%{_libdir}/%{name}-0.3.so.3.* %{_libdir}/%{name}-c-%{apiversion}.so.*
%{_libdir}/%{name}-c-0.3.so.3
%{_libdir}/%{name}-c-0.3.so.3.*
%files devel %files devel
%{_includedir}/%{name}-0.3 %{_includedir}/%{name}-%{apiversion}
%{_includedir}/%{name}-c-0.3 %{_includedir}/%{name}-c-%{apiversion}
%{_libdir}/%{name}-0.3.so %{_libdir}/%{name}-%{apiversion}.so
%{_libdir}/%{name}-c-0.3.so %{_libdir}/%{name}-c-%{apiversion}.so
%{_libdir}/pkgconfig/%{name}-0.3.pc %{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
%{_libdir}/pkgconfig/%{name}-c-0.3.pc %{_libdir}/pkgconfig/%{name}-c-%{apiversion}.pc
%files tools %files tools

Loading…
Cancel
Save