Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-apr
dba-apr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-apr.spec of Package dba-apr
%define version 1.4.6 %define prefix /DBA/apache/APR %define maketest 0 Name: dba-apr Summary: Apache Portable Runtime %{version} (APR) Library License: The Apache Software License Group: Development/Libraries/Other Version: %{version} Release: 1 Source0: http://www.apache.org/dist/apr/apr-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Url: http://apr.apache.org/ AutoReqProv: on BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf libtool e2fsprogs-devel BuildRequires: cpp gcc-c++ libstdc++-devel %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} BuildRequires: python redhat-rpm-config %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features. The APR is used by both Open Source and Commercial projects, prominent examples being the Apache HTTP server. Authors: -------- Too many to list here -- see /usr/share/doc/packages/apache2/ABOUT_APACHE %prep %setup -n apr-%{version} %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fPIC" %if %{?suse_version:1}0 rm -rf aclocal.m4 autom4te*.cache autoheader autoconf %else # regenerate configure script etc. ./buildconf # Forcibly prevent detection of shm_open (which then picks up but # does not use -lrt). export ac_cv_search_shm_open=no %endif %configure \ --prefix=%{prefix} \ --with-installbuilddir=%{prefix}/build \ --bindir=%{prefix}/bin \ --sbindir=%{prefix}/build \ --libdir=%{prefix}/lib \ --includedir=%{prefix}/include \ %ifarch %ix86 %ifnarch i386 --enable-nonportable-atomics=yes \ %endif %endif --with-devrandom=/dev/urandom \ --disable-static \ --with-pic %{__make} %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT # prefix %{__mkdir_p} %{buildroot}%{prefix}/bin %{__mkdir_p} %{buildroot}%{prefix}/build %{__mkdir_p} %{buildroot}%{prefix}/include %{__mkdir_p} %{buildroot}%{prefix}/lib %check %ifnarch %arm %if %maketest %{__make} check %endif %endif %clean if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT fi %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Wed Feb 27 2013 Holger Manthey <holger.manthey@bertelsmann.de> - fix build for suse * Wed Apr 18 2012 Holger Manthey <holger.manthey@bertelsmann.de> - add c++ and cpp * Thu Feb 23 2012 Holger Manthey <holger.manthey@bertelsmann.de> - inital package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor