libverto/libverto.spec

217 lines
6.5 KiB
RPMSpec
Raw Normal View History

2011-11-11 21:41:41 +00:00
Name: libverto
2012-02-09 22:28:49 +00:00
Version: 0.2.4
Release: 3%{?dist}
2011-11-11 21:41:41 +00:00
Summary: Main loop abstraction library
License: MIT
URL: https://fedorahosted.org/libverto/
Source0: http://fedorahosted.org/releases/l/i/%{name}/%{name}-%{version}.tar.gz
2012-02-13 15:02:49 +00:00
# From upstream, will be in next release
Patch1: libverto-0.2.4-fix-libev.patch
2011-11-11 21:41:41 +00:00
BuildRequires: glib2-devel
BuildRequires: libev-devel
BuildRequires: libevent-devel
BuildRequires: libtevent-devel
%description
libverto provides a way for libraries to expose asynchronous interfaces
without having to choose a particular event loop, offloading this
decision to the end application which consumes the library.
If you are packaging an application, not library, based on libverto,
you should depend either on a specific implementation module or you
can depend on the virtual provides 'libverto-module-base'. This will
ensure that you have at least one module installed that provides io,
timeout and signal functionality. Currently glib is the only module
that does not provide these three because it lacks signal. However,
glib will support signal in the future.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package glib
Summary: glib module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description glib
Module for %{name} which provides integration with glib.
This package does NOT yet provide %{name}-module-base.
%package glib-devel
Summary: Development files for %{name}-glib
Requires: %{name}-glib%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description glib-devel
The %{name}-glib-devel package contains libraries and header files for
developing applications that use %{name}-glib.
%package libev
Summary: libev module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-module-base = %{version}-%{release}
%description libev
Module for %{name} which provides integration with libev.
This package provides %{name}-module-base since it supports io, timeout
and signal.
%package libev-devel
Summary: Development files for %{name}-libev
Requires: %{name}-libev%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description libev-devel
The %{name}-libev-devel package contains libraries and header files for
developing applications that use %{name}-libev.
This package provides %{name}-module-base since it supports io, timeout
and signal.
%package libevent
Summary: libevent module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-module-base = %{version}-%{release}
%description libevent
Module for %{name} which provides integration with libevent.
%package libevent-devel
Summary: Development files for %{name}-libevent
Requires: %{name}-libevent%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description libevent-devel
The %{name}-libevent-devel package contains libraries and header files for
developing applications that use %{name}-libevent.
%package tevent
Summary: tevent module for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-module-base = %{version}-%{release}
%description tevent
Module for %{name} which provides integration with tevent.
This package provides %{name}-module-base since it supports io, timeout
and signal.
%package tevent-devel
Summary: Development files for %{name}-tevent
Requires: %{name}-tevent%{?_isa} = %{version}-%{release}
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description tevent-devel
The %{name}-tevent-devel package contains libraries and header files for
developing applications that use %{name}-tevent.
%prep
%setup -q
2012-02-13 15:02:49 +00:00
%patch1 -p1
2011-11-11 21:41:41 +00:00
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n %{name}-glib -p /sbin/ldconfig
%postun -n %{name}-glib -p /sbin/ldconfig
%post -n %{name}-libev -p /sbin/ldconfig
%postun -n %{name}-libev -p /sbin/ldconfig
%post -n %{name}-libevent -p /sbin/ldconfig
%postun -n %{name}-libevent -p /sbin/ldconfig
%post -n %{name}-tevent -p /sbin/ldconfig
%postun -n %{name}-tevent -p /sbin/ldconfig
%files
2011-11-11 22:13:24 +00:00
%doc AUTHORS ChangeLog COPYING NEWS README
2011-11-11 21:41:41 +00:00
%{_libdir}/%{name}.so.*
%files devel
%{_includedir}/verto.h
%{_includedir}/verto-module.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%files glib
%{_libdir}/%{name}-glib.so.*
%files glib-devel
%{_includedir}/verto-glib.h
%{_libdir}/%{name}-glib.so
%{_libdir}/pkgconfig/%{name}-glib.pc
%files libev
%{_libdir}/%{name}-libev.so.*
%files libev-devel
%{_includedir}/verto-libev.h
%{_libdir}/%{name}-libev.so
%{_libdir}/pkgconfig/%{name}-libev.pc
%files libevent
%{_libdir}/%{name}-libevent.so.*
%files libevent-devel
%{_includedir}/verto-libevent.h
%{_libdir}/%{name}-libevent.so
%{_libdir}/pkgconfig/%{name}-libevent.pc
%files tevent
%{_libdir}/%{name}-tevent.so.*
%files tevent-devel
%{_includedir}/verto-tevent.h
%{_libdir}/%{name}-tevent.so
%{_libdir}/pkgconfig/%{name}-tevent.pc
%changelog
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-02-13 15:02:49 +00:00
* Mon Feb 13 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.4-2
- Added libverto-0.2.4-fix-libev.patch
* Thu Feb 09 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.4-1
2012-02-09 22:28:49 +00:00
- Update to 0.2.4 release
2012-02-08 15:52:46 +00:00
* Wed Feb 08 2012 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.3-1
- Update to 0.2.3 release
2012-02-08 15:53:40 +00:00
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-11-11 22:13:24 +00:00
* Fri Nov 11 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.2-1
- Update to 0.2.2 release
- Add ChangeLog documentation
* Fri Nov 11 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.1-2
2011-11-11 21:41:41 +00:00
- Fix Requires to have proper ISA dependencies
* Thu Nov 10 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.2.1-1
- Update to 0.2.1
* Mon Aug 15 2011 Nathaniel McCallum <npmccallum@redhat.com> - 0.1-1
- Initial release