SPECS: log4cxx.spec (NEW) - new

zbyniu zbyniu at pld-linux.org
Mon Oct 30 21:04:05 CET 2006


Author: zbyniu                       Date: Mon Oct 30 20:04:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   log4cxx.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/log4cxx.spec
diff -u /dev/null SPECS/log4cxx.spec:1.1
--- /dev/null	Mon Oct 30 21:04:05 2006
+++ SPECS/log4cxx.spec	Mon Oct 30 21:04:00 2006
@@ -0,0 +1,94 @@
+# $Revision$, $Date$
+Summary:	Log4cxx is a port to C++ of the log4j project
+Name:		log4cxx
+Version:	0.9.7
+Release:	0.2
+License:	Apache
+Group:		Libraries
+Source0:	http://www.apache.org/dist/logging/log4cxx/%{name}-%{version}.tar.gz
+# Source0-md5:	fd09abc90b8c0c8af1d5146a75590792
+URL:		http://logging.apache.org/log4cxx/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libstdc++-devel
+BuildRequires:	libtool
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Log4cxx is C++ port of Log4j. log4cxx attempts to mimic log4j usage as
+much as the language will allow and to be compatible with log4j
+configuration and output formats.
+
+%package devel
+Summary:	Header files for log4cxx library
+Summary(pl):	Pliki nagłówkowe biblioteki log4cxx
+Group:		Development/Libraries
+#Requires:	%{name} = %{version}-%{release}
+
+%description devel
+This is the package containing the header files for log4cxx library.
+
+%description devel -l pl
+Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx.
+
+%package static
+Summary:	Static log4cxx library
+Summary(pl):	Statyczna biblioteka log4cxx
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static log4cxx library.
+
+%description static -l pl
+Statyczna biblioteka log4cxx.
+
+%prep
+%setup -q -c
+
+%build
+cd %{name}-%{version}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd %{name}-%{version}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+%{_libdir}/liblog4cxx.la
+%attr(755,root,root) %{_libdir}/liblog4cxx.so
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/liblog4cxx.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog -n log4cxx
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/10/30 20:04:00  zbyniu
+- new
+
================================================================


More information about the pld-cvs-commit mailing list