SPECS: qdbm.spec - pl, missing dirs

qboosh qboosh at pld-linux.org
Sat Apr 15 21:01:44 CEST 2006


Author: qboosh                       Date: Sat Apr 15 19:01:44 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, missing dirs

---- Files affected:
SPECS:
   qdbm.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/qdbm.spec
diff -u SPECS/qdbm.spec:1.2 SPECS/qdbm.spec:1.3
--- SPECS/qdbm.spec:1.2	Mon Apr 10 23:27:22 2006
+++ SPECS/qdbm.spec	Sat Apr 15 21:01:38 2006
@@ -1,101 +1,150 @@
 # $Revision$, $Date$
+#
+# TODO: perl,ruby APIs
 # 
 # Conditional build:
-%bcond_with	java	# with java bindings
+%bcond_with	java	# with Java bindings
 #
 Summary:	Quick Database Manager
+Summary(pl):	Quick Database Manager - szybki silnik bazy danych
 Name:		qdbm
 Version:	1.8.48
 Release:	0.1
+License:	LGPL
+Group:		Libraries
 Source0:	http://qdbm.sourceforge.net/%{name}-%{version}.tar.gz
 # Source0-md5:	ac59de1fd23478edcb906612fe48f3b8
-License:	LGPL
-Group:		Development/Libraries
-Url:		http://qdbm.sourceforge.net/
+URL:		http://qdbm.sourceforge.net/
 %{?with_java:BuildRequires:	jdk}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define	_libexecdir	/usr/lib/qdbm
+%define		_libexecdir	/usr/lib/qdbm
 
 %description
 QDBM is an embeded database library compatible with GDBM and NDBM. It
 features hash database and B+ tree database and is developed referring
 to GDBM for the purpose of the following three points: higher
 processing speed, smaller size of a database file, and simpler API.
-This package includes APIs for C, C++, and Java. CGI scripts are also
-contained. APIs for Perl and Ruby should be installed with a source
-package.
+This package includes API for C; APIs for C++, Java and CGI scripts
+are contained in appropriate subpackages. APIs for Perl and Ruby
+should be installed with a source package.
+
+%description -l pl
+QDBM to biblioteka wbudowanej bazy danych kompatybilnej z GDBM i NDBM.
+Obsługuje bazy danych oparte na haszach oraz B+ drzewach; jest
+tworzona na wzór GDBM-a mając na celu następujące trzy punkty: wyższą
+szybkość przetwarzania, mniejszy rozmiar pliku bazy danych i prostsze
+API. Ten pakiet zawiera API dla C; API dla C++ i Javy oraz skrypty CGI
+znajdują się w odpowiednich podpakietach. API dla Perla i Ruby'ego
+można doinstalować z pakietu źródłowego.
 
 %package devel
-Summary:	Headers, libraries, utilities and documentation for QDBM
+Summary:	Header files, utilities and documentation for QDBM
+Summary(pl):	Pliki nagłówkowe, narzędzia i dokumentacja dla QDBM-a
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
-This package contains header files and libraries needed to develop
-programs using the QDBM library. Some utility commands are also
-provided.
+This package contains header files needed to develop programs using
+the QDBM library. Some utility commands are also provided.
+
+%description devel -l pl
+Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów z
+użyciem biblioteki QDBM. Dołączone jest także trochę programów
+narzędziowych.
 
 %package static
-Summary:	QDBM static libraries
+Summary:	QDBM static library
+Summary(pl):	Biblioteka statyczna QDBM
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-QDBM static libraries.
+QDBM static library.
+
+%description static -l pl
+Biblioteka statyczna QDBM.
 
 %package plus
 Summary:	C++ bindings for QDBM
+Summary(pl):	Wiązania C++ dla QDBM-a
 Group:		Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description plus
 QDBM C++ bindings.
 
+%description plus -l pl
+Wiązania C++ dla QDBM-a.
+
 %package plus-devel
-Summary:	C++ libraries for QDBM
+Summary:	Header files for QDBM C++ bindings
+Summary(pl):	Pliki nagłówkowe wiązań C++ dla QDBM-a
 Group:		Development/Libraries
 Requires:	%{name}-plus = %{version}-%{release}
 
 %description plus-devel
-This package contains libraries needed to develop and run programs
-using the QDBM C++ bindings.
+This package contains header files needed to develop programs using
+the QDBM C++ bindings.
+
+%description plus-devel -l pl
+Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów z
+użyciem wiązań C++ QDBM-a.
 
 %package plus-static
-Summary:	C++ static libraries for QDBM
+Summary:	C++ static library for QDBM
+Summary(pl):	Statyczna biblioteka C++ QDBM-a
 Group:		Development/Libraries
 Requires:	%{name}-plus-devel = %{version}-%{release}
 
 %description plus-static
-This package contains static libraries needed to develop and run programs
-using the QDBM C++ bindings.
+This package contains static library to develop programs using the
+QDBM C++ bindings.
+
+%description plus-static -l pl
+Ten pakiet zawiera bibliotekę statyczną do tworzenia programów z
+użyciem wiązań C++ QDBM-a.
 
 %package java
 Summary:	Java libraries for QDBM
+Summary(pl):	Biblioteki Javy dla QDBM-a
 Group:		Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description java
 QDBM Java bindings.
 
+%description java -l pl
+Biblioteki Javy dla QDBM-a.
+
 %package java-devel
-Summary:	Java libraries for QDBM
+Summary:	Java development library for QDBM and documentation
+Summary(pl):	Biblioteka programistyczna Javy dla QDBM-a i dokumentacja
 Group:		Development/Libraries
 Requires:	%{name}-java = %{version}-%{release}
 
 %description java-devel
-This package contains libraries needed to develop and run programs
+This package contains development library needed to develop programs
 using the QDBM Java bindings.
 
+%description java-devel -l pl
+Ten pakiet zawiera bibliotekę programistyczną potrzebną do tworzenia
+programów z użyciem wiązań Javy QDBM-a.
+
 %package cgi
 Summary:	CGI scripts with QDBM
-Group:		Development/Libraries
+Summary(pl):	Skrypty CGI dla QDBM-a
+Group:		Applications/Databases
 Requires:	%{name} = %{version}-%{release}
 
 %description cgi
 This package contains CGI scripts with QDBM, for administration of
 databases, file uploading, and full-text search.
 
+%description cgi -l pl
+Ten pakiet zawiera skrypty CGI dla QDBM-a służące do administrowania
+bazami danych, przesyłania plików i wyszukiwania pełnotekstowego.
+
 %prep
 %setup -q
 
@@ -123,21 +172,22 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT 
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT 
 
-cd plus
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-cd ..
+%{__make} -C plus install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with java}
-cd java
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-cd ..
+%{__make} -C java install \
+	DESTDIR=$RPM_BUILD_ROOT
 %endif
 
-cd cgi
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-cd ..
+%{__make} -C cgi install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
@@ -148,9 +198,6 @@
 %post	java -p /sbin/ldconfig
 %postun	java -p /sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS README THANKS
@@ -159,29 +206,6 @@
 %files devel
 %defattr(644,root,root,755)
 %doc *.html
-%attr(755,root,root) %{_libdir}/libqdbm.so
-%{_includedir}/depot.h
-%{_includedir}/curia.h
-%{_includedir}/relic.h
-%{_includedir}/hovel.h
-%{_includedir}/cabin.h
-%{_includedir}/villa.h
-%{_includedir}/vista.h
-%{_includedir}/odeum.h
-%{_mandir}/man3/qdbm.3*
-%{_mandir}/man3/depot.3*
-%{_mandir}/man3/dpopen.3*
-%{_mandir}/man3/curia.3*
-%{_mandir}/man3/cropen.3*
-%{_mandir}/man3/relic.3*
-%{_mandir}/man3/hovel.3*
-%{_mandir}/man3/cabin.3*
-%{_mandir}/man3/villa.3*
-%{_mandir}/man3/vlopen.3*
-%{_mandir}/man3/vista.3*
-%{_mandir}/man3/odeum.3*
-%{_mandir}/man3/odopen.3*
-%{_pkgconfigdir}/qdbm.pc
 %attr(755,root,root) %{_bindir}/dpmgr
 %attr(755,root,root) %{_bindir}/dptest
 %attr(755,root,root) %{_bindir}/dptsv
@@ -200,6 +224,16 @@
 %attr(755,root,root) %{_bindir}/odmgr
 %attr(755,root,root) %{_bindir}/odtest
 %attr(755,root,root) %{_bindir}/odidx
+%attr(755,root,root) %{_libdir}/libqdbm.so
+%{_includedir}/depot.h
+%{_includedir}/curia.h
+%{_includedir}/relic.h
+%{_includedir}/hovel.h
+%{_includedir}/cabin.h
+%{_includedir}/villa.h
+%{_includedir}/vista.h
+%{_includedir}/odeum.h
+%{_pkgconfigdir}/qdbm.pc
 %{_mandir}/man1/dpmgr.1*
 %{_mandir}/man1/dptest.1*
 %{_mandir}/man1/dptsv.1*
@@ -218,6 +252,19 @@
 %{_mandir}/man1/odmgr.1*
 %{_mandir}/man1/odtest.1*
 %{_mandir}/man1/odidx.1*
+%{_mandir}/man3/qdbm.3*
+%{_mandir}/man3/depot.3*
+%{_mandir}/man3/dpopen.3*
+%{_mandir}/man3/curia.3*
+%{_mandir}/man3/cropen.3*
+%{_mandir}/man3/relic.3*
+%{_mandir}/man3/hovel.3*
+%{_mandir}/man3/cabin.3*
+%{_mandir}/man3/villa.3*
+%{_mandir}/man3/vlopen.3*
+%{_mandir}/man3/vista.3*
+%{_mandir}/man3/odeum.3*
+%{_mandir}/man3/odopen.3*
 
 %files static
 %defattr(644,root,root,755)
@@ -230,15 +277,15 @@
 %files plus-devel
 %defattr(644,root,root,755)
 %doc plus/*.html plus/xapidoc
+%attr(755,root,root) %{_bindir}/xdptest
+%attr(755,root,root) %{_bindir}/xcrtest
+%attr(755,root,root) %{_bindir}/xvltest
+%attr(755,root,root) %{_libdir}/libxqdbm.so
 %{_includedir}/xqdbm.h
 %{_includedir}/xadbm.h
 %{_includedir}/xdepot.h
 %{_includedir}/xcuria.h
 %{_includedir}/xvilla.h
-%attr(755,root,root) %{_libdir}/libxqdbm.so
-%attr(755,root,root) %{_bindir}/xdptest
-%attr(755,root,root) %{_bindir}/xcrtest
-%attr(755,root,root) %{_bindir}/xvltest
 
 %files plus-static
 %defattr(644,root,root,755)
@@ -261,9 +308,12 @@
 %doc cgi/*.html
 # don't move it to /usr/lib/cgi-bin - write your wrapper (sh script),
 # utilize SCRIPT_NAME env. var. and put into your cgi-bin directory
+%dir %{_libexecdir}
 %{_libexecdir}/qadm.cgi
 %{_libexecdir}/qupl.cgi
 %{_libexecdir}/qfts.cgi
+%dir %{_datadir}/qdbm
+%dir %{_datadir}/qdbm/cgi
 # config templates - don't add to %%config, don't move it to /etc
 %{_datadir}/qdbm/cgi/qadm.conf
 %{_datadir}/qdbm/cgi/qupl.conf
@@ -275,9 +325,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/04/15 19:01:38  qboosh
+- pl, missing dirs
+
 Revision 1.2  2006/04/10 21:27:22  twittner
 - up to 1.8.48
 
 Revision 1.1  2006/04/06 18:52:25  twittner
 - added, based on spec enclosed with sources
-
================================================================

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



More information about the pld-cvs-commit mailing list