]> git.pld-linux.org Git - packages/sawfish.git/blobdiff - sawfish.spec
- added Provides: gnome-wm
[packages/sawfish.git] / sawfish.spec
index 22d83320ac80da0ad3d14147d22ffcdb8a227559..0218d83b5a8ed985bdd9316490f846c29b1ef222 100644 (file)
@@ -1,27 +1,29 @@
 Summary:       A highly configurable and extensible X11 window manager
 Summary(es):   Un administrador de ventanas que se puede configurar y extender para X11
-Summary(pl):   Window Manad¿er dla X11 o du¿ych mo¿liwo¶ciach konfiguracyjnych i skalowalno¶ci
+Summary(pl):   Zarz±dca okien dla X11 o du¿ych mo¿liwo¶ciach konfiguracyjnych i skalowalno¶ci
 Summary(pt_BR):        Um gerenciador de janelas configurável e extensível para o X11
 Summary(ru):   ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window
 Summary(uk):   ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window
-Summary(zh_CN):        ¾ßÓкÜÇ¿µÄÀ©Õ¹ÐԺͿÉÅäÖÃÐÔµÄͼÐδ°¿Ú¹ÜÀíÆ÷.
+Summary(zh_CN):        ¾ßÓкÜÇ¿µÄÀ©Õ¹ÐԺͿÉÅäÖÃÐÔµÄͼÐδ°¿Ú¹ÜÀíÆ÷
 Name:          sawfish
-Version:       1.2
-Release:       1
+Version:       1.3
+Release:       2
 Epoch:         3
 License:       GPL
 Group:         X11/Window Managers
 #Source0:      http://ftp.gnome.org/pub/gnome/sources/sawfish/2.0/%{name}-%{version}.tar.bz2
-Source0:       http://unc.dl.sourceforge.net/sourceforge/sawmill/%{name}-%{version}-gtk2.tar.gz
+Source0:       http://dl.sourceforge.net/sawmill/%{name}-%{version}.tar.gz
+# Source0-md5: 9e5ce5e76c60acecdb1889c1f173295a
+Source1:       %{name}-xsession.desktop
 Patch0:                %{name}-applnk.patch
 URL:           http://sawmill.sourceforge.net/
 Icon:          sawfish.xpm
-BuildRequires: autoconf                
+BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: esound-devel >= 0.2.27
 BuildRequires: gettext-devel
-BuildRequires: librep-devel >= 0.16
 BuildRequires: gtk+2-devel >= 2.0.3
+BuildRequires: librep-devel >= 0.16
 BuildRequires: libtool
 BuildRequires: ncurses-devel
 BuildRequires: readline-devel
@@ -32,14 +34,14 @@ BuildRequires:      texinfo
 %define                repexecdir      %(rep-config --execdir || echo "Install_librep-devel_and_rebuild_this_package")
 Requires:      rep-gtk >= 0.16
 Requires:      %{repexecdir}
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Provides:      gnome-wm
 Obsoletes:     sawmill
 Obsoletes:     sawmill-gnome
 Obsoletes:     sawmill-themer
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
 %define                _libexecdir     %{_libdir}
-%define                _wmpropsdir     %{_datadir}/wm-properties
+%define                _wmpropsdir     /usr/share/wm-properties
 
 %description
 This is an extensible window manager using a LISP-based scripting
@@ -49,9 +51,9 @@ the Lisp language. All configuration may be performed through a GTK
 interface; sawfish is mostly-GNOME compliant.
 
 %description -l pl
-Window manad¿er o du¿ych mo¿liwo¶ciach rozszerzania, u¿ywaj±cy
+Zarz±dca okien o du¿ych mo¿liwo¶ciach rozszerzania, u¿ywaj±cy
 bazowanego na LISP-ie jêzyka skryptowego, dziêki czemu wszystkie
-dodatki do okien s± configurowalne. Ogóln± ide± jest, aby daæ jak
+dodatki do okien s± konfigurowalne. Ogóln± ide± jest, aby daæ jak
 najwiêksz± kontrolê w rêce u¿ytkownika poprzez graficzny interfejs
 dziêki w³a¶nie LISP-owi. Sawfish jest najbardziej zgodny z GNOME-m.
 
@@ -87,7 +89,7 @@ sawfish-gnome.
 Summary:       GNOME support for sawmill
 Summary(pl):   Support GNOME'a dla sawmilla
 Group:         X11/Window Managers
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}
 Requires:      rep-gtk-gnome >= 0.14-3
 Requires:      rep-gtk-libglade >= 0.14-3
 
@@ -96,8 +98,8 @@ Optional GNOME support for sawmill. Includes a wm-entries spec, and a
 control center applet.
 
 %description gnome -l pl
-Opcjonalny support GNOME'a dla sawmilla. Zawiera aplet dla
-control-center oraz wm-entries spec.
+Opcjonalne wsparcie GNOME'a dla sawmilla. Zawiera aplet dla
+control-center oraz specyfikacjê wm-entries.
 
 %description gnome -l ru
 ðÁËÅÔ sawfish-gnome ×ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ ÓÒÅÄÙ GNOME ÄÌÑ ÏËÏÎÎÏÇÏ
@@ -112,13 +114,13 @@ control-center oraz wm-entries spec.
 ÐÁËÅÔ.
 
 %prep
-%setup -q -n %{name}-%{version}-gtk2
+%setup -q
 %patch0 -p1
 
 %build
 %{__gettextize}
 %{__libtoolize}
-aclocal
+%{__aclocal}
 %{__autoconf}
 %{__automake} || :
 %configure \
@@ -130,11 +132,12 @@ aclocal
        --with-esd \
        --with-audiofile \
        --with-gnu-ld
-%{__make} host_type=%{_host}
+%{__make} \
+       host_type=%{_host}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_wmpropsdir}
+install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
@@ -142,6 +145,7 @@ install -d $RPM_BUILD_ROOT%{_wmpropsdir}
        host_type=%{_host}
 
 install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
 
 %find_lang %{name}
 
@@ -159,13 +163,14 @@ rm -rf $RPM_BUILD_ROOT
 %doc README NEWS FAQ TODO
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/sawfish
+%{_datadir}/xsessions/%{name}.desktop
 %{_pixmapsdir}/*
 
 %dir %{_libexecdir}/sawfish
 %dir %{_libexecdir}/sawfish/%{version}
 %dir %{_libexecdir}/sawfish/%{version}/%{_host}
 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/*.so
-%attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/*.la
+%{_libexecdir}/sawfish/%{version}/%{_host}/*.la
 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/gtk-style
 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish-menu
 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish-about
@@ -173,12 +178,12 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm
 %dir %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm/util
 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm/util/*.so
-%attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm/util/*.la
+%{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm/util/*.la
 %{_libexecdir}/sawfish/%{version}/%{_host}/DOC
 
 %dir %{repexecdir}/sawfish
 %attr(755,root,root) %{repexecdir}/sawfish/*.so
-%attr(755,root,root) %{repexecdir}/sawfish/*.la
+%{repexecdir}/sawfish/*.la
 %{_infodir}/sawfish*
 
 %files gnome
This page took 0.207547 seconds and 4 git commands to generate.