| 1 | # Basic Information |
|---|
| 2 | Name: libpipeline |
|---|
| 3 | Version: 1.2.0 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | License: GPLv3 |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | Source0: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-%{version}.tar.gz |
|---|
| 8 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 9 | |
|---|
| 10 | Vendor: Project Vine |
|---|
| 11 | Distribution: Vine Linux |
|---|
| 12 | Packager: yasumichi |
|---|
| 13 | |
|---|
| 14 | Summary: a C library for setting up and running pipelines of processes |
|---|
| 15 | Summary(ja): プロセス間のパイプラインを設定および実行する C ライブラリ |
|---|
| 16 | |
|---|
| 17 | # Dependency |
|---|
| 18 | # 以下に依存関係を記述してください。 |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | libpipeline is a C library for setting up and running pipelines of |
|---|
| 22 | processes, without needing to involve shell command-line parsing which is |
|---|
| 23 | often error-prone and insecure. This alleviates programmers of the need to |
|---|
| 24 | laboriously construct pipelines using lower-level primitives such as fork(2) |
|---|
| 25 | and execve(2). |
|---|
| 26 | |
|---|
| 27 | Full programmers' documentation may be found using 'man libpipeline'. |
|---|
| 28 | |
|---|
| 29 | %description -l ja |
|---|
| 30 | libpipeline は、しばしばエラーの傾向があったり不安定なシェルのコマンドライン |
|---|
| 31 | 解析を伴うことを必要としない、プロセス間のパイプラインを設定および実行するた |
|---|
| 32 | めの C ライブラリです。これは、低レベルで旧式の fork(2) や execve(2) といっ |
|---|
| 33 | たものを利用して苦労してパイプラインを構築する必要があるプログラマーの負担を |
|---|
| 34 | 緩和します。 |
|---|
| 35 | |
|---|
| 36 | 完全なプログラマー向けの文書を読むには、'man libpipeline' を利用してください。 |
|---|
| 37 | |
|---|
| 38 | %package devel |
|---|
| 39 | Summary: Development files for %{name} |
|---|
| 40 | Summary(ja): %{name} の開発用ファイル |
|---|
| 41 | Group: Development/Libraries |
|---|
| 42 | Requires: %{name} = %{version}-%{release} |
|---|
| 43 | Requires: pkgconfig |
|---|
| 44 | |
|---|
| 45 | %description devel |
|---|
| 46 | Development files for %{name} |
|---|
| 47 | |
|---|
| 48 | %description -l ja devel |
|---|
| 49 | %{name} の開発用ファイル |
|---|
| 50 | |
|---|
| 51 | %prep |
|---|
| 52 | %setup -q |
|---|
| 53 | |
|---|
| 54 | %build |
|---|
| 55 | %configure |
|---|
| 56 | %{__make} %{?_smp_mflags} |
|---|
| 57 | |
|---|
| 58 | %install |
|---|
| 59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 61 | |
|---|
| 62 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libpipeline.la |
|---|
| 63 | |
|---|
| 64 | %clean |
|---|
| 65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 66 | |
|---|
| 67 | |
|---|
| 68 | %files |
|---|
| 69 | %defattr(-,root,root) |
|---|
| 70 | %doc COPYING ChangeLog NEWS README |
|---|
| 71 | %{_libdir}/libpipeline.so.* |
|---|
| 72 | |
|---|
| 73 | |
|---|
| 74 | %files devel |
|---|
| 75 | %{_includedir}/pipeline.h |
|---|
| 76 | %{_libdir}/libpipeline.so |
|---|
| 77 | %{_libdir}/pkgconfig/libpipeline.pc |
|---|
| 78 | %{_mandir}/man3/*.3.gz |
|---|
| 79 | |
|---|
| 80 | |
|---|
| 81 | %changelog |
|---|
| 82 | * Fri Sep 23 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.2.0-1 |
|---|
| 83 | - initial build for Vine Linux |
|---|