|
@@ -3,22 +3,26 @@
|
|
# Arches on which the multilib apr.h hack is needed:
|
|
# Arches on which the multilib apr.h hack is needed:
|
|
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64
|
|
%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64
|
|
|
|
|
|
|
|
+Name: apr
|
|
Summary: Apache Portable Runtime library
|
|
Summary: Apache Portable Runtime library
|
|
Summary(ja): Apache ポータブルランタイムライブラリ
|
|
Summary(ja): Apache ポータブルランタイムライブラリ
|
|
-Name: apr
|
|
+Version: 1.4.2
|
|
-Version: 1.3.9
|
|
+Release: 1%{?_dist_release}
|
|
-Release: 2%{?_dist_release}
|
|
+
|
|
-License: Apache Software License
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
|
|
+License: Apache Software License
|
|
URL: http://apr.apache.org/
|
|
URL: http://apr.apache.org/
|
|
|
|
+
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source1: apr-wrapper.h
|
|
Source1: apr-wrapper.h
|
|
Patch2: apr-0.9.7-deepbind.patch
|
|
Patch2: apr-0.9.7-deepbind.patch
|
|
Patch3: apr-1.2.2-locktimeout.patch
|
|
Patch3: apr-1.2.2-locktimeout.patch
|
|
Patch4: apr-1.2.2-libdir.patch
|
|
Patch4: apr-1.2.2-libdir.patch
|
|
Patch5: apr-1.3.3-pkgconf.patch
|
|
Patch5: apr-1.3.3-pkgconf.patch
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: autoconf, libtool, doxygen, e2fsprogs-devel
|
|
+BuildRequires: autoconf, libtool, python, doxygen
|
|
|
|
+BuildRequires: libuuid-devel
|
|
Conflicts: subversion < 0.20.1-2
|
|
Conflicts: subversion < 0.20.1-2
|
|
Obsoletes: apache2-apr
|
|
Obsoletes: apache2-apr
|
|
|
|
|
|
@@ -29,13 +33,12 @@ portability layer to as many operating systems as possible,
|
|
including Unices, MS Win32, BeOS and OS/2.
|
|
including Unices, MS Win32, BeOS and OS/2.
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
-Group: Development/Libraries
|
|
|
|
Summary: APR library development kit
|
|
Summary: APR library development kit
|
|
Summary(ja): APR ライブラリ開発キット
|
|
Summary(ja): APR ライブラリ開発キット
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
Conflicts: subversion-devel < 0.20.1-2
|
|
Conflicts: subversion-devel < 0.20.1-2
|
|
Obsoletes: apache2-apr-devel
|
|
Obsoletes: apache2-apr-devel
|
|
-Requires: apr = %{version}-%{release}
|
|
|
|
-Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
This package provides the support files which can be used to
|
|
This package provides the support files which can be used to
|
|
@@ -62,6 +65,7 @@ export ac_cv_search_shm_open=no
|
|
--includedir=%{_includedir}/apr-%{aprver} \
|
|
--includedir=%{_includedir}/apr-%{aprver} \
|
|
--with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
|
|
--with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
|
|
--with-devrandom=/dev/urandom \
|
|
--with-devrandom=/dev/urandom \
|
|
|
|
+ --disable-static \
|
|
CC=gcc CXX=g++
|
|
CC=gcc CXX=g++
|
|
make %{?_smp_mflags} && make dox
|
|
make %{?_smp_mflags} && make dox
|
|
|
|
|
|
@@ -121,7 +125,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
%doc docs/incomplete_types docs/non_apr_programs
|
|
%doc docs/incomplete_types docs/non_apr_programs
|
|
%doc --parents html
|
|
%doc --parents html
|
|
%{_bindir}/apr-%{aprver}-config
|
|
%{_bindir}/apr-%{aprver}-config
|
|
-%{_libdir}/libapr-%{aprver}.a
|
|
+#{_libdir}/libapr-%{aprver}.a
|
|
%{_libdir}/libapr-%{aprver}.so
|
|
%{_libdir}/libapr-%{aprver}.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_libdir}/apr-%{aprver}
|
|
%dir %{_libdir}/apr-%{aprver}
|
|
@@ -131,6 +135,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_includedir}/apr-%{aprver}/*.h
|
|
%{_includedir}/apr-%{aprver}/*.h
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Sep 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.2-1
|
|
|
|
+- new upstream release
|
|
|
|
+- built with rpm-4.8.1
|
|
|
|
+- removed static libraries from devel package
|
|
|
|
+
|
|
* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.10-1
|
|
* Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.10-1
|
|
- rebuilt with new toolchain
|
|
- rebuilt with new toolchain
|
|
|
|
|