Witam,

przygotowałem log4cxx.spec w wersji 0.10.0. Patch w załączniku.

to podbicie wersji jest o tyle istotne, że paczka z log4cxx-0.9.7.tar.gz w 
wersji 0.9.7 już nie jest dostępna w lokalizacji wskazywanej przez Source0 w 
aktualnym specu.

testowałem na Th i686.

Mógłby ktoś rzucić na to okiem i wrzucić do CVSa jeśli wszystko jest w 
porządku w specu?

-- 
Pozdrawiam,
Paweł Zuzelski
--- log4cxx.spec	2008-04-15 20:29:03.000000000 +0200
+++ log4cxx.spec.new	2008-04-15 20:14:05.000000000 +0200
@@ -2,17 +2,20 @@
 Summary:	Log4cxx - a port to C++ of the log4j project
 Summary(pl.UTF-8):	Log4cxx - port projektu log4j dla C++
 Name:		log4cxx
-Version:	0.9.7
-Release:	0.2
+Version:	0.10.0
+Release:	1
 License:	Apache
 Group:		Libraries
-Source0:	http://www.apache.org/dist/logging/log4cxx/%{name}-%{version}.tar.gz
-# Source0-md5:	fd09abc90b8c0c8af1d5146a75590792
+Source0:	http://www.apache.org/dist/logging/log4cxx/%{version}/apache-%{name}-%{version}.tar.gz
+# Source0-md5:	b30ffb8da3665178e68940ff7a61084c
 URL:		http://logging.apache.org/log4cxx/
+BuildRequires:	apr-devel
+BuildRequires:	apr-util-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
+BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,9 +25,9 @@
 
 %description -l pl.UTF-8
 Log4cxx jest portem Log4j dla C++. Log4cxx próbuje naśladować
-użytkowanie log4j tak bardzo na ile pozwala na to język oraz próbuje
-być kompatybilnym z plikami konfiguracyjnymi i formatami wyjściowymi
-log4j.
+użytkowanie log4j tak bardzo na ile pozwala na to język oraz
+próbuje być kompatybilnym z plikami konfiguracyjnymi i formatami
+wyjściowymi log4j.
 
 %package devel
 Summary:	Header files for log4cxx library
@@ -51,15 +54,9 @@
 Statyczna biblioteka log4cxx.
 
 %prep
-%setup -q
+%setup -q -n apache-%{name}-%{version}
 
 %build
-cp %{_datadir}/aclocal/libtool.m4 aclocal.m4
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
 %configure
 %{__make}
 
@@ -76,15 +73,15 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
+%doc INSTALL KEYS LICENSE NOTICE
+%attr(755,root,root) %{_libdir}/liblog4cxx.so.*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/liblog4cxx.so
 %{_libdir}/liblog4cxx.la
 %{_includedir}/%{name}
+%{_pkgconfigdir}/liblog4cxx.pc
 
 %files static
 %defattr(644,root,root,755)
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym