SPECS: distcache.spec - pl, some cleanups
qboosh
qboosh at pld-linux.org
Tue Dec 6 20:22:03 CET 2005
Author: qboosh Date: Tue Dec 6 19:22:03 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, some cleanups
---- Files affected:
SPECS:
distcache.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/distcache.spec
diff -u SPECS/distcache.spec:1.1 SPECS/distcache.spec:1.2
--- SPECS/distcache.spec:1.1 Fri Dec 2 23:38:45 2005
+++ SPECS/distcache.spec Tue Dec 6 20:21:38 2005
@@ -1,102 +1,120 @@
# $Revision$, $Date$
-
+# TODO: separate -static?
Summary: Distributed SSL session cache
+Summary(pl): Rozproszona pamięć podręczna sesji SSL
Name: distcache
Version: 1.4.5
Release: 6
License: LGPL
-Group: System Environment/Daemons
-###### Unknown group!
-URL: http://www.distcache.org/
+Group: Daemons
Source0: %{name}-%{version}.tar.bz2
-Patch0: %{name}-1.4.5-setuid.patch
Source1: dc_server.init
Source2: dc_client.init
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-BuildRequires: automake >= 1.7
+Patch0: %{name}-1.4.5-setuid.patch
+URL: http://www.distcache.org/
+BuildRequires: automake >= 1:1.7
BuildRequires: autoconf >= 2.50
BuildRequires: libtool
BuildRequires: openssl-devel
-Requires: /sbin/chkconfig
+Requires(post): /sbin/ldconfig
+Requires(post,preun): /sbin/chkconfig
+Requires: rc-scripts
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
The distcache package provides a variety of functionality for enabling
a network-based session caching system, primarily for (though not
restricted to) SSL/TLS session caching.
+%description -l pl
+Pakiet distcache udostępnia rozmaitą funkcjonalność mającą umożliwić
+działanie sieciowego systemu pamięci podręcznej sesji, głównie (choć
+niekoniecznie tylko) w celu zapamiętywania sesji SSL/TLS.
+
%package devel
+Summary: Header files for distcache distributed session cache library
+Summary(pl): Pliki nagłówkowe biblioteki rozproszonej pamięci podręcznej sesji distcache
Group: Development/Libraries
-Summary: Development tools for distcache distributed session cache
-Requires: distcache = %{version}
+Requires: %{name} = %{version}-%{release}
%description devel
-This package includes the libraries that implement the necessary
-network functionality, the session caching protocol, and APIs for
-applications wishing to use a distributed session cache, or indeed
-even to implement a storage mechanism for a session cache server.
+This package includes the header files for the libraries that
+implement the necessary network functionality, the session caching
+protocol, and APIs for applications wishing to use a distributed
+session cache, or indeed even to implement a storage mechanism for a
+session cache server.
+
+%description devel -l pl
+Ten pakiet zawiera pliki nagłówkowe bibliotek implementujących
+potrzebną funkcjonalność sieciową, protokół zapamiętywania sesji oraz
+API dla aplikacji chcących korzystać z rozproszonej pamięci podręcznej
+sesji lub mających samemu implementować mechanizm przechowywania
+danych dla serwera pamięci podręcznej sesji.
%prep
%setup -q
-%patch0 -p1 -b .setuid
+%patch0 -p1
%build
-libtoolize --force --copy && aclocal && autoconf
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
automake -aic --gnu || : automake ate my hamster
-%configure --enable-shared
-%{__make} %{?_smp_mflags}
+%configure \
+ --enable-shared
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{__make} -C ssl install DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
-install $RPM_SOURCE_DIR/dc_server.init \
- $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_server
-install $RPM_SOURCE_DIR/dc_client.init \
- $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_client
+%{__make} -C ssl install \
+ DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_server
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/dc_client
# Unpackaged files
rm -f $RPM_BUILD_ROOT%{_bindir}/{nal_test,piper}
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%post
+/sbin/ldconfig
/sbin/chkconfig --add dc_server
/sbin/chkconfig --add dc_client
-/sbin/ldconfig
%preun
-if [ $1 = 0 ]; then
- /sbin/service dc_server stop > /dev/null 2>&1
- /sbin/service dc_client stop > /dev/null 2>&1
+if [ "$1" = "0" ]; then
+ /etc/rc.d/init.d/dc_server stop >/dev/null 2>&1
+ /etc/rc.d/init.d/dc_client stop >/dev/null 2>&1
/sbin/chkconfig --del dc_server
/sbin/chkconfig --del dc_client
fi
%postun -p /sbin/ldconfig
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
+%doc ANNOUNCE CHANGES README LICENSE FAQ
%attr(755,root,root) %{_bindir}/sslswamp
%attr(755,root,root) %{_bindir}/dc_*
-%attr(754,root,root) /etc/rc.d/init.d/dc_*
-%doc ANNOUNCE CHANGES README LICENSE FAQ
%attr(755,root,root) %{_libdir}/*.so.*
+%attr(754,root,root) /etc/rc.d/init.d/dc_*
+%{_datadir}/swamp
%{_mandir}/man1/*
%{_mandir}/man8/*
-%{_datadir}/swamp
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.*a
%{_includedir}/distcache
%{_includedir}/libnal
-%{_libdir}/*.*a
-%attr(755,root,root) %{_libdir}/*.so
%{_mandir}/man2/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -105,6 +123,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/12/06 19:21:38 qboosh
+- pl, some cleanups
+
Revision 1.1 2005/12/02 22:38:45 arekm
- raw; needed for apache; see ftp://ftp.li.kernel.org/pub/.3/centos/4.1/os/s390x/SRPMS/distcache-1.4.5-6.src.rpm
@@ -167,4 +188,3 @@
* Mon Jun 9 2003 Joe Orton <jorton at redhat.com> 0.4.2-1
- Initial build.
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/distcache.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list