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