forked from pool/libpipeline
Accepting request 316296 from home:pluskalm:branches:Base:System
- Add gpg signature - Cleanup spec file with spec-cleaner - Add missing dependency on pkg-config OBS-URL: https://build.opensuse.org/request/show/316296 OBS-URL: https://build.opensuse.org/package/show/Base:System/libpipeline?expand=0&rev=11
This commit is contained in:
parent
e05f5bdc1f
commit
4c0127b603
BIN
libpipeline-1.4.0.tar.gz.sig
Normal file
BIN
libpipeline-1.4.0.tar.gz.sig
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
5265
libpipeline.keyring
Normal file
5265
libpipeline.keyring
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,15 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
Name: libpipeline
|
||||
%define lname libpipeline1
|
||||
Name: libpipeline
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: A pipeline manipulation library
|
||||
License: GPL-3.0+
|
||||
Group: System/Libraries
|
||||
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
|
||||
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
|
||||
such as fork(2) and execve(2).
|
||||
|
||||
%package -n %lname
|
||||
%package -n %{lname}
|
||||
Summary: A pipeline manipulation library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
%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
|
||||
@ -47,8 +50,8 @@ 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
|
||||
Requires: %{lname} = %{version}
|
||||
Provides: pkgconfig(%{name}) = %{version}
|
||||
|
||||
%description devel
|
||||
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).
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="%optflags $(getconf LFS_CFLAGS)"
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--enable-threads=posix \
|
||||
--disable-rpath \
|
||||
--enable-socketpair-pipe \
|
||||
--with-pic=yes \
|
||||
--with-gnu-ld
|
||||
make %{?jobs:-j%jobs} V=1
|
||||
export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)"
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--enable-threads=posix \
|
||||
--disable-rpath \
|
||||
--enable-socketpair-pipe \
|
||||
--with-pic=yes \
|
||||
--with-gnu-ld
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
%makeinstall DESTDIR=%{buildroot}
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
rm -vf %{buildroot}%{_libdir}/libpipeline.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{lname}
|
||||
%defattr(-,root,root,0755)
|
||||
%{_libdir}/libpipeline.so.*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user