SPECS: knoda.spec - split into subpkgs for knoda-rt (not tested - ...

twittner twittner at pld-linux.org
Sun Sep 4 02:57:49 CEST 2005


Author: twittner                     Date: Sun Sep  4 00:57:49 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- split into subpkgs for knoda-rt (not tested - I use knoda-0.8test1 at
  the moment with identical layout)
- rel. 3

---- Files affected:
SPECS:
   knoda.spec (1.42 -> 1.43) 

---- Diffs:

================================================================
Index: SPECS/knoda.spec
diff -u SPECS/knoda.spec:1.42 SPECS/knoda.spec:1.43
--- SPECS/knoda.spec:1.42	Sun Aug 14 22:13:47 2005
+++ SPECS/knoda.spec	Sun Sep  4 02:57:43 2005
@@ -8,7 +8,7 @@
 Summary(pl):	knoda - Graficzny interejs do baz MySQL/PostgreSQL/ODBC dla KDE
 Name:		knoda
 Version:	0.7.4
-Release:	2
+Release:	3
 License:	GPL
 Group:		Applications/Databases
 Source0:	http://dl.sourceforge.net/knoda/%{name}-%{version}.tar.bz2
@@ -25,6 +25,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.129
 # NOTE: knoda 0.7 has link errors when used with hk_classes 0.7.2  
 Requires:	hk_classes = %{version}
+Requires:	%{name}-common = %{version}-%{release}
 Obsoletes:	python-hk_kdeclasses
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,6 +38,29 @@
 %description -l ru
 ËĚÉĹÎÔ MySQL/PostgreSQL ÄĚŃ KDE.
 
+%package rt
+Summary:	Knoda locked down database front end for corp use
+Summary(pl):	Knoda - zablokowany frontend bazy danych dla użytku korporacyjnego
+Group:		Applications/Databases
+Requires:	%{name}-common = %{version}-%{release}
+
+%description rt
+Knoda locked down database front end for corp use.
+
+%description rt -l pl
+Knoda - zablokowany frontend bazy danych do użytku korporacyjnego.
+
+%package common
+Summary:	Knoda - common part for knoda and knoda-rt
+Summary(pl):	Knoda - wspólna część dla knoda i knoda-rt
+Group:		Applications/Databases
+
+%description common
+Knoda - common part for knoda and knoda-rt.
+
+%description common -l pl
+Knoda - wspólna część dla knoda i knoda-rt.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -63,12 +87,20 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post   common -p /sbin/ldconfig
+%postun common -p /sbin/ldconfig
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/knoda
+%{_desktopdir}/kde/knoda.desktop
+
+%files rt
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/knoda-rt
+
+%files common -f %{name}.lang
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libhk_kde*.so
 # *.la are needed (SEGV when trying to open table view without them)
 %{_libdir}/libhk_kde*.la
@@ -78,7 +110,6 @@
 %{_datadir}/apps/knoda
 %{_datadir}/services/*.desktop
 %{_datadir}/mimelnk/application/*.desktop
-%{_desktopdir}/kde/*.desktop
 %{_iconsdir}/hicolor/*/*/*.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -87,6 +118,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.43  2005/09/04 00:57:43  twittner
+- split into subpkgs for knoda-rt (not tested - I use knoda-0.8test1 at
+  the moment with identical layout)
+- rel. 3
+
 Revision 1.42  2005/08/14 20:13:47  twittner
 - rel. 2 - fixed -desktop.patch (forgotten commit)
 - STBR again
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/knoda.spec?r1=1.42&r2=1.43&f=u




More information about the pld-cvs-commit mailing list