]> git.pld-linux.org Git - packages/al.git/blob - al.spec
1d27170fe620b62a64c72e188842469511b09e8f
[packages/al.git] / al.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make check" (segfaults after tests)
4 #
5 Summary:        OSSP al - Assembly Line
6 Summary(pl):    OSSP al - biblioteka Assembly Line ("linii monta¿owej")
7 Name:           al
8 Version:        0.9.1
9 Release:        0.3
10 Epoch:          0
11 License:        distributable (see README)
12 Group:          Libraries
13 Source0:        ftp://ftp.ossp.org/pkg/lib/al/%{name}-%{version}.tar.gz
14 # Source0-md5:  eba90e56fe7248466b66306a65868ae7
15 Patch0:         %{name}-ac.patch
16 URL:            http://www.ossp.org/pkg/lib/al/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  ex-devel
20 BuildRequires:  libtool
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 OSSP al defines an abstract data type of a data buffer that can
25 assemble, move and truncate chunks of data in a stream but avoids
26 actual copying. It was built to deal efficiently with communication
27 streams between software modules. It especially provides flexible
28 semantical data attribution through by-chunk labeling. It also has
29 convenient chunk traversal methods and optional OSSP ex based
30 exception handling.
31
32 %description -l pl
33 OSSP al definiuje abstrakcyjne typy danych dla bufora danych, który
34 mo¿e ³±czyæ, przemieszczaæ i ucinaæ porcje danych w strumieniu, ale
35 unika samego kopiowania. Zosta³a stworzona, aby obs³ugiwaæ wydajnie
36 strumienie komunikacyjne pomiêdzy modu³ami oprogramowania. Udostêpnia
37 w szczególno¶ci elastyczne semantyczne przypisywanie danych poprzez
38 oznaczanie porcji. Ma tak¿e wygodne metody przechodzenia porcji i
39 opcjonaln± obs³ugê wyj±tków w oparciu o OSSP ex.
40
41 %package devel
42 Summary:        OSSP al - Assembly Line - header files and development libraries
43 Summary(pl):    OSSP al - biblioteka Assembly Line - pliki nag³ówkowe i biblioteki dla deweloperów
44 Group:          Development/Libraries
45 Requires:       %{name} = %{epoch}:%{version}-%{release}
46
47 %description devel
48 OSSP al - Assembly Line - header files and development libraries.
49
50 %description devel -l pl
51 OSSP al - biblioteka Assembly Line - pliki nag³ówkowe i biblioteki dla
52 deweloperów.
53
54 %package static
55 Summary:        OSSP al - Assembly Line - static libraries
56 Summary(pl):    OSSP al - biblioteka Assembly Line - biblioteki statyczne
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
59
60 %description static
61 OSSP al - Assembly Line - static libraries.
62
63 %description static -l pl
64 OSSP al - biblioteka Assembly Line - biblioteki statyczne.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69
70 %build
71 mv -f aclocal.m4 acinclude.m4
72 %{__libtoolize}
73 %{__aclocal}
74 %{__autoconf}
75 %configure \
76         %{?debug:--enable-debug} \
77         --with-ex
78 %{__make}
79
80 %{?with_tests:%{__make} check}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog README THANKS TODO
97 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/*
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %{_libdir}/lib*.la
104 %{_includedir}/*
105 %{_mandir}/man3/*
106
107 %files static
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/lib*.a
This page took 0.058465 seconds and 2 git commands to generate.