Blame SPECS/libev.spec

3366a9
%global source_dir  %{_datadir}/%{name}-source
3366a9
%global inst_srcdir %{buildroot}/%{source_dir}
3366a9
3366a9
Name:             libev
3366a9
Summary:          High-performance event loop/event model with lots of features
3366a9
Version:          4.24
3366a9
Release:          6%{?dist}
3366a9
License:          BSD or GPLv2+
3366a9
URL:              http://software.schmorp.de/pkg/libev.html
3366a9
Source0:          http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
3366a9
3366a9
BuildRequires:    autoconf
3366a9
BuildRequires:    automake
3366a9
BuildRequires:    coreutils
3366a9
BuildRequires:    findutils
3366a9
BuildRequires:    gcc
3366a9
BuildRequires:    libtool
3366a9
BuildRequires:    make
3366a9
BuildRequires:    tar
3366a9
3366a9
Provides:         bundled(libecb) = 1.05
3366a9
3366a9
%description
3366a9
Libev is modeled (very loosely) after libevent and the Event Perl
3366a9
module, but is faster, scales better and is more correct, and also more
3366a9
featureful. And also smaller.
3366a9
3366a9
%package devel
3366a9
Summary:          Development headers for libev
3366a9
Requires:         %{name}%{?_isa} = %{version}-%{release}
3366a9
3366a9
%description devel
3366a9
This package contains the development headers and libraries for libev.
3366a9
3366a9
%package libevent-devel
3366a9
Summary:          Compatibility development header with libevent for %{name}.
3366a9
Requires:         %{name}-devel%{?_isa} = %{version}-%{release}
3366a9
3366a9
# The event.h file actually conflicts with the one from libevent-devel
3366a9
Conflicts:        libevent-devel
3366a9
3366a9
%description libevent-devel
3366a9
This package contains a development header to make libev compatible with
3366a9
libevent.
3366a9
3366a9
%package source
3366a9
Summary:          High-performance event loop/event model with lots of features
3366a9
%if 0%{?fedora} >= 12 || 0%{?rhel} > 5
3366a9
BuildArch:        noarch
3366a9
%endif
3366a9
Provides:         bundled(libecb) = 1.05
3366a9
3366a9
%description source
3366a9
This package contains the source code for libev.
3366a9
3366a9
%prep
3366a9
%autosetup -p0
3366a9
autoreconf -vfi
3366a9
3366a9
%build
3366a9
%configure --disable-static --with-pic
3366a9
%make_build
3366a9
3366a9
%check
3366a9
make check
3366a9
3366a9
%install
3366a9
make install DESTDIR=%{buildroot} INSTALL="install -p"
3366a9
rm -rf %{buildroot}%{_libdir}/%{name}.la
3366a9
3366a9
# Make the source package
3366a9
mkdir -p %{inst_srcdir}
3366a9
find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
3366a9
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
3366a9
3366a9
%ldconfig_scriptlets
3366a9
3366a9
%files
3366a9
%license LICENSE
3366a9
%doc Changes README
3366a9
%{_libdir}/%{name}.so.4*
3366a9
3366a9
%files devel
3366a9
%{_includedir}/ev++.h
3366a9
%{_includedir}/ev.h
3366a9
%{_libdir}/%{name}.so
3366a9
%{_mandir}/man?/*
3366a9
3366a9
%files libevent-devel
3366a9
%{_includedir}/event.h
3366a9
3366a9
%files source
3366a9
%{source_dir}
3366a9
3366a9
%changelog
3366a9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-6
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3366a9
3366a9
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.24-5
3366a9
- Switch to %%ldconfig_scriptlets
3366a9
3366a9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-4
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3366a9
3366a9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-3
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3366a9
3366a9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.24-2
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3366a9
3366a9
* Wed Dec 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.24-1
3366a9
- Update to 4.24 (RHBZ #1408954)
3366a9
3366a9
* Thu Nov 17 2016  Fabian Affolter <mail@fabian-.affolter.ch> - 4.23-1
3366a9
- Update to latest upstream release 4.23 (rhbz#1395925)
3366a9
3366a9
* Mon Mar 28 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.22-1
3366a9
- Update to 4.22 (RHBZ #1234039)
3366a9
3366a9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.20-2
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3366a9
3366a9
* Sat Oct 17 2015  Fabian Affolter <mail@fabian-.affolter.ch> - 4.20-2
3366a9
- Remove patch
3366a9
3366a9
* Sat Jun 20 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.20-1
3366a9
- Update to 4.20 (#1234039)
3366a9
3366a9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.19-2
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3366a9
3366a9
* Mon Sep 29 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 4.19-1
3366a9
- Update to 4.19.
3366a9
3366a9
* Tue Sep 23 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 4.18-2
3366a9
- Fix C++ function definitions
3366a9
  https://bugzilla.redhat.com/show_bug.cgi?id=1145190
3366a9
3366a9
* Mon Sep 08 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 4.18-1
3366a9
- Update to 4.18.
3366a9
3366a9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-5
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3366a9
3366a9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-4
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3366a9
3366a9
* Tue Nov 26 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 4.15-3
3366a9
- Get the package closer to what upstream intended:
3366a9
  - Do not move the headers into a subfolder of /usr/include
3366a9
  - Make a libev-libevent-devel subpackage to contain the libevent
3366a9
    compatibility header, so that only this subpackage conflicts with
3366a9
    libevent-devel, not all of libev-devel
3366a9
  - Drop the pkgconfig file, as upstream rejected it several times already.
3366a9
3366a9
* Sun Sep  8 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.15-2
3366a9
- Bump (koji was broken)
3366a9
3366a9
* Sun Sep  8 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.15-1
3366a9
- Update to 4.15 (rhbz 987489)
3366a9
- Fix dates in spec
3366a9
3366a9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-3
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3366a9
3366a9
* Fri Feb 08 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-2
3366a9
- Make a patch out of Michal's pkgconfig support.
3366a9
- Modernize the configure.ac file for Automake >= 1.13.
3366a9
- Respect the Fedora CFLAGS
3366a9
  https://bugzilla.redhat.com/show_bug.cgi?id=908096
3366a9
3366a9
* Fri Sep 28 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-1
3366a9
- Update to 4.11
3366a9
3366a9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.04-3
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3366a9
3366a9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.04-2
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3366a9
3366a9
* Tue Aug  9 2011 Tom Callaway <spot@fedoraproject.org> - 4.04-1
3366a9
- move man page
3366a9
- cleanup spec
3366a9
- update to 4.04
3366a9
3366a9
* Mon Jun 13 2011 Matěj Cepl <mcepl@redhat.com> - 4.03-2
3366a9
- EL5 cannot have noarch subpackages.
3366a9
3366a9
* Sat Feb  5 2011 Michal Nowak <mnowak@redhat.com> - 4.03-1
3366a9
- 4.03; RHBZ#674022
3366a9
- add a -source subpackage (Mathieu Bridon); RHBZ#672153
3366a9
3366a9
* Mon Jan 10 2011 Michal Nowak <mnowak@redhat.com> - 4.01-1
3366a9
- 4.01
3366a9
- fix grammar in %%description
3366a9
3366a9
* Sat Jan  2 2010 Michal Nowak <mnowak@redhat.com> - 3.90-1
3366a9
- 3.9
3366a9
3366a9
* Mon Aug 10 2009 Michal Nowak <mnowak@redhat.com> - 3.80-1
3366a9
- 3.8
3366a9
- always use the most recent automake
3366a9
- BuildRequires now libtool
3366a9
3366a9
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.70-3
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3366a9
3366a9
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-2
3366a9
- spec file change, which prevented uploading most recent tarball
3366a9
  so the RPM was "3.70" but tarball was from 3.60
3366a9
3366a9
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-1
3366a9
- v3.7
3366a9
- list libev soname explicitly
3366a9
3366a9
* Mon Jun 29 2009 Michal Nowak <mnowak@redhat.com> - 3.60-1
3366a9
- previous version was called "3.6" but this is broken update
3366a9
  path wrt version "3.53" -- thus bumping to "3.60"
3366a9
3366a9
* Thu Apr 30 2009 Michal Nowak <mnowak@redhat.com> - 3.6-1
3366a9
- 3.60
3366a9
- fixed few mixed-use-of-spaces-and-tabs warnings in spec file
3366a9
3366a9
* Thu Mar 19 2009 Michal Nowak <mnowak@redhat.com> - 3.53-1
3366a9
- 3.53
3366a9
3366a9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.52-2
3366a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3366a9
3366a9
* Wed Jan 07 2009 Michal Nowak <mnowak@redhat.com> - 3.52-1
3366a9
- 3.52
3366a9
3366a9
* Wed Dec 24 2008 Michal Nowak <mnowak@redhat.com> - 3.51-1
3366a9
- 3.51
3366a9
3366a9
* Thu Nov 20 2008 Michal Nowak <mnowak@redhat.com> - 3.49-1
3366a9
- version bump: 3.49
3366a9
3366a9
* Sun Nov  9 2008 Michal Nowak <mnowak@redhat.com> - 3.48-1
3366a9
- version bump: 3.48
3366a9
3366a9
* Mon Oct  6 2008 kwizart <kwizart at gmail.com> - 3.44-1
3366a9
- bump to 3.44
3366a9
3366a9
* Tue Sep  2 2008 kwizart <kwizart at gmail.com> - 3.43-4
3366a9
- Fix pkgconfig support
3366a9
3366a9
* Tue Aug 12 2008 Michal Nowak <mnowak@redhat.com> - 3.43-2
3366a9
- removed libev.a
3366a9
- installing with "-p"
3366a9
- event.h is removed intentionaly, because is there only for 
3366a9
  backward compatibility with libevent
3366a9
3366a9
* Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 3.43-1
3366a9
- initial package
3366a9