tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jni/native/build/rpm tcnative.spec.in
Date Fri, 14 Jan 2005 13:46:44 GMT
mturk       2005/01/14 05:46:44

  Added:       jni/native/build/rpm tcnative.spec.in
  Log:
  Initial upload
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-connectors/jni/native/build/rpm/tcnative.spec.in
  
  Index: tcnative.spec.in
  ===================================================================
  
  %define tcnative 1
  
  Summary: Apache Portable Runtime Java library
  Name: tcnative
  Version: TCN_VERSION
  Release: TCN_RELEASE
  License: Apache Software License
  Group: System Environment/Libraries
  URL: http://apr.apache.org/
  Source0: %{name}-%{version}.tar.gz
  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  BuildPrereq: autoconf, libtool, doxygen, apr-devel >= 0:{version}-{release}
  
  %description
  The mission of the Apache Portable Runtime (APR) is to provide a
  free library of C data structures and routines.  This library
  contains additional utility interfaces for APR; including support
  for XML, LDAP, database interfaces, URI parsing and more.
  
  %package devel
  Group: Development/Libraries
  Summary: APR Java library development kit
  Requires: tcnative = %{version}-%{release}, apr-devel
  
  %description devel
  This package provides the support files which can be used to 
  build applications using the APR utility library.  The mission 
  of the Apache Portable Runtime (APR) is to provide a free 
  library of C data structures and routines.
  
  %prep
  %setup -q
  
  %build
  %configure --with-apr=%{_prefix} \
          --includedir=%{_includedir}/apr-%{tcnver}
  make %{?_smp_mflags} && make dox
  
  %check
  # Run non-interactive tests
  pushd test
  make %{?_smp_mflags} testall CFLAGS=-fno-strict-aliasing
  ./testall -v || exit 1
  popd
  
  %install
  rm -rf $RPM_BUILD_ROOT
  make install DESTDIR=$RPM_BUILD_ROOT
  
  # Documentation
  mv docs/dox/html html
  
  # Unpackaged files
  rm -f $RPM_BUILD_ROOT%{_libdir}/tcnative.exp
  
  %clean
  rm -rf $RPM_BUILD_ROOT
  
  %post -p /sbin/ldconfig
  
  %postun -p /sbin/ldconfig
  
  %files
  %defattr(-,root,root,-)
  %doc CHANGES LICENSE NOTICE
  %{_libdir}/libtcnative-%{tcnver}.so.*
  
  %files devel
  %defattr(-,root,root,-)
  %{_libdir}/libtcnative-%{tcnver}.*a
  %{_libdir}/libtcnative-%{tcnver}.so
  %{_libdir}/pkgconfig/tcnative-%{apuver}.pc
  %{_includedir}/apr-%{tcnver}/*.h
  %doc --parents html
  
  %changelog
  * Tue Jun 22 2004 Mladen Turk <mturk@jboss.com> 1.0.0-1
  - update to support v1.0.2 of APR
                                                                                  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message