packages: libpipeline/libpipeline.spec (NEW) - new, based on fedora spec

glen glen at pld-linux.org
Tue Aug 30 17:47:53 CEST 2011


Author: glen                         Date: Tue Aug 30 15:47:53 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fedora spec

---- Files affected:
packages/libpipeline:
   libpipeline.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libpipeline/libpipeline.spec
diff -u /dev/null packages/libpipeline/libpipeline.spec:1.1
--- /dev/null	Tue Aug 30 17:47:53 2011
+++ packages/libpipeline/libpipeline.spec	Tue Aug 30 17:47:48 2011
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+Summary:	A pipeline manipulation library
+Name:		libpipeline
+Version:	1.2.0
+Release:	1
+License:	GPL v3+
+Group:		Development/Libraries
+URL:		http://libpipeline.nongnu.org/
+Source0:	http://download.savannah.gnu.org/releases/libpipeline/%{name}-%{version}.tar.gz
+# Source0-md5:	dd3a987a0d2b594716baee2f73d61ae3
+BuildRequires:	libtool
+# Fedoraish Dep: http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries
+Provides:	bundled(gnulib)
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libpipeline is a C library for setting up and running pipelines of
+processes, without needing to involve shell command-line parsing which
+is often error-prone and insecure. This alleviates programmers of the
+need to laboriously construct pipelines using lower-level primitives
+such as fork(2) and execve(2).
+
+%package devel
+Summary:	Header files and libraries for pipeline manipulation library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+libpipeline-devel contains the header files and libraries needed to
+develop programs that use libpipeline library.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	prefix=%{_prefix} \
+	INSTALL='install -p' \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libpipeline.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README ChangeLog NEWS
+%{_libdir}/libpipeline.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libpipeline.so
+%{_includedir}/*.h
+%{_mandir}/man3/*
+%{_pkgconfigdir}/libpipeline.pc
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/08/30 15:47:48  glen
+- new, based on fedora spec
+
================================================================


More information about the pld-cvs-commit mailing list