Bump to libpipeline 1.5.4 66/268466/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified sandbox/backup/libpipeline_1.5.4_20231221 sandbox/jinwang.an/libpipeline_1.5.4_20211223 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.063211 accepted/tizen/7.0/unified/hotfix/20221116.111019 accepted/tizen/8.0/unified/20231005.095106 accepted/tizen/unified/20211224.144812 submit/tizen/20211223.070317 submit/tizen/20211224.034313 tizen_7.0_m2_release tizen_8.0_m2_release
authorJinWang An <jinwang.an@samsung.com>
Thu, 23 Dec 2021 05:24:43 +0000 (14:24 +0900)
committerJinWang An <jinwang.an@samsung.com>
Thu, 23 Dec 2021 06:12:11 +0000 (15:12 +0900)
Change-Id: Ie3604914d78fccd6fe9510c03075cb5267d5afd0
Signed-off-by: JinWang An <jinwang.an@samsung.com>
packaging/disable_man_page.patch [new file with mode: 0644]
packaging/libpipeline.changes [new file with mode: 0644]
packaging/libpipeline.manifest [new file with mode: 0644]
packaging/libpipeline.spec [new file with mode: 0644]

diff --git a/packaging/disable_man_page.patch b/packaging/disable_man_page.patch
new file mode 100644 (file)
index 0000000..a163a6e
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/Makefile.am b/Makefile.am
+index 4a917b3..4090d7c 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -19,7 +19,7 @@
+ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
+ ## USA
+-SUBDIRS = gl/lib lib man
++SUBDIRS = gl/lib lib
+ if RUN_TESTS
+ SUBDIRS += tests
+ endif
diff --git a/packaging/libpipeline.changes b/packaging/libpipeline.changes
new file mode 100644 (file)
index 0000000..33d2f66
--- /dev/null
@@ -0,0 +1,3 @@
+* Tue Feb 19 2013 Anas Nashif <anas.nashif@intel.com> upstream/1.2.2@d0492cc
+- Initial packaging
+
diff --git a/packaging/libpipeline.manifest b/packaging/libpipeline.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libpipeline.spec b/packaging/libpipeline.spec
new file mode 100644 (file)
index 0000000..ff04fc3
--- /dev/null
@@ -0,0 +1,68 @@
+Name:           libpipeline
+Version:        1.5.4
+Release:        0
+License:        GPL-3.0+
+Summary:        A pipeline manipulation library
+Url:            http://www.nongnu.org/libpipeline/
+Group:          System/Libraries
+Source:         %{name}-%{version}.tar.gz
+Source1001:    libpipeline.manifest
+Source1002:    disable_man_page.patch
+BuildRequires:  automake
+BuildRequires:  autoconf
+
+%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:        A pipeline manipulation library
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+Provides:       pkgconfig(%{name}) = %{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 -q
+cp %{SOURCE1001} .
+%{__patch} -p1 < %{SOURCE1002}
+
+%build
+autoreconf -fi
+%configure                     \
+  --enable-shared              \
+  --enable-threads=posix       \
+  --disable-rpath              \
+  --enable-socketpair-pipe     \
+  --with-pic=yes               \
+  --with-gnu-ld
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%license  COPYING
+%defattr(-,root,root,0755)
+%{_libdir}/libpipeline.so.*
+
+%files devel
+%manifest %{name}.manifest
+%license  COPYING
+%defattr(-,root,root,0755)
+%{_libdir}/libpipeline.so
+%{_libdir}/pkgconfig/libpipeline.pc
+%{_includedir}/pipeline.h