]> git.pld-linux.org Git - packages/log4cxx.git/blobdiff - log4cxx.spec
- fixed ghost soname symlink
[packages/log4cxx.git] / log4cxx.spec
index 6f44e0546592714675a27fa3beb6fa8302e1c02d..7308fb4564ec01b646557172f61de48c2f711dc8 100644 (file)
@@ -1,17 +1,16 @@
-Summary:       Log4cxx is a port to C++ of the log4j project
-Summary(pl):   Log4cxx jest portem projektu log4j dla C++
+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
-License:       Apache
+Version:       0.10.0
+Release:       0.3
+License:       Apache v2.0
 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/0.10.0/apache-%{name}-%{version}.tar.gz
+# Source0-md5: b30ffb8da3665178e68940ff7a61084c
+Patch0:                %{name}-gcc43.patch
 URL:           http://logging.apache.org/log4cxx/
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: apr-util-devel
 BuildRequires: libstdc++-devel
-BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -19,52 +18,48 @@ 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.
 
-%description -l pl
-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.
+%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.
 
 %package devel
 Summary:       Header files for log4cxx library
-Summary(pl):   Pliki nag³ówkowe biblioteki log4cxx
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki log4cxx
 Group:         Development/Libraries
-#Requires:     %{name} = %{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
+Requires:      apr-util-devel
+Requires:      libstdc++-devel
 
 %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.
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe biblioteki log4cxx.
 
 %package static
 Summary:       Static log4cxx library
-Summary(pl):   Statyczna biblioteka log4cxx
+Summary(pl.UTF-8):     Statyczna biblioteka log4cxx
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static log4cxx library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka log4cxx.
 
 %prep
-%setup -q -c
+%setup -q -n apache-%{name}-%{version}
+%patch0 -p1
 
 %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
 
@@ -76,14 +71,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%doc KEYS LICENSE NOTICE
 %attr(755,root,root) %{_libdir}/liblog4cxx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/liblog4cxx.so.10
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/html
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/%{name}
-%{_libdir}/liblog4cxx.la
 %attr(755,root,root) %{_libdir}/liblog4cxx.so
+%{_libdir}/liblog4cxx.la
+%{_includedir}/%{name}
+%{_pkgconfigdir}/liblog4cxx.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.069128 seconds and 4 git commands to generate.