packages: libxcrypt/libxcrypt.spec - added pl, more verbose files, check-fi...

qboosh qboosh at pld-linux.org
Fri Jul 9 08:33:00 CEST 2010


Author: qboosh                       Date: Fri Jul  9 06:33:00 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added pl, more verbose files, check-files cleanup

---- Files affected:
packages/libxcrypt:
   libxcrypt.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/libxcrypt/libxcrypt.spec
diff -u packages/libxcrypt/libxcrypt.spec:1.4 packages/libxcrypt/libxcrypt.spec:1.5
--- packages/libxcrypt/libxcrypt.spec:1.4	Mon Jan  4 19:04:41 2010
+++ packages/libxcrypt/libxcrypt.spec	Fri Jul  9 08:32:55 2010
@@ -1,37 +1,56 @@
 # $Revision$, $Date$
 Summary:	Crypt Library for DES, MD5, and Blowfish
+Summary(pl.UTF-8):	Biblioteka szyfrująca hasła obsługująca DES, MD5 i Blowfish
 Name:		libxcrypt
 Version:	3.0.2
 Release:	2
-License:	LGPL v2+, Public Domain, Freeware
+License:	LGPL v2.1+ (library), LGPL v2.1+/Public Domain (plugins)
 Group:		Libraries
 Source0:	ftp://ftp.suse.com/pub/people/kukuk/libxcrypt/%{name}-%{version}.tar.bz2
 # Source0-md5:	56cf4285086f26649b8792b53fe8b00f
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %undefine	__cxx
 
 %description
-Libxcrypt is a replacement for libcrypt, which comes with the GNU C
-Library. It supports DES crypt, MD5, and passwords with blowfish
+libxcrypt is a replacement for libcrypt, which comes with the GNU C
+Library. It supports DES crypt, MD5, and passwords with Blowfish
 encryption.
 
+%description -l pl.UTF-8
+libxcrypt to zamiennik biblioteki libcrypt dostarczanej wraz z
+biblioteką GNU C (libc). Obsługuje szyfrowanie haseł DES, MD5 oraz
+Blowfish.
+
 %package devel
-Summary:	Header files and develpment documentation for libxcrypt
+Summary:	Header file for libxcrypt
+Summary(pl.UTF-8):	Plik nagłówkowy biblioteki libxcrypt
+License:	LGPL v2.1+
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
-This package contains the header files to develop software using
+This package contains the header file to develop software using
 libxcrypt.
 
+%description devel -l pl.UTF-8
+Ten pakiet zawiera plik nagłówkowy pozwalający na tworzenie programów
+korzystających z libxcrypt.
+
 %package static
 Summary:	Static libxcrypt library
+Summary(pl.UTF-8):	Statyczna biblioteka libxcrypt
+License:	LGPL v2.1+
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-This package contains the static library used for development.
+This package contains the static libxcrypt library used for
+development.
+
+%description static -l pl.UTF-8
+Ten pakiet zawiera statyczną wersję biblioteki libxcrypt.
 
 %prep
 %setup -q
@@ -48,14 +67,11 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT/%{_lib}/lib*.{l,}a $RPM_BUILD_ROOT%{_libdir}
-sed -i -e 's#/%{_lib}#%{_libdir}#g' $RPM_BUILD_ROOT%{_libdir}/*.la
+mv -f $RPM_BUILD_ROOT/%{_lib}/libxcrypt.{so,la,a} $RPM_BUILD_ROOT%{_libdir}
+sed -i -e 's#/%{_lib}#%{_libdir}#g' $RPM_BUILD_ROOT%{_libdir}/libxcrypt.la
+ln -snf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libxcrypt.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libxcrypt.so
 
-for lib in $RPM_BUILD_ROOT/%{_lib}/lib*.so.*; do
-	lib=$(echo $lib | sed -e "s#$RPM_BUILD_ROOT##g")
-	slib=$(basename $lib | sed -e 's#\.so\..*#.so#g')
-	ln -sf $lib $RPM_BUILD_ROOT%{_libdir}/$slib
-done
+%{__rm} $RPM_BUILD_ROOT/%{_lib}/xcrypt/*.{la,a}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,16 +81,18 @@
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog NEWS README*
-%attr(755,root,root) /%{_lib}/libxcrypt.so.*
+# COPYING specifies licenses for particular plugins
+%doc COPYING ChangeLog NEWS README*
+%attr(755,root,root) /%{_lib}/libxcrypt.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libxcrypt.so.2
 %dir /%{_lib}/xcrypt
-%attr(755,root,root) /%{_lib}/xcrypt/libxcrypt*.so*
+%attr(755,root,root) /%{_lib}/xcrypt/libxcrypt_*.so*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libxcrypt.so
+%{_libdir}/libxcrypt.la
 %{_includedir}/xcrypt.h
-%{_libdir}/*.la
 
 %files static
 %defattr(644,root,root,755)
@@ -86,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/07/09 06:32:55  qboosh
+- added pl, more verbose files, check-files cleanup
+
 Revision 1.4  2010/01/04 18:04:41  glen
 - no epoch defined, avoid using it; rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxcrypt/libxcrypt.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list