- Merge-review cleanup (#225995)
This commit is contained in:
parent
59816e3960
commit
efe1679709
@ -6,7 +6,6 @@ Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://0pointer.de/lennart/projects/libdaemon/
|
||||
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
|
||||
BuildRequires: lynx
|
||||
@ -28,7 +27,6 @@ It consists of the following parts:
|
||||
Group: Development/Libraries
|
||||
Summary: Libraries and header files for libdaemon development
|
||||
Requires: libdaemon = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
The libdaemon-devel package contains the header files and libraries
|
||||
@ -42,34 +40,33 @@ necessary for developing programs using libdaemon.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
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.html
|
||||
rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README
|
||||
%{_libdir}/*so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/README.html doc/style.css
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
|
||||
%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
|
||||
- New release 0.14
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user