|
Nikos Mavrogiannopoulos |
f18e2d0 |
Name: pcllib
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
Version: 1.12
|
|
|
88b4b88 |
Release: 9%{?dist}
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
Summary: Portable Coroutine Library (PCL)
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
License: GPLv2+
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
URL: http://xmailserver.org/libpcl.html
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
Source0: http://xmailserver.org/pcl-1.12.tar.gz
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%description
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
The Portable Co-routine Library (PCL) implements the low level
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
functionality for co-routines in C. Co-routines are a very simple
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
cooperative multitasking environment where the switch from one task
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
to another is done explicitly by a function call. Co-routines are a
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
lot faster and require much less OS resources than processes or
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
threads.
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%package devel
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
Summary: Development headers and libraries for pcllib
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%description devel
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
Development headers and libraries for Portable Co-routine Library (PCL).
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%prep
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%setup -q -n pcl-%{version}
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
# Note that --disable static is not given because make check requires the static libs
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%build
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%configure
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
make %{?_smp_mflags}
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%install
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
make install DESTDIR=%{buildroot}
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
rm -f %{buildroot}/%{_libdir}/*.la
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
rm -f %{buildroot}/%{_libdir}/*.a
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%check
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
make check %{?_smp_mflags}
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%clean
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
rm -rf %{buildroot}
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%post -p /sbin/ldconfig
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%postun -p /sbin/ldconfig
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%files
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%defattr(-,root,root,-)
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%{_libdir}/libpcl.so.*
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%doc AUTHORS COPYING
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%files devel
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%defattr(-,root,root,-)
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%{_includedir}/*
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%{_libdir}/libpcl.so
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%{_mandir}/man3/*
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
%changelog
|
|
|
88b4b88 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-9
|
|
|
88b4b88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
88b4b88 |
|
|
|
6ec2256 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-8
|
|
|
6ec2256 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
6ec2256 |
|
|
|
5bd624c |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-7
|
|
|
5bd624c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5bd624c |
|
|
|
d82a5d1 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-6
|
|
|
d82a5d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d82a5d1 |
|
|
|
40dc2e3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-5
|
|
|
40dc2e3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
40dc2e3 |
|
|
|
14ec1a9 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
|
|
|
14ec1a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
14ec1a9 |
|
|
|
88dc74c |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-3
|
|
|
88dc74c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
88dc74c |
|
|
|
6e1e9ba |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
|
|
|
6e1e9ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
6e1e9ba |
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
* Sun Nov 10 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 1.12-1
|
|
Nikos Mavrogiannopoulos |
f18e2d0 |
- Initial version of the package
|