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