4.04, fix man page location, spec cleanup
This commit is contained in:
parent
b4d86473a6
commit
192b176a90
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
libev-3.9.tar.gz
|
libev-3.9.tar.gz
|
||||||
/libev-4.01.tar.gz
|
/libev-4.01.tar.gz
|
||||||
/libev-4.03.tar.gz
|
/libev-4.03.tar.gz
|
||||||
|
/libev-4.04.tar.gz
|
||||||
|
38
libev.spec
38
libev.spec
@ -2,17 +2,14 @@
|
|||||||
%global inst_srcdir %{buildroot}/%{source_dir}
|
%global inst_srcdir %{buildroot}/%{source_dir}
|
||||||
|
|
||||||
Name: libev
|
Name: libev
|
||||||
Version: 4.03
|
Version: 4.04
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: High-performance event loop/event model with lots of features
|
Summary: High-performance event loop/event model with lots of features
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD or GPLv2+
|
License: BSD or GPLv2+
|
||||||
URL: http://software.schmorp.de/pkg/libev.html
|
URL: http://software.schmorp.de/pkg/libev.html
|
||||||
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.pc.in
|
Source1: %{name}.pc.in
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: automake libtool
|
BuildRequires: automake libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -23,7 +20,7 @@ featureful. And also smaller.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: High-performance event loop/event model with lots of features
|
Summary: High-performance event loop/event model with lots of features
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -61,17 +58,13 @@ automake
|
|||||||
%configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
|
%configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
rm -rf %{buildroot}%{_libdir}/%{name}.la
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
|
||||||
|
|
||||||
# Make the source package
|
# Make the source package
|
||||||
mkdir -p %{inst_srcdir}
|
mkdir -p %{inst_srcdir}
|
||||||
@ -79,38 +72,29 @@ mkdir -p %{inst_srcdir}
|
|||||||
find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
|
find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
|
||||||
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
||||||
|
|
||||||
|
|
||||||
%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,-)
|
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
%{_libdir}/%{name}.so.4
|
%{_libdir}/%{name}.so.4
|
||||||
%{_libdir}/%{name}.so.4.0.0
|
%{_libdir}/%{name}.so.4.0.0
|
||||||
%{_mandir}/man?/*
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_includedir}/libev/
|
%{_includedir}/libev/
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
%files source
|
%files source
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{source_dir}
|
%{source_dir}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 9 2011 Tom Callaway <spot@fedoraproject.org> - 4.04-1
|
||||||
|
- move man page
|
||||||
|
- cleanup spec
|
||||||
|
- update to 4.04
|
||||||
|
|
||||||
* Mon Jun 13 2011 Matěj Cepl <mcepl@redhat.com> - 4.03-2
|
* Mon Jun 13 2011 Matěj Cepl <mcepl@redhat.com> - 4.03-2
|
||||||
- EL5 cannot have noarch subpackages.
|
- EL5 cannot have noarch subpackages.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user