define API version

f41
David Tardon 12 years ago
parent 64ee364fbc
commit cbef7177a4

@ -1,3 +1,5 @@
%global apiversion 0.0
Name: libcdr
Version: 0.0.12
Release: 1%{?dist}
@ -73,13 +75,13 @@ rm -f %{buildroot}/%{_libdir}/*.la
%files
%doc AUTHORS ChangeLog COPYING.* README
%{_libdir}/%{name}-0.0.so.*
%{_libdir}/%{name}-%{apiversion}.so.*
%files devel
%{_includedir}/%{name}-0.0
%{_libdir}/%{name}-0.0.so
%{_libdir}/pkgconfig/%{name}-0.0.pc
%{_includedir}/%{name}-%{apiversion}
%{_libdir}/%{name}-%{apiversion}.so
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
%files doc

Loading…
Cancel
Save