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