libev/libev.spec

150 lines
3.8 KiB
RPMSpec
Raw Normal View History

2008-11-09 13:02:12 +00:00
Name: libev
2011-01-10 22:00:49 +00:00
Version: 4.01
2009-08-10 10:05:28 +00:00
Release: 1%{?dist}
2008-11-09 13:02:12 +00:00
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
2011-01-10 22:00:49 +00:00
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
2008-11-09 13:02:12 +00:00
Source1: %{name}.pc.in
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2009-08-10 10:05:28 +00:00
BuildRequires: automake libtool
2008-11-09 13:02:12 +00:00
%description
2011-01-10 22:00:49 +00:00
Libev is modeled (very loosely) after libevent and the Event Perl
2008-11-09 13:02:12 +00:00
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller.
%package devel
Summary: High-performance event loop/event model with lots of features
Group: System Environment/Libraries
2009-04-30 07:39:49 +00:00
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
2008-11-09 13:02:12 +00:00
%description devel
2011-01-10 22:00:49 +00:00
Libev is modeled (very loosely) after libevent and the Event Perl
2008-11-09 13:02:12 +00:00
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller. Development libraries.
%prep
2011-01-10 22:00:49 +00:00
%setup -q
2008-11-09 13:02:12 +00:00
# Add pkgconfig support
cp -p %{SOURCE1} .
sed -i.pkgconfig -e 's|Makefile|Makefile libev.pc|' configure.ac configure
sed -i.pkgconfig -e 's|lib_LTLIBRARIES|pkgconfigdir = $(libdir)/pkgconfig\n\npkgconfig_DATA = libev.pc\n\nlib_LTLIBRARIES|' Makefile.am Makefile.in
2009-08-10 10:05:28 +00:00
aclocal
automake
2008-11-09 13:02:12 +00:00
%build
%configure --disable-static --with-pic --includedir=%{_includedir}/%{name}
make %{?_smp_mflags}
%check
make check
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
2011-01-10 22:00:49 +00:00
%{_libdir}/%{name}.so.4
%{_libdir}/%{name}.so.4.0.0
2008-11-09 13:02:12 +00:00
%{_mandir}/man?/*
%files devel
%defattr(-,root,root,-)
%{_libdir}/%{name}.so
%{_includedir}/libev/
%{_libdir}/pkgconfig/%{name}.pc
%changelog
2011-01-10 22:00:49 +00:00
* Mon Jan 10 2011 Michal Nowak <mnowak@redhat.com> - 4.01-1
- 4.01
- fix grammar in %%description
2010-01-02 16:12:43 +00:00
* Sat Jan 2 2010 Michal Nowak <mnowak@redhat.com> - 3.90-1
- 3.9
2009-08-10 10:05:28 +00:00
* Fri Aug 10 2009 Michal Nowak <mnowak@redhat.com> - 3.80-1
- 3.8
- always use the most recent automake
- BuildRequires now libtool
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.70-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-17 20:44:57 +00:00
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-2
- spec file change, which prevented uploading most recent tarball
so the RPM was "3.70" but tarball was from 3.60
2009-07-17 10:19:20 +00:00
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-1
- v3.7
- list libev soname explicitly
2009-06-29 13:43:53 +00:00
* Mon Jun 29 2009 Michal Nowak <mnowak@redhat.com> - 3.60-1
- previous version was called "3.6" but this is broken update
path wrt version "3.53" -- thus bumping to "3.60"
2009-04-30 07:39:49 +00:00
* Thu Apr 30 2009 Michal Nowak <mnowak@redhat.com> - 3.6-1
- 3.60
- fixed few mixed-use-of-spaces-and-tabs warnings in spec file
2009-03-19 10:18:05 +00:00
* Thu Mar 19 2009 Michal Nowak <mnowak@redhat.com> - 3.53-1
- 3.53
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.52-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-01-07 22:34:06 +00:00
* Wed Jan 07 2009 Michal Nowak <mnowak@redhat.com> - 3.52-1
- 3.52
2008-12-24 22:57:20 +00:00
* Wed Dec 24 2008 Michal Nowak <mnowak@redhat.com> - 3.51-1
- 3.51
2008-11-20 18:19:31 +00:00
* Thu Nov 20 2008 Michal Nowak <mnowak@redhat.com> - 3.49-1
- version bump: 3.49
2008-11-09 13:02:12 +00:00
* Sun Nov 9 2008 Michal Nowak <mnowak@redhat.com> - 3.48-1
- version bump: 3.48
* Mon Oct 6 2008 kwizart <kwizart at gmail.com> - 3.44-1
- bump to 3.44
* Tue Sep 2 2008 kwizart <kwizart at gmail.com> - 3.43-4
- Fix pkgconfig support
* Mon Aug 12 2008 Michal Nowak <mnowak@redhat.com> - 3.43-2
- removed libev.a
- installing with "-p"
- event.h is removed intentionaly, because is there only for
backward compatibility with libevent
* Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 3.43-1
- initial package