Accepting request 317075 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/317075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpipeline?expand=0&rev=9
This commit is contained in:
Stephan Kulow 2015-07-20 09:20:10 +00:00 committed by Git OBS Bridge
commit a1e6e9c74f
4 changed files with 5297 additions and 21 deletions

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Jul 12 17:14:37 UTC 2015 - mpluskal@suse.com
- Add gpg signature
- Cleanup spec file with spec-cleaner
- Add missing dependency on pkg-config
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 12 17:07:32 UTC 2015 - p.drouand@gmail.com Thu Feb 12 17:07:32 UTC 2015 - p.drouand@gmail.com

5265
libpipeline.keyring Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
# #
# spec file for package libpipeline # spec file for package libpipeline
# #
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,18 @@
# #
Name: libpipeline
%define lname libpipeline1 %define lname libpipeline1
Name: libpipeline
Version: 1.4.0 Version: 1.4.0
Release: 0 Release: 0
Summary: A pipeline manipulation library Summary: A pipeline manipulation library
License: GPL-3.0+ License: GPL-3.0+
Group: System/Libraries Group: System/Libraries
Url: http://www.nongnu.org/libpipeline/ Url: http://www.nongnu.org/libpipeline/
Source: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring
BuildRequires: pkg-config
%description %description
libpipeline is a C library for setting up and running pipelines of libpipeline is a C library for setting up and running pipelines of
@ -33,11 +36,11 @@ is often error-prone and insecure. This alleviates programmers of the
need to laboriously construct pipelines using lower-level primitives need to laboriously construct pipelines using lower-level primitives
such as fork(2) and execve(2). such as fork(2) and execve(2).
%package -n %lname %package -n %{lname}
Summary: A pipeline manipulation library Summary: A pipeline manipulation library
Group: System/Libraries Group: System/Libraries
%description -n %lname %description -n %{lname}
libpipeline is a C library for setting up and running pipelines of libpipeline is a C library for setting up and running pipelines of
processes, without needing to involve shell command-line parsing which processes, without needing to involve shell command-line parsing which
is often error-prone and insecure. This alleviates programmers of the is often error-prone and insecure. This alleviates programmers of the
@ -47,8 +50,8 @@ such as fork(2) and execve(2).
%package devel %package devel
Summary: A pipeline manipulation library Summary: A pipeline manipulation library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Provides: pkgconfig(%name) = %{version} Requires: %{lname} = %{version}
Requires: %lname = %version Provides: pkgconfig(%{name}) = %{version}
%description devel %description devel
libpipeline is a C library for setting up and running pipelines of libpipeline is a C library for setting up and running pipelines of
@ -58,27 +61,28 @@ need to laboriously construct pipelines using lower-level primitives
such as fork(2) and execve(2). such as fork(2) and execve(2).
%prep %prep
%setup %setup -q
%build %build
export CFLAGS="%optflags $(getconf LFS_CFLAGS)" export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
%configure \ %configure \
--enable-shared \ --enable-shared \
--enable-threads=posix \ --enable-threads=posix \
--disable-rpath \ --disable-rpath \
--enable-socketpair-pipe \ --enable-socketpair-pipe \
--with-pic=yes \ --with-pic=yes \
--with-gnu-ld --with-gnu-ld
make %{?jobs:-j%jobs} V=1 make %{?_smp_mflags} V=1
%install %install
%makeinstall DESTDIR=%{buildroot} make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -vf %{buildroot}%{_libdir}/libpipeline.la rm -vf %{buildroot}%{_libdir}/libpipeline.la
%post -n %lname -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname %postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname}
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%{_libdir}/libpipeline.so.* %{_libdir}/libpipeline.so.*