SPECS: munge.spec - pl - separated -libs/-devel/-static

qboosh qboosh at pld-linux.org
Tue Dec 26 20:12:19 CET 2006


Author: qboosh                       Date: Tue Dec 26 19:12:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- separated -libs/-devel/-static

---- Files affected:
SPECS:
   munge.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/munge.spec
diff -u SPECS/munge.spec:1.1 SPECS/munge.spec:1.2
--- SPECS/munge.spec:1.1	Mon Dec 25 03:12:54 2006
+++ SPECS/munge.spec	Tue Dec 26 20:12:13 2006
@@ -1,17 +1,17 @@
 # $Revision$, $Date$
-#
-Summary:	MUNGE Uid 'N' Gid Emporium
+Summary:	MUNGE Uid 'N' Gid Emporium - authentication service
+Summary(pl):	MUNGE Uid 'N' Gid Emporium - usługa uwierzytelniająca
 Name:		munge
 Version:	0.5.7
 Release:	1
 License:	GPL?
 Group:		Applications
-Source0:	http://download.gna.org/munge/0.5.7/%{name}-%{version}.tar.bz2
+Source0:	http://download.gna.org/munge/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5:	50fc85ddded96b13f893568d9f10d713
 URL:		http://home.gna.org/munge/
 BuildRequires:	rpmbuild(macros) >= 1.228
 Requires(post,preun):	/sbin/chkconfig
-Requires(post,postun):	/sbin/ldconfig
+Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,6 +25,52 @@
 the use of root privileges, reserved ports, or platform-specific
 methods.
 
+%description -l pl
+MUNGE (MUNGE Uid 'N' Gid Emporium) to usługa uwierzytelniająca do
+tworzenia i sprawdzania poprawności danych uwierzytelniających. Jest
+zaprojektowana jako wysoko skalowalna, przeznaczona do użycia w
+środowisku klastrowym HPC. Pozwala procesowi na uwierzytelnienie UID-u
+lub GID-u innego lokalnego lub zdalnego procesu w grupie hostów
+mających wspólnych użytkowników i grupy. Hosty te tworzą dziedzinę
+bezpieczeństwa określoną poprzez współdzielony klucz kryptograficzny.
+Klienci wewnątrz tej dziedziny bezpieczeństwa mogą tworzyć i sprawdzać
+poprawność danych uwierzytelniających bez wykorzystywania uprawnień
+roota, zarezerwowanych portów czy metod zależnych od platformy.
+
+%package libs
+Summary:	MUNGE library
+Summary(pl):	Biblioteka MUNGE
+Group:		Libraries
+
+%description libs
+MUNGE library.
+
+%description libs -l pl
+Biblioteka MUNGE.
+
+%package devel
+Summary:	Header file for MUNGE library
+Summary(pl):	Plik nagłówkowy biblioteki MUNGE
+Group:		Development/Libraries
+Requires:	%{name}-libs = %{version}-%{release}
+
+%description devel
+Header file for MUNGE library.
+
+%description devel -l pl
+Plik nagłówkowy biblioteki MUNGE.
+
+%package static
+Summary:	Static MUNGE library
+Summary(pl):	Statyczna biblioteka MUNGE
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static MUNGE library.
+
+%description static -l pl
+Statyczna biblioteka MUNGE.
 
 %prep
 %setup -q
@@ -35,19 +81,18 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/
+install -d $RPM_BUILD_ROOT/etc/rc.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT/etc/init.d/ $RPM_BUILD_ROOT/etc/rc.d/init.d/
+mv $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/chkconfig --add %{name}
-/sbin/ldconfig
 %service %{name} restart
 
 %preun
@@ -56,28 +101,38 @@
 	/sbin/chkconfig --del %{name}
 fi
 
-%postun -p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc
 %attr(754,root,root) /etc/rc.d/init.d/munge
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/munge
 %attr(755,root,root) %{_bindir}/munge
 %attr(755,root,root) %{_bindir}/remunge
 %attr(755,root,root) %{_bindir}/unmunge
-%{_includedir}/munge.h
-%{_libdir}/libmunge.a
-%attr(755,root,root) %{_libdir}/libmunge.so.2.0.0
 %attr(755,root,root) %{_sbindir}/munged
 %{_mandir}/man1/munge.1*
 %{_mandir}/man1/remunge.1*
 %{_mandir}/man1/unmunge.1*
+%{_mandir}/man7/munge.7*
+%{_mandir}/man8/munged.8*
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmunge.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmunge.so
+%{_includedir}/munge.h
 %{_mandir}/man3/munge.3*
 %{_mandir}/man3/munge_ctx.3*
 %{_mandir}/man3/munge_enum.3*
-%{_mandir}/man7/munge.7*
-%{_mandir}/man8/munged.8*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libmunge.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -85,6 +140,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/12/26 19:12:13  qboosh
+- pl
+- separated -libs/-devel/-static
+
 Revision 1.1  2006/12/25 02:12:54  aredridel
 - added
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/munge.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list