Blame SPECS/libverto.spec

9c78f4
%global homepage https://github.com/latchset/libverto
9c78f4
9c78f4
Name:           libverto
c6dd36
Version:        0.3.2
c6dd36
Release:        2%{?dist}
9c78f4
Summary:        Main loop abstraction library
9c78f4
9c78f4
License:        MIT
9c78f4
URL:            %{homepage}
9c78f4
Source0:        %{homepage}/releases/download/%{version}/%{name}-%{version}.tar.gz
9c78f4
9c78f4
BuildRequires:  autoconf
9c78f4
BuildRequires:  automake
9c78f4
BuildRequires:  libtool
c6dd36
BuildRequires:  make
9c78f4
9c78f4
BuildRequires:  glib2-devel
9c78f4
BuildRequires:  libevent-devel
9c78f4
BuildRequires:  libev-devel
9c78f4
9c78f4
BuildRequires:  git
9c78f4
9c78f4
Obsoletes:      libverto-tevent < 0.3.0-2
9c78f4
Obsoletes:      libverto-tevent-devel < 0.3.0-2
9c78f4
9c78f4
%description
9c78f4
libverto provides a way for libraries to expose asynchronous interfaces
9c78f4
without having to choose a particular event loop, offloading this
9c78f4
decision to the end application which consumes the library.
9c78f4
9c78f4
If you are packaging an application, not library, based on libverto,
9c78f4
you should depend either on a specific implementation module or you
9c78f4
can depend on the virtual provides 'libverto-module-base'. This will
9c78f4
ensure that you have at least one module installed that provides io,
9c78f4
timeout and signal functionality. Currently glib is the only module
9c78f4
that does not provide these three because it lacks signal. However,
9c78f4
glib will support signal in the future.
9c78f4
9c78f4
%package        devel
9c78f4
Summary:        Development files for %{name}
9c78f4
Requires:       %{name}%{?_isa} = %{version}-%{release}
9c78f4
Requires:       pkgconfig
9c78f4
9c78f4
%description    devel
9c78f4
The %{name}-devel package contains libraries and header files for
9c78f4
developing applications that use %{name}.
9c78f4
9c78f4
%package        glib
9c78f4
Summary:        glib module for %{name}
9c78f4
Requires:       %{name}%{?_isa} = %{version}-%{release}
9c78f4
9c78f4
%description    glib
9c78f4
Module for %{name} which provides integration with glib.
9c78f4
9c78f4
This package does NOT yet provide %{name}-module-base.
9c78f4
9c78f4
%package        glib-devel
9c78f4
Summary:        Development files for %{name}-glib
9c78f4
Requires:       %{name}-glib%{?_isa} = %{version}-%{release}
9c78f4
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
9c78f4
9c78f4
%description    glib-devel
9c78f4
The %{name}-glib-devel package contains libraries and header files for
9c78f4
developing applications that use %{name}-glib.
9c78f4
9c78f4
%package        libevent
9c78f4
Summary:        libevent module for %{name}
9c78f4
Requires:       %{name}%{?_isa} = %{version}-%{release}
9c78f4
Provides:       %{name}-module-base = %{version}-%{release}
9c78f4
9c78f4
%description    libevent
9c78f4
Module for %{name} which provides integration with libevent.
9c78f4
9c78f4
%package        libevent-devel
9c78f4
Summary:        Development files for %{name}-libevent
9c78f4
Requires:       %{name}-libevent%{?_isa} = %{version}-%{release}
9c78f4
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
9c78f4
9c78f4
%description    libevent-devel
9c78f4
The %{name}-libevent-devel package contains libraries and header files for
9c78f4
developing applications that use %{name}-libevent.
9c78f4
9c78f4
%package        libev
9c78f4
Summary:        libev module for %{name}
9c78f4
Requires:       %{name}%{?_isa} = %{version}-%{release}
9c78f4
Provides:       %{name}-module-base = %{version}-%{release}
9c78f4
9c78f4
%description    libev
9c78f4
Module for %{name} which provides integration with libev.
9c78f4
9c78f4
This package provides %{name}-module-base since it supports io, timeout
9c78f4
and signal.
9c78f4
9c78f4
%package        libev-devel
9c78f4
Summary:        Development files for %{name}-libev
9c78f4
Requires:       %{name}-libev%{?_isa} = %{version}-%{release}
9c78f4
Requires:       %{name}-devel%{?_isa} = %{version}-%{release}
9c78f4
9c78f4
%description    libev-devel
9c78f4
The %{name}-libev-devel package contains libraries and header files for
9c78f4
developing applications that use %{name}-libev.
9c78f4
9c78f4
This package provides %{name}-module-base since it supports io, timeout
9c78f4
and signal.
9c78f4
9c78f4
%prep
9c78f4
%autosetup -S git
9c78f4
9c78f4
%build
9c78f4
autoreconf -fiv
9c78f4
%configure --disable-static
9c78f4
make %{?_smp_mflags}
9c78f4
9c78f4
%install
9c78f4
rm -rf $RPM_BUILD_ROOT
9c78f4
make install DESTDIR=$RPM_BUILD_ROOT
9c78f4
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
9c78f4
9c78f4
%ldconfig_scriptlets
9c78f4
%ldconfig_scriptlets glib
9c78f4
%ldconfig_scriptlets libevent
9c78f4
%ldconfig_scriptlets libev
9c78f4
9c78f4
%files
9c78f4
%{!?_licensedir:%global license %%doc}
9c78f4
%license COPYING
9c78f4
%doc AUTHORS ChangeLog NEWS README
9c78f4
%{_libdir}/%{name}.so.*
9c78f4
9c78f4
%files devel
9c78f4
%{_includedir}/verto.h
9c78f4
%{_includedir}/verto-module.h
9c78f4
%{_libdir}/%{name}.so
9c78f4
%{_libdir}/pkgconfig/%{name}.pc
9c78f4
9c78f4
%files glib
9c78f4
%{_libdir}/%{name}-glib.so.*
9c78f4
9c78f4
%files glib-devel
9c78f4
%{_includedir}/verto-glib.h
9c78f4
%{_libdir}/%{name}-glib.so
9c78f4
%{_libdir}/pkgconfig/%{name}-glib.pc
9c78f4
9c78f4
%files libevent
9c78f4
%{_libdir}/%{name}-libevent.so.*
9c78f4
9c78f4
%files libevent-devel
9c78f4
%{_includedir}/verto-libevent.h
9c78f4
%{_libdir}/%{name}-libevent.so
9c78f4
%{_libdir}/pkgconfig/%{name}-libevent.pc
9c78f4
9c78f4
%files libev
9c78f4
%{_libdir}/%{name}-libev.so.*
9c78f4
9c78f4
%files libev-devel
9c78f4
%{_includedir}/verto-libev.h
9c78f4
%{_libdir}/%{name}-libev.so
9c78f4
%{_libdir}/pkgconfig/%{name}-libev.pc
9c78f4
9c78f4
%changelog
c6dd36
* Wed Jun 29 2022 Julien Rische <jrische@redhat.com> - 0.3.2-1
c6dd36
- New upstream release (0.3.2)
c6dd36
- Resolves: rhbz#2100916
c6dd36
c6dd36
* Wed Mar 20 2019 Robbie Harwood <rharwood@redhat.com> - 0.3.0-6
c6dd36
- Add gating
c6dd36
- Resolves: #1682288
c6dd36
9c78f4
* Mon Feb 19 2018 Robbie Harwood <rharwood@redhat.com> - 0.3.0-5
9c78f4
- Rebuild due to libevent soname bump
9c78f4
9c78f4
* Wed Feb 07 2018 Kalev Lember <klember@redhat.com> - 0.3.0-4
9c78f4
- Obsolete removed tevent and tevent-devel subpackages
9c78f4
9c78f4
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-3
9c78f4
- Switch to %%ldconfig_scriptlets
9c78f4
9c78f4
* Wed Jan 31 2018 Robbie Harwood <rharwood@redhat.com> - 0.3.0-2
9c78f4
- Stop providing the tevent backend
9c78f4
- https://bugzilla.samba.org/show_bug.cgi?id=12987
9c78f4
9c78f4
* Tue Sep 05 2017 Robbie Harwood <rharwood@redhat.com> - 0.3.0-1
9c78f4
- New upstream release (0.3.0)
9c78f4
9c78f4
* Mon Aug 07 2017 Robbie Harwood <rharwood@redhat.com> - 0.2.6-11
9c78f4
- Fix memleak in vfree()
9c78f4
- Misc spec file fixes
9c78f4
9c78f4
* Thu Aug 03 2017 Robbie Harwood <rharwood@redhat.com> - 0.2.6-10
9c78f4
- Fix all compile warnings
9c78f4
9c78f4
* Tue Aug 01 2017 Robbie Harwood <rharwood@redhat.com> - 0.2.6-9
9c78f4
- Update upstream URLs (no functional changes)
9c78f4
- Move to autosetup
9c78f4
9c78f4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-8
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9c78f4
9c78f4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-7
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9c78f4
9c78f4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-6
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9c78f4
9c78f4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-5
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9c78f4
9c78f4
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-4
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9c78f4
9c78f4
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 0.2.6-3
9c78f4
- fix license handling
9c78f4
9c78f4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-2
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9c78f4
9c78f4
* Wed Mar 12 2014 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.6-1
9c78f4
- Update to 0.2.6
9c78f4
9c78f4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-3
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9c78f4
9c78f4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9c78f4
9c78f4
* Sat Aug 25 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.5-1
9c78f4
- Update to 0.2.5
9c78f4
- Drop libverto-0.2.4-fix-libev.patch
9c78f4
9c78f4
* Tue Aug 07 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.4-4
9c78f4
- Don't build libev on RHEL
9c78f4
9c78f4
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9c78f4
9c78f4
* Mon Feb 13 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.4-2
9c78f4
- Added libverto-0.2.4-fix-libev.patch
9c78f4
9c78f4
* Thu Feb 09 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.4-1
9c78f4
- Update to 0.2.4 release
9c78f4
9c78f4
* Wed Feb 08 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.3-1
9c78f4
- Update to 0.2.3 release
9c78f4
9c78f4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
9c78f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9c78f4
9c78f4
* Fri Nov 11 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.2-1
9c78f4
- Update to 0.2.2 release
9c78f4
- Add ChangeLog documentation
9c78f4
9c78f4
* Fri Nov 11 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.1-2
9c78f4
- Fix Requires to have proper ISA dependencies
9c78f4
9c78f4
* Thu Nov 10 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.1-1
9c78f4
- Update to 0.2.1
9c78f4
9c78f4
* Mon Aug 15 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.1-1
9c78f4
- Initial release