[PATCH] licq
Michal Kochanowicz
michal w michal.waw.pl
Nie, 8 Maj 2005, 22:49:49 CEST
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==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
-------------- nastêpna czê¶æ ---------
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)
Wiêcej informacji o li¶cie dyskusyjnej pld-devel-pl