From 4ef5e6f18c22f9528ad68945652b334118fd69c47924834f731952566ebcc562 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 1 Oct 2012 14:07:28 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/libpipeline?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + libpipeline-1.2.2.tar.gz | 3 ++ libpipeline.changes | 5 +++ libpipeline.spec | 91 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 123 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libpipeline-1.2.2.tar.gz create mode 100644 libpipeline.changes create mode 100644 libpipeline.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libpipeline-1.2.2.tar.gz b/libpipeline-1.2.2.tar.gz new file mode 100644 index 0000000..d48be70 --- /dev/null +++ b/libpipeline-1.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b0e6be44479051196f80baeefeefa5fbdac428a7149b3858998769f461ba198 +size 750489 diff --git a/libpipeline.changes b/libpipeline.changes new file mode 100644 index 0000000..c3b1116 --- /dev/null +++ b/libpipeline.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Oct 1 14:04:57 UTC 2012 - werner@suse.de + +- Initial package libpipeline as new man-db depend on it + diff --git a/libpipeline.spec b/libpipeline.spec new file mode 100644 index 0000000..e784c08 --- /dev/null +++ b/libpipeline.spec @@ -0,0 +1,91 @@ +# # spec file for package man +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: libpipeline +%define lname libpipeline1 +Version: 1.2.2 +Release: 0 +Summary: A pipeline manipulation library +Group: System/Libraries +License: GPL-3.0+ +Url: http://www.nongnu.org/libpipeline/ +Source: libpipeline-1.2.2.tar.gz +AutoReqProv: on + +%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 -n %lname +Summary: A pipeline manipulation library +Group: System/Libraries + +%description -n %lname +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: A pipeline manipulation library +Group: Development/Libraries/C and C++ +Provides: pkgconfig(%name) = %{version} +Requires: %lname = %version + +%description devel +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). + +%prep +%setup + +%build +%configure \ + --enable-shared \ + --enable-threads=posix \ + --disable-rpath \ + --enable-socketpair-pipe \ + --with-pic=yes \ + --with-gnu-ld +make %{?jobs:-j%jobs} + +%install +%makeinstall DESTDIR=%{buildroot} +rm -vf %{buildroot}%{_libdir}/libpipeline.la + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root,0755) +%{_libdir}/libpipeline.so.* + +%files devel +%defattr(-,root,root,0755) +%doc ChangeLog README COPYING +%{_libdir}/libpipeline.so +%{_libdir}/pkgconfig/libpipeline.pc +%{_includedir}/pipeline.h +%{_mandir}/man3/*.3* + +%changelog