Группа :: Разработка/Прочее
Пакет: libpipeline
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Other
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global gnulib_ver 20140202
Summary: A pipeline manipulation library
Name: libpipeline
Version: 1.5.7
Release: alt1_1
License: GPLv3+
URL: http://libpipeline.nongnu.org/
Source: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libtool, libcheck-devel
# FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174
Provides: bundled(gnulib) = %{gnulib_ver}
Source44: import.info
%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
Group: Development/Other
Summary: Header files and libraries for pipeline manipulation library
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
libpipeline-devel contains the header files and libraries needed
to develop programs that use libpipeline library.
%prep
%setup -q
%build
%{configure}
%make_build
%check
make check
%install
%makeinstall_std prefix=%{_prefix}
rm $RPM_BUILD_ROOT/%{_libdir}/libpipeline.la
%files
%{!?_licensedir:%global license %%doc}
%doc --no-dereference COPYING
%doc README.md ChangeLog
%{_libdir}/libpipeline.so.*
%files devel
%{_libdir}/libpipeline.so
%{_libdir}/pkgconfig/libpipeline.pc
%{_includedir}/*.h
%{_mandir}/man3/*
%changelog
…
Полный changelog можно просмотреть здесь
%add_optflags %optflags_shared
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global gnulib_ver 20140202
Summary: A pipeline manipulation library
Name: libpipeline
Version: 1.5.7
Release: alt1_1
License: GPLv3+
URL: http://libpipeline.nongnu.org/
Source: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: libtool, libcheck-devel
# FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174
Provides: bundled(gnulib) = %{gnulib_ver}
Source44: import.info
%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
Group: Development/Other
Summary: Header files and libraries for pipeline manipulation library
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
libpipeline-devel contains the header files and libraries needed
to develop programs that use libpipeline library.
%prep
%setup -q
%build
%{configure}
%make_build
%check
make check
%install
%makeinstall_std prefix=%{_prefix}
rm $RPM_BUILD_ROOT/%{_libdir}/libpipeline.la
%files
%{!?_licensedir:%global license %%doc}
%doc --no-dereference COPYING
%doc README.md ChangeLog
%{_libdir}/libpipeline.so.*
%files devel
%{_libdir}/libpipeline.so
%{_libdir}/pkgconfig/libpipeline.pc
%{_includedir}/*.h
%{_mandir}/man3/*
%changelog
…
Полный changelog можно просмотреть здесь