Bez tej łatki pakiet licq-kde-gui wymaga licq-qt-gui, choć w żaden
sposób nie jest to wymuszane.

Łatka wydziela pakiet licq-qt-gui-common z plikami wymaganymi przez
qt-gui oraz kde-gui (które w istocie jest kopią qt-gui zbudowaną z
--with kde),
-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
Index: licq.spec
===================================================================
RCS file: /cvsroot/SPECS/licq.spec,v
retrieving revision 1.99
diff -u -r1.99 licq.spec
--- licq.spec   7 Nov 2004 12:53:10 -0000       1.99
+++ licq.spec   8 May 2005 20:47:06 -0000
@@ -8,12 +8,13 @@
 Summary(uk):   ëĚĎÎ ICQ ÄĚŃ ĎÎĚÁĘÎĎ×ÇĎ ĎÂÍŚÎŐ ĐĎ׌ÄĎÍĚĹÎÎŃÍÉ
 Name:          licq
 Version:       1.3.0
-Release:       2
+Release:       3
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://dl.sourceforge.net/licq/%{name}-%{version}.tar.bz2
 # Source0-md5: c1b05d1078b9826273191c05d0d1a969
 Source1:       %{name}-qt-gui.desktop
+Source2:       %{name}-kde-gui.desktop
 Patch0:                %{name}-c++.patch
 URL:           http://www.licq.org/
 BuildRequires: XFree86-devel
@@ -91,6 +92,19 @@
 %description devel -l pt_BR
 Ferramentas para desenvolvimento de plug-ins para o licq.
 
+%package qt-gui-common
+Summary:       Common files for QT based GUI plugins
+Summary(pl):   Wspólne pliki dla wtyczek GUI opartych na QT
+Group:         Applications/Communications
+Requires:      %{name} = %{version}-%{release}
+Requires:      qt >= 2.1
+
+%description qt-gui-common
+Common files for QT based GUI plugins.
+
+%description qt-gui-common -l pl
+Wspólne pliki dla wtyczek GUI opartych na QT.
+
 %package qt-gui
 Summary:       Qt GUI for Licq
 Summary(es):   Qt user interface for licq
@@ -100,6 +114,7 @@
 Summary(uk):   Qt ŚÎÔĹŇĆĹĘÓ ÄĎ licq
 Group:         Applications/Communications
 Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-qt-gui-common = %{version}-%{release}
 Requires:      qt >= 2.1
 
 %description qt-gui
@@ -122,6 +137,7 @@
 Summary(pl):   Graficzny interfejs KDE dla Licq
 Group:         Applications/Communications
 Requires:      %{name} = %{version}-%{release}
+Requires:      %{name}-qt-gui-common = %{version}-%{release}
 Requires:      qt >= 2.1
 
 %description kde-gui
@@ -277,6 +293,7 @@
 done
 
 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/licq-qt_gui.desktop
+install -D %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/licq-kde_gui.desktop
 
 cp -f plugins/auto-reply/README                doc/README.AUTOREPLY
 cp -f plugins/console/README           doc/README.CONSOLE
@@ -313,11 +330,9 @@
 %defattr(644,root,root,755)
 %{_includedir}/licq
 
-%files qt-gui
+%files qt-gui-common
 %defattr(644,root,root,755)
 %doc plugins/qt-gui/doc/*
-%attr(755,root,root) %{plugindir}/licq_qt-gui.so
-%{_desktopdir}/licq-qt_gui.desktop
 %dir %{_datadir}/licq/qt-gui
 %{_datadir}/licq/qt-gui/*.*
 %{_datadir}/licq/qt-gui/emoticons
@@ -340,9 +355,15 @@
 %lang(tr) %{_datadir}/licq/qt-gui/locale/tr.qm
 %lang(uk) %{_datadir}/licq/qt-gui/locale/uk.qm
 
+%files qt-gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %{plugindir}/licq_qt-gui.so
+%{_desktopdir}/licq-qt_gui.desktop
+
 %files kde-gui
 %defattr(644,root,root,755)
 %attr(755,root,root) %{plugindir}/licq_kde-gui.so
+%{_desktopdir}/licq-kde_gui.desktop
 
 %files text
 %defattr(644,root,root,755)
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym