]> git.pld-linux.org Git - packages/sawfish.git/blobdiff - sawfish.spec
perl -pi -e "s/^gettextize --copy --force/\%%\{__gettextize\}/"
[packages/sawfish.git] / sawfish.spec
index f2f69bcdb129272f991a2606c2b0ae7a0eb4bc72..1be521c88fca9d153b38eed6412623ac0952d773 100644 (file)
 Summary:       A highly configurable and extensible X11 window manager
+Summary(pl):   Window Manad¿er dla X11 o du¿ych mo¿liwo¶ciach konfiguracyjnych i skalowalno¶ci
 Name:          sawfish
-Version:       0.34
-Release:       1
+Version:       1.0.1
+Release:       6
+Epoch:         1
 License:       GPL
 Group:         X11/Window Managers
-Group(de):     X11/Fenstermanager
-Group(es):     X11/Administraadores De Ventanas
-Group(fr):     X11/Gestionnaires De Fenêtres
-Group(pl):     X11/Zarz±dcy Okien
-Source0:       ftp://download.sourceforge.net/pub/sourceforge/sawmill/%{name}-%{version}.tar.gz
+Source0:       http://prdownloads.sourceforge.net/sawmill/%{name}-%{version}.tar.gz
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-no_version.patch
 Patch2:                %{name}-no_libnsl.spec
-URL:           http://sawmill.sourceforge.net
-Requires:      rep-gtk >= 0.14-3
+Patch3:                %{name}-make.patch
+Patch4:                %{name}-windowmenu.patch
+Patch5:                %{name}-nautilus.patch
+Patch6:                %{name}-ac25x.patch
+URL:           http://sawmill.sourceforge.net/
+Icon:          sawfish.xpm
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: esound-devel
 BuildRequires: control-center-devel
 BuildRequires: gettext-devel
+BuildRequires: librep-devel
 BuildRequires: gnome-libs-devel
 BuildRequires: gtk+-devel >= 1.2.0
 BuildRequires: imlib-devel >= 1.8.2
 BuildRequires: libjpeg-devel
 BuildRequires: libpng >= 1.0.8
-BuildRequires: librep-devel >= 0.13.2-2
+BuildRequires: librep-devel >= 0.14
 BuildRequires: libtiff-devel
+BuildRequires: libtool
 BuildRequires: libungif-devel
 BuildRequires: ncurses-devel
 BuildRequires: readline-devel
-BuildRequires: gmp-devel
 BuildRequires: rep-gtk >= 0.14-3
 BuildRequires: rep-gtk-gnome >= 0.14-3
 BuildRequires: rep-gtk-libglade >= 0.14-3
+BuildRequires: texinfo
+%define                repexecdir      %(rep-config --execdir || echo "Install_librep-devel_and_rebuild_this_package")
+Requires:      rep-gtk >= 0.14-3
+Requires:      rep-gtk-gnome >= 0.14.3
+Requires:      %{repexecdir}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     sawmill
 Obsoletes:     sawmill-gnome
 Obsoletes:     sawmill-themer
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
-%define                _infodir        /usr/share/info
+%define                _libexecdir     %{_libdir}
+%define                _wmpropsdir     %{_datadir}/wm-properties
 
 %description
 This is an extensible window manager using a LISP-based scripting
 language--all window decorations are configurable, the basic idea is
 to have as much user-interface policy as possible controlled through
 the Lisp language. All configuration may be performed through a GTK
-interface; sawmill is mostly-GNOME compliant.
+interface; sawfish is mostly-GNOME compliant.
+
+%description -l pl
+Window manad¿er 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
+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.
 
 %package gnome
-Summary:       GNOME support for sawmill
+Summary:       GNOME support for sawfish
+Summary(pl):   Support GNOME'a dla sawfisha
 Group:         X11/Window Managers
-Group(de):     X11/Fenstermanager
-Group(es):     X11/Administraadores De Ventanas
-Group(fr):     X11/Gestionnaires De Fenêtres
-Group(pl):     X11/Zarz±dcy Okien
 Requires:      %{name} = %{version}
+Requires:      rep-gtk-gnome >= 0.14-3
+Requires:      rep-gtk-libglade >= 0.14-3
 
 %description gnome
-Optional GNOME support for sawmill. Includes a wm-entries spec, and a
+Optional GNOME support for sawfish. Includes a wm-entries spec, and a
 control center applet.
 
+%description gnome -l pl
+Opcjonalny support GNOME'a dla sawfisha. Zawiera aplet dla
+control-center oraz wm-entries spec.
+
 %package themer
-Summary:       GUI for creating sawmill themes
+Summary:       GUI for creating sawfish themes
+Summary(pl):   GUI do tworzenia tematów dla sawfisha
 Group:         X11/Window Managers
-Group(de):     X11/Fenstermanager
-Group(es):     X11/Administraadores De Ventanas
-Group(fr):     X11/Gestionnaires De Fenêtres
-Group(pl):     X11/Zarz±dcy Okien
 Requires:      %{name} = %{version}
 
 %description themer
-Optional theme builder for sawmill. Allows static window themes to be
+Optional theme builder for sawfish. Allows static window themes to be
 created/edited in a graphical environment.
 
+%description themer -l pl
+Opcjonalna aplikacja do tworzenia tematów dla sawfisha. Pozwala na
+tworzenie/modyfikacjê statycznych tematów w ¶rodowisku graficznym.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
 
 %build
-gettextize --copy --force
-autoconf
+%{__gettextize}
+%{__libtoolize}
+aclocal
+%{__autoconf}
+automake -a -c || :
 %configure \
        --disable-static \
        --enable-capplet \
+       --enable-themer \
+       --enable-gnome-widgets \
        --with-readline \
        --with-esd \
        --with-audiofile \
-       --without-static
-%{__make}
+       --with-gnu-ld
+%{__make} host_type=%{_host}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
+install -d $RPM_BUILD_ROOT%{_wmpropsdir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       G_MENU_DIR=%{_applnkdir}/Settings
+       G_MENU_DIR=%{_applnkdir}/Settings/GNOME \
+       host_type=%{_host}
+
+install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
 
 gzip -9nf README NEWS FAQ TODO
 
@@ -118,26 +151,37 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/sawfish
 %attr(755,root,root) %{_bindir}/sawfish-client
 %attr(755,root,root) %{_bindir}/sawfish-ui
-%{_datadir}/sawfish
+%dir %{_datadir}/sawfish
+%{_datadir}/sawfish/[^t]*
+%{_datadir}/sawfish/themes
+
+%{_pixmapsdir}/*
 
 %dir %{_libexecdir}/sawfish
 %dir %{_libexecdir}/sawfish/%{_host}
-
-%{_libexecdir}/sawfish/%{_host}/DOC
-%{_libexecdir}/sawfish/%{_host}/sawfish
-/usr/libexec/rep/%{_host}/sawfish
-
 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.so
 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.la
 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/gtk-style
 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-menu
+%attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-about
+%dir %{_libexecdir}/sawfish/%{_host}/sawfish
+%dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm
+%dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util
+%attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.so
+%attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.la
+%{_libexecdir}/sawfish/%{_host}/DOC
+
+%dir %{repexecdir}/sawfish
+%attr(755,root,root) %{repexecdir}/sawfish/*.so
+%attr(755,root,root) %{repexecdir}/sawfish/*.la
+
 %{_infodir}/sawfish*
 
 %files gnome
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/sawfish-capplet
 %{_datadir}/control-center/Sawfish
-%{_datadir}/gnome/wm-properties/Sawfish.desktop
+%{_wmpropsdir}/Sawfish.desktop
 
 %files themer
 %defattr(644,root,root,755)
This page took 0.068798 seconds and 4 git commands to generate.