define API version

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

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

Loading…
Cancel
Save