]> git.pld-linux.org Git - packages/botan.git/commitdiff
- pl, cleanup
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 1 Mar 2017 21:12:05 +0000 (22:12 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 1 Mar 2017 21:12:05 +0000 (22:12 +0100)
botan.spec

index 2931595a8480eca14759bbd6bccb676124519498..af1a64b42c4b3987d0909862e87295fad6dd80f0 100644 (file)
@@ -5,12 +5,12 @@
 %bcond_without static_libs     # don't build static libraries
 
 Summary:       Crypto library written in C++
+Summary(pl.UTF-8):     Biblioteka kryptograficzna napisana w C++
 Name:          botan
 Version:       1.8.14
 Release:       3
 License:       BSD
 Group:         Libraries
-URL:           http://botan.randombit.net/
 # tarfile is stripped using repack.sh. original tarfile to be found
 # here: http://files.randombit.net/botan/Botan-%%{version}.tbz
 Source0:       http://pkgs.fedoraproject.org/repo/pkgs/botan/Botan-%{version}.stripped.tbz/4b5ce78b1cfc0735eb7ec4f6903068ca/Botan-%{version}.stripped.tbz
@@ -18,6 +18,7 @@ Source0:      http://pkgs.fedoraproject.org/repo/pkgs/botan/Botan-%{version}.stripped
 Source1:       README.fedora
 # soname was changed unintentionally upstream, revert it.
 Patch0:                soname.patch
+URL:           http://botan.randombit.net/
 BuildRequires: bzip2-devel
 BuildRequires: gmp-devel
 BuildRequires: libstdc++-devel
@@ -29,24 +30,36 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Botan is a BSD-licensed crypto library written in C++. It provides a
 wide variety of basic cryptographic algorithms, X.509 certificates and
-CRLs, PKCS \#10 certificate requests, a filter/pipe message processing
+CRLs, PKCS#10 certificate requests, a filter/pipe message processing
 system, and a wide variety of other features, all written in portable
 C++. The API reference, tutorial, and examples may help impart the
 flavor of the library.
 
+%description -l pl.UTF-8
+Botan to biblioteka kryptograficzna na licencji BSD, napisana w C++.
+Zapewnia szeroki zakres algorytmów kryptograficznych, certyfikaty
+X.509 oraz CRL, żądania certyfikatów PKCS#10, system przetwarzania
+komunikatów z filtrowaniem/potokami i wiele innych funkcji, wszystko
+napisane w przenośnym C++. Dodatkowe udogodnienia to dokumentacja API,
+wprowadzenie oraz przykłady.
+
 %package devel
-Summary:       Development files for botan
+Summary:       Header files for botan library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki botan
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      bzip2-devel
 Requires:      gmp-devel
 Requires:      openssl-devel
-Requires:      pkgconfig
 Requires:      zlib-devel
 
 %description devel
-This package contains libraries and header files for developing
-applications that use botan.
+This package contains the header files for developing applications
+that use botan.
+
+%description devel
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących bibliotekę botan.
 
 %package static
 Summary:       Static botan library
@@ -104,7 +117,7 @@ cp -p %{SOURCE1} .
        CXX="%{__cxx} %{rpmcxxflags}" check
 
 # these checks would fail
-mv checks/validate.dat{,.orig}
+%{__mv} checks/validate.dat{,.orig}
 awk '/\[.*\]/{f=0} /\[(RC5.*|RC6|IDEA)\]/{f=1} (f && !/^#/){sub(/^/,"#")} {print}' \
        checks/validate.dat.orig > checks/validate.dat
 LD_LIBRARY_PATH=. ./check --validate
@@ -131,15 +144,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc _doc/readme.txt _doc/log.txt _doc/thanks.txt _doc/credits.txt
-%doc _doc/license.txt _doc/fips140.tex _doc/pgpkeys.asc
-%doc README.fedora
+%doc _doc/{credits,license,log,readme,thanks}.txt _doc/{fips140.tex,pgpkeys.asc} README.fedora
 %attr(755,root,root) %{_libdir}/libbotan-1.8.*.so
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libbotan.so
 %{_includedir}/botan
-%{_libdir}/libbotan.so
 %{_pkgconfigdir}/botan-1.8.pc
 
 %if %{with static_libs}
@@ -151,6 +162,5 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%doc doc/examples
-%doc _doc/api* _doc/tutorial*
+%doc doc/examples _doc/{api*,tutorial*}
 %endif
This page took 0.093415 seconds and 4 git commands to generate.