- Merge-review cleanup (#225995)

This commit is contained in:
paragn 2010-09-29 09:43:19 +05:30
parent 59816e3960
commit efe1679709

View File

@ -6,7 +6,6 @@ Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: http://0pointer.de/lennart/projects/libdaemon/ URL: http://0pointer.de/lennart/projects/libdaemon/
Source0: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz Source0: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Requires lynx to build the docs # Requires lynx to build the docs
BuildRequires: lynx BuildRequires: lynx
@ -28,7 +27,6 @@ It consists of the following parts:
Group: Development/Libraries Group: Development/Libraries
Summary: Libraries and header files for libdaemon development Summary: Libraries and header files for libdaemon development
Requires: libdaemon = %{version}-%{release} Requires: libdaemon = %{version}-%{release}
Requires: pkgconfig
%description devel %description devel
The libdaemon-devel package contains the header files and libraries The libdaemon-devel package contains the header files and libraries
@ -42,34 +40,33 @@ necessary for developing programs using libdaemon.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \; find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/README rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/README
rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/README.html rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/README.html
rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc LICENSE README %doc LICENSE README
%{_libdir}/*so.* %{_libdir}/*so.*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root,-)
%doc LICENSE README
%doc doc/README.html doc/style.css %doc doc/README.html doc/style.css
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Fri Sep 10 2010 Parag Nemade <paragn AT fedoraproject.org> 0.14-2
- Merge-review cleanup (#225995)
* Sun Oct 18 2009 Lennart Poettering <lpoetter@redhat.com> - 0.14-1 * Sun Oct 18 2009 Lennart Poettering <lpoetter@redhat.com> - 0.14-1
- New release 0.14 - New release 0.14