9b26b3
%global gnulib_ver 20120404-stable
9b26b3
9b26b3
Summary: A pipeline manipulation library
9b26b3
Name: libpipeline
9b26b3
Version: 1.2.3
31eec2
Release: 3%{?dist}
9b26b3
License: GPLv3+
9b26b3
Group: Development/Libraries
9b26b3
URL: http://libpipeline.nongnu.org/
9b26b3
Source: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-%{version}.tar.gz
9b26b3
9b26b3
BuildRequires: libtool, check-devel
9b26b3
9b26b3
# FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174
9b26b3
Provides: bundled(gnulib) = %{gnulib_ver}
9b26b3
9b26b3
%description
9b26b3
libpipeline is a C library for setting up and running pipelines of
9b26b3
processes, without needing to involve shell command-line parsing which is
9b26b3
often error-prone and insecure. This alleviates programmers of the need to
9b26b3
laboriously construct pipelines using lower-level primitives such as fork(2)
9b26b3
and execve(2).
9b26b3
9b26b3
%package devel
9b26b3
Summary: Header files and libraries for pipeline manipulation library
9b26b3
Group: Development/Libraries
9b26b3
Requires: %{name}%{?_isa} = %{version}-%{release}
9b26b3
Requires: pkgconfig
9b26b3
9b26b3
%description devel
9b26b3
libpipeline-devel contains the header files and libraries needed
9b26b3
to develop programs that use libpipeline library.
9b26b3
9b26b3
%prep
9b26b3
%setup -q
9b26b3
9b26b3
%build
9b26b3
%{configure}
9b26b3
make %{?_smp_mflags}
9b26b3
9b26b3
%check
9b26b3
make check
9b26b3
9b26b3
%install
9b26b3
make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} INSTALL='install -p'
9b26b3
rm $RPM_BUILD_ROOT/%{_libdir}/libpipeline.la
9b26b3
9b26b3
%post -p /sbin/ldconfig
9b26b3
9b26b3
%postun -p /sbin/ldconfig
9b26b3
9b26b3
%files
9b26b3
%doc COPYING README ChangeLog NEWS
9b26b3
%{_libdir}/libpipeline.so.*
9b26b3
9b26b3
%files devel
9b26b3
%{_libdir}/libpipeline.so
9b26b3
%{_libdir}/pkgconfig/libpipeline.pc
9b26b3
%{_includedir}/*.h
9b26b3
%{_mandir}/man3/*
9b26b3
9b26b3
%changelog
31eec2
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.2.3-3
31eec2
- Mass rebuild 2014-01-24
31eec2
31eec2
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.3-2
31eec2
- Mass rebuild 2013-12-27
31eec2
9b26b3
* Wed Apr 24 2013 Peter Schiffer <pschiffe@redhat.com> - 1.2.3-1
9b26b3
- resolves: #956003
9b26b3
  updated to 1.2.3
9b26b3
9b26b3
* Tue Mar 19 2013 Peter Schiffer <pschiffe@redhat.com> - 1.2.2-4
9b26b3
- fixed memory leaks detected by valgrind
9b26b3
9b26b3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-3
9b26b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9b26b3
9b26b3
* Fri Nov 30 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.2-2
9b26b3
- resolves: #876108
9b26b3
  fixed size_t underflow in pipeline_readline() function
9b26b3
9b26b3
* Thu Oct 18 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.2-1
9b26b3
- updated to 1.2.2
9b26b3
9b26b3
* Thu Sep 06 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.1-2
9b26b3
- enabled test suite at build time
9b26b3
- cleaned .spec file
9b26b3
9b26b3
* Mon Jul 23 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.1-1
9b26b3
- update to 1.2.1
9b26b3
- fixed FTBFS caused by gnulib
9b26b3
9b26b3
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
9b26b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9b26b3
9b26b3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
9b26b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9b26b3
9b26b3
* Tue Apr 19 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.2.0-1
9b26b3
- initial build