|
|
|
@ -36,11 +36,9 @@ BuildArch: noarch
|
|
|
|
|
%description doc
|
|
|
|
|
The %{name}-doc package contains documentation files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-silent-rules --disable-static --disable-werror
|
|
|
|
|
sed -i \
|
|
|
|
@ -49,23 +47,19 @@ sed -i \
|
|
|
|
|
libtool
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
# we install API docs directly from build
|
|
|
|
|
rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc COPYING.* README NEWS
|
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc ChangeLog
|
|
|
|
|
%{_includedir}/%{name}-%{apiversion}
|
|
|
|
@ -76,7 +70,6 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|
|
|
|
%doc COPYING.*
|
|
|
|
|
%doc docs/doxygen/html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon May 26 2014 David Tardon <dtardon@redhat.com> - 0.1.0-1
|
|
|
|
|
- new upstream release
|
|
|
|
|