SPECS: sptk.spec - add subpkg examples - complete pl translation -...

twittner twittner at pld-linux.org
Thu Jan 12 23:27:13 CET 2006


Author: twittner                     Date: Thu Jan 12 22:27:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add subpkg examples
- complete pl translation
- rel. 1

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

---- Diffs:

================================================================
Index: SPECS/sptk.spec
diff -u SPECS/sptk.spec:1.1 SPECS/sptk.spec:1.2
--- SPECS/sptk.spec:1.1	Wed Jan 11 22:14:52 2006
+++ SPECS/sptk.spec	Thu Jan 12 23:27:08 2006
@@ -4,9 +4,10 @@
 %bcond_without	static_libs # don't build static libraries
 #
 Summary:	C++ user interface toolkit for X with database and Excel support
+Summary(pl):	Toolkit C++ dla X ze wsparciem dla bazy danych i Excela
 Name:		sptk
 Version:	3.0.11
-Release:	0.1
+Release:	1
 License:	LGPL v2+ with the exceptions: http://www.sptk.net/index.php?act=license
 Group:		Libraries
 Source0:	http://www.sptk.net/%{name}-%{version}.tbz2
@@ -22,7 +23,11 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-C++ user interface toolkit for X with database and Excel support.
+Simple Powerful Toolkit is C++ user interface for X with database and
+Excel support.
+
+%description -l pl
+SPTK jest toolkitem C++ dla X ze wsparciem dla bazy danych i Excela.
 
 %package devel
 Summary:	Header files for SPTK library
@@ -48,6 +53,18 @@
 %description static -l pl
 Statyczna biblioteka SPTK.
 
+%package examples
+Summary:	Examples for Simple Powerful Toolkit
+Summary(pl):	Przykłady do SPTK
+Group:	Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description examples
+Examples for Simple Powerful Toolkit.
+
+%description -l pl
+Przykłady dla SPTK.
+
 %prep
 %setup -q
 
@@ -63,9 +80,13 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp -Rf examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -91,12 +112,21 @@
 %{_libdir}/lib*.a
 %endif
 
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/01/12 22:27:08  twittner
+- add subpkg examples
+- complete pl translation
+- rel. 1
+
 Revision 1.1  2006/01/11 21:14:52  twittner
 - added
 
================================================================

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



More information about the pld-cvs-commit mailing list