Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
libpipeline
> libpipeline.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libpipeline.spec of Package libpipeline
# # spec file for package libpipeline # # Copyright (c) 2014 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/ # %define lname libpipeline1 Name: libpipeline Version: 1.5.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 %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 export ./configure --prefix=/usr \ --enable-shared \ --enable-threads=posix \ --disable-rpath \ --enable-socketpair-pipe make %install make DESTDIR=%{buildroot} install rm -vf %{buildroot}%{_libdir}/*.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