[libev/el6] update to 4.03
Simon Wesp
cassmodiah at fedoraproject.org
Sat Jul 16 10:10:39 UTC 2011
commit fa1b17b19e3651e7e4aab0c29e3debb682997009
Author: Simon Wesp <cassmodiah at fedoraproject.org>
Date: Sat Jul 16 12:10:11 2011 +0200
update to 4.03
libev.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++---------
sources | 2 +-
2 files changed, 48 insertions(+), 10 deletions(-)
---
diff --git a/libev.spec b/libev.spec
index 29984a5..fb76b7c 100644
--- a/libev.spec
+++ b/libev.spec
@@ -1,21 +1,22 @@
-%define version_upstream 3.8
+%global source_dir %{_datadir}/%{name}-source
+%global inst_srcdir %{buildroot}/%{source_dir}
Name: libev
-Version: 3.80
-Release: 1%{?dist}
+Version: 4.03
+Release: 2%{?dist}
Summary: High-performance event loop/event model with lots of features
Group: System Environment/Libraries
License: BSD or GPLv2+
URL: http://software.schmorp.de/pkg/libev.html
-Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version_upstream}.tar.gz
+Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
Source1: %{name}.pc.in
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake libtool
%description
-Libev is modelled (very losely) after libevent and the Event perl
+Libev is modeled (very loosely) after libevent and the Event Perl
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller.
@@ -26,13 +27,25 @@ Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
-Libev is modelled (very losely) after libevent and the Event perl
+Libev is modeled (very loosely) after libevent and the Event Perl
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller. Development libraries.
+%package source
+Summary: High-performance event loop/event model with lots of features
+Group: System Environment/Libraries
+BuildArch: noarch
+
+%description source
+This package contains the source code for libev.
+
+Libev is modeled (very loosely) after libevent and the Event Perl
+module, but is faster, scales better and is more correct, and also more
+featureful. And also smaller. Development libraries.
+
%prep
-%setup -q -n %{name}-%{version_upstream}
+%setup -q
# Add pkgconfig support
cp -p %{SOURCE1} .
@@ -58,6 +71,12 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}.la
+# Make the source package
+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 -)
+install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -72,8 +91,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
-%{_libdir}/%{name}.so.3
-%{_libdir}/%{name}.so.3.0.0
+%{_libdir}/%{name}.so.4
+%{_libdir}/%{name}.so.4.0.0
%{_mandir}/man?/*
@@ -84,7 +103,26 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/%{name}.pc
+%files source
+%defattr(-,root,root,-)
+%{source_dir}
+
+
%changelog
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.03-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sat Feb 5 2011 Michal Nowak <mnowak at redhat.com> - 4.03-1
+- 4.03; RHBZ#674022
+- add a -source subpackage (Mathieu Bridon); RHBZ#672153
+
+* Mon Jan 10 2011 Michal Nowak <mnowak at redhat.com> - 4.01-1
+- 4.01
+- fix grammar in %%description
+
+* Sat Jan 2 2010 Michal Nowak <mnowak at redhat.com> - 3.90-1
+- 3.9
+
* Fri Aug 10 2009 Michal Nowak <mnowak at redhat.com> - 3.80-1
- 3.8
- always use the most recent automake
diff --git a/sources b/sources
index 4a391cc..f5f9dd7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4897453c077056769777d43e5495ded1 libev-3.8.tar.gz
+86cd5c1b42fced1bd02c6e0119e9b865 libev-4.03.tar.gz
More information about the scm-commits
mailing list