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