[packages/inchi] - pl, cleanup

qboosh qboosh at pld-linux.org
Fri Aug 22 23:17:32 CEST 2014


commit d35da9074f9b4d359839a9355d7e0e13817298db
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Aug 22 23:17:39 2014 +0200

    - pl, cleanup

 inchi.spec | 56 ++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 42 insertions(+), 14 deletions(-)
---
diff --git a/inchi.spec b/inchi.spec
index ab02f43..f461353 100644
--- a/inchi.spec
+++ b/inchi.spec
@@ -1,21 +1,23 @@
+#
 # Conditional build:
 %bcond_without	tests		# build without tests
 
 %define inchi_so_ver 1.04.00
 %define url_ver 1.04
 Summary:	The IUPAC International Chemical Identifier library
+Summary(pl.UTF-8):	Biblioteka międzynarodowych identyfikatorów chemicznych IUPAC
 Name:		inchi
 Version:	1.0.4
 Release:	1
+License:	LGPL v2+
+Group:		Libraries
 Source0:	http://www.inchi-trust.org/fileadmin/user_upload/software/inchi-v%{url_ver}/INCHI-1-API.ZIP
 # Source0-md5:	8447bf108af12fe66eecba41bbc89918
 Source1:	http://www.inchi-trust.org/fileadmin/user_upload/software/inchi-v%{url_ver}/INCHI-1-DOC.ZIP
 # Source1-md5:	4b438cc7da7472577307a2063414c973
 Source2:	http://www.inchi-trust.org/fileadmin/user_upload/software/inchi-v%{url_ver}/INCHI-1-TEST.ZIP
 # Source2-md5:	8176b5e0e24c6aad78c522265378362e
-Group:		Libraries
 Patch0:		%{name}-rpm.patch
-License:	LGPL v2+
 URL:		http://www.inchi-trust.org/?q=node/14
 BuildRequires:	dos2unix
 BuildRequires:	sed >= 4.0
@@ -24,7 +26,7 @@ Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The IUPAC International Chemical Identifier (InChITM) is a
+The IUPAC International Chemical Identifier (InChI(TM)) is a
 non-proprietary identifier for chemical substances that can be used in
 printed and electronic data sources thus enabling easier linking of
 diverse data compilations. It was developed under IUPAC Project
@@ -33,45 +35,71 @@ the history of its progress are available from the project web site.
 
 This package contains the command line conversion utility.
 
+%description -l pl.UTF-8
+IUPAC International Chemical Identifier (InChi(TM)) to niewłasnościowy
+międzynarodowy identyfikator dla substancji chemicznych, który można
+używać w drukowanych i elektronicznych źródłach danych, co umożliwia
+łatwiejsze powiązania w rozmaitych kompilacjach danych. Identyfikator
+powstał w ramach projektu IUPAC 2000-025-1-800 w okresie 2000-2004.
+Szczegóły projektu i historię postępów można znaleźć na stronie WWW.
+
+Ten pakiet zawiera narzędzie linii poleceń do konwersji.
+
 %package libs
 Summary:	The IUPAC International Chemical Identifier library
+Summary(pl.UTF-8):	Biblioteka międzynarodowych identyfikatorów chemicznych IUPAC
 Group:		Libraries
 
 %description libs
-The IUPAC International Chemical Identifier (InChITM) is a
+The IUPAC International Chemical Identifier (InChI(TM)) is a
 non-proprietary identifier for chemical substances that can be used in
 printed and electronic data sources thus enabling easier linking of
 diverse data compilations. It was developed under IUPAC Project
 2000-025-1-800 during the period 2000-2004. Details of the project and
 the history of its progress are available from the project web site.
 
+%description libs -l pl.UTF-8
+IUPAC International Chemical Identifier (InChi(TM)) to niewłasnościowy
+międzynarodowy identyfikator dla substancji chemicznych, który można
+używać w drukowanych i elektronicznych źródłach danych, co umożliwia
+łatwiejsze powiązania w rozmaitych kompilacjach danych. Identyfikator
+powstał w ramach projektu IUPAC 2000-025-1-800 w okresie 2000-2004.
+Szczegóły projektu i historię postępów można znaleźć na stronie WWW.
+
 %package devel
 Summary:	Development headers for the InChI library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki InChI
 Group:		Development/Libraries
 Requires:	%{name}-libs = %{version}-%{release}
 
 %description devel
-The inchi-devel package includes the header files and libraries
-necessary for developing programs using the InChI library.
+This package includes the header files necessary for developing
+programs using the InChI library.
 
-If you are going to develop programs which will use this library you
-should install inchi-devel. You'll also need to have the inchi package
-installed.
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów
+wykorzystujących bibliotekę InChI.
 
 %package doc
 Summary:	Documentation for the InChI library
+Summary(pl.UTF-8):	Dokumentacja do biblioteki InChI
+Group:		Documentation
 Requires:	%{name} = %{version}-%{release}
 %if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
 %endif
 
 %description doc
-The inchi-doc package contains user documentation for the InChI
-software and InChI library API reference for developers.
+This package contains user documentation for the InChI software and
+InChI library API reference for developers.
+
+%description doc -l pl.UTF-8
+Ten pakiet zawiera dokumentację użytkownika do oprogramowania InChI
+oraz dokumentację API biblioteki InChI dla programistów.
 
 %prep
 %setup -q -n INCHI-1-API -a 1 -a 2
-%patch0 -p1 -b .r
+%patch0 -p1
 
 %{__sed} -i -e 's,gcc,$(CC),' INCHI_API/gcc_so_makefile/makefile
 
@@ -122,12 +150,12 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc LICENCE readme.txt
 %attr(755,root,root) %{_libdir}/libinchi.so.*.*.*
-%ghost %{_libdir}/libinchi.so.1
+%attr(755,root,root) %ghost %{_libdir}/libinchi.so.1
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libinchi.so
 %{_includedir}/inchi
-%{_libdir}/libinchi.so
 
 %files doc
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/inchi.git/commitdiff/d35da9074f9b4d359839a9355d7e0e13817298db



More information about the pld-cvs-commit mailing list