Author: megabajt                     Date: Sun Sep 17 13:32:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 4.0.8

---- Files affected:
SPECS:
   switchdesk.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/switchdesk.spec
diff -u SPECS/switchdesk.spec:1.16 SPECS/switchdesk.spec:1.17
--- SPECS/switchdesk.spec:1.16  Sat Mar 27 12:19:48 2004
+++ SPECS/switchdesk.spec       Sun Sep 17 15:32:17 2006
@@ -2,89 +2,89 @@
 Summary:       Desktop Switcher - switch between GNOME, KDE and AnotherLevel
 Summary(pl):   Przełącznik desktopów - przełącza pomiędzy GNOME, KDE i 
AnotherLevel
 Name:          switchdesk
-Version:       1.7.0
-Release:       1
+Version:       4.0.8
+Release:       0.1
 License:       GPL
 Group:         X11/Window Managers/Tools
-Source0:       %{name}-%{version}.tar.gz
-# Source0-md5: 0efc2e0ca297ed6d42b52a3a8385c0c2
+Source0:       %{name}-%{version}-6.tar.bz2
+# Source0-md5: 020d27b29a5f02875852d99ea83e38f6
+Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-pyc.patch
+Patch2:                %{name}-PLD.patch
+BuildRequires: intltool
+BuildRequires: python-pygtk-glade
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Requires:      textutils
 
-%define                kdeprefix       %{_prefix}
+%define                _switchdeskdir  %{_datadir}/switchdesk
 
 %description
 The Desktop Switcher is a tool which enables users to easily switch
 between various desktop environments that they have installed. The
-tool includes support for GNOME, KDE, and AnotherLevel. Support for
+tool includes support for GNOME, KDE, Xfce4 and others. Support for
 different environments on different computers is available, as well as
 setting a "global default."
 
 %description -l pl
 Desktop Switcher to narzędzie pozwalające użytkownikom łatwo
 przełączać się między różnymi środowiskami desktopowymi, które są
-zainstalowane. Narzędzie ma wsparcie dla GNOME, KDE i AnotherLevel.
+zainstalowane. Narzędzie ma wsparcie dla GNOME, KDE, Xfce4 i innych.
 Wsprarcie dla innych środowisk jest możliwe, podobnie jak ustawienie
 globalnego domyślnego środowiska.
 
-%package kde
-Summary:       KDE interface to the Desktop Switcher
-Summary(pl):   Interfejs KDE do Desktop Switchera
+%package gui
+Summary:       Graphical interface to the Desktop Switcher
+Summary(pl):   Graficzny interfejs do Desktop Switchera
 Group:         X11/Applications
-Requires:      qt >= 1.42 kdesupport
+Requires:      switchdesk >= %{version}-%{release}
+Provides:      switchdesk-gnome
+Provides:      switchdesk-kde
+Obsoletes:     switchdesk-gnome
+Obsoletes:     switchdesk-kde
 
-%description kde
-Provides the desktop switching Tool with a KDE look and feel.
+%description gui
+Provides the graphical user interface to the Desktop Switcher.
 
-%description kde -l pl
-Pakiet zawiera narzędzie do przełączania desktopów z wyglądem KDE.
-
-%package gnome
-Summary:       GNOME interface to the Desktop Switcher
-Summary(pl):   Interfejs GNOME do Desktop Switchera
-Group:         X11/Applications
-
-%description gnome
-Provides the desktop switching tool with a GNOME look and feel.
-
-%description gnome -l pl
-Pakiet zawiera narzędzie do przełączania desktopów z wyglądem GNOME.
+%description gui -l pl
+Pakiet zawiera graficzny interfejs do Desktop Switchera.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}-6
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-KDEDIR=%{kdeprefix} ; export KDEDIR
-%{__make} -f Makefile.cvs
-./configure \
-       --prefix=%{kdeprefix} \
-       --with-install-root=$RPM_BUILD_ROOT \
-       --disable-path-check
-%{__make} CXXFLAGS="%{rpmcflags}" KDEDIR=%{kdeprefix}
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-KDEDIR=%{kdeprefix} ; export KDEDIR
-%{__make} install-strip prefix=$RPM_BUILD_ROOT%{kdeprefix}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_switchdeskdir}/*.py
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/switchdesk
 %attr(755,root,root) %{_bindir}/switchdesk-helper
-%{_applnkdir}/System/switchdesk.desktop
-%{_applnkdir}/System/switchdesk.kdelnk
-%{_datadir}/apps/switchdesk
+%dir %{_switchdeskdir}
+%{_switchdeskdir}/Xclients.*
+%{_mandir}/man1/*
+%lang(fr) %{_mandir}/fr/man1/*
 
-%files kde
+%files gui
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/switchdesk-kde
-
-%files gnome
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/switchdesk-gnome
+%{_switchdeskdir}/pixmaps
+%{_switchdeskdir}/*.pyc
+%{_switchdeskdir}/*.glade
+%{_desktopdir}/*.desktop
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -92,6 +92,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2006/09/17 13:32:17  megabajt
+- up to 4.0.8
+
 Revision 1.16  2004/03/27 11:19:48  twittner
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/switchdesk.spec?r1=1.16&r2=1.17&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to