1 Summary: Apache Portable Runtime
2 Summary(pl): Apache Portable Runtime - przeno¶na biblioteka uruchomieniowa
9 Source0: http://www.apache.org/dist/apr/%{name}-0.9.4.tar.gz
10 # Source0-md5: 0f1e6765532dd581a58d69b35adeecfe
11 Patch0: %{name}-link.patch
12 Patch1: %{name}-0.9.4_0.9.5.patch
13 URL: http://apr.apache.org/
14 BuildRequires: autoconf >= 2.13
15 BuildRequires: libtool >= 1.3.3
16 BuildRequires: perl-base
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _includedir /usr/include/apr
20 %define _datadir /usr/share/apr
23 The mission of the Apache Portable Runtime (APR) project is to create
24 and maintain software libraries that provide a predictable and
25 consistent interface to underlying platform-specific implementations.
26 The primary goal is to provide an API to which software developers may
27 code and be assured of predictable if not identical behaviour
28 regardless of the platform on which their software is built, relieving
29 them of the need to code special-case conditions to work around or
30 take advantage of platform-specific deficiencies or features.
33 Celem projektu APR (Apache Portable Runtime) jest stworzenie i
34 utrzymywanie bibliotek dostarczaj±cych przewidywalnego i spójnego
35 interfejsu do le¿±cych u podstaw implementacji zale¿nych od platformy.
36 G³ównym celem jest dostarczenie API, którego mog± u¿ywaæ programi¶ci
37 maj±c pewno¶æ, ¿e zachowuje siê w sposób przewidywalny, je¶li nie
38 identyczny, niezale¿nie od platformy na jakiej oprogramowanie jest
39 budowane oraz bez potrzeby kodowania specjalnych warunków do
40 obchodzenia lub wykorzystywania specyficznych dla platform ró¿nic lub
44 Summary: Header files and development documentation for apr
45 Summary(pl): Pliki nag³ówkowe i dokumentacja programisty do apr
46 Group: Development/Libraries
47 Requires: %{name} = %{epoch}:%{version}-%{release}
50 Header files and development documentation for apr.
52 %description devel -l pl
53 Pliki nag³ówkowe i dokumentacja programisty do apr.
56 Summary: Static apr library
57 Summary(pl): Statyczna biblioteka apr
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
64 %description static -l pl
65 Statyczna biblioteka apr.
68 %setup -q -n %{name}-0.9.4
79 rm -rf $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
84 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_datadir}/libtool
86 install build/{*apr*.m4,*.awk,*.sh,config.*} $RPM_BUILD_ROOT%{_datadir}/build
88 %{__perl} -pi -e 's@^(APR_SOURCE_DIR=).*@$1"%{_datadir}"@' $RPM_BUILD_ROOT%{_bindir}/apr-config
89 %{__perl} -pi -e 's@^(apr_builddir=).*@$1%{_datadir}@' $RPM_BUILD_ROOT%{_datadir}/build/apr_rules.mk
90 %{__perl} -pi -e 's@^(apr_builders=).*@$1%{_datadir}/build@' $RPM_BUILD_ROOT%{_datadir}/build/apr_rules.mk
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc CHANGES STATUS docs/*.html
101 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_bindir}/*
106 %attr(755,root,root) %{_libdir}/lib*.so
111 %dir %{_datadir}/build
112 %{_datadir}/build/*.mk
113 %{_datadir}/build/*.m4
114 %{_datadir}/build/*.awk
115 %attr(755,root,root) %{_datadir}/build/config.*
116 %attr(755,root,root) %{_datadir}/build/*.sh
117 %attr(755,root,root) %{_datadir}/build/libtool
120 %defattr(644,root,root,755)