]> git.pld-linux.org Git - packages/gentoo.git/blobdiff - gentoo.spec
- up to 0.11.56
[packages/gentoo.git] / gentoo.spec
index b301bd2726392c8c785940a9bdd7abaf4344974d..d43032dba59f8afaf32a468af80e823b9efdfc69 100644 (file)
@@ -1,92 +1,89 @@
-Summary:       gentoo is a Gtk+ file manager for Linux.
-Summary(pl):   gentoo jest opartym na Gtk+ zarz±dc± plików pod Linuxa.
+Summary:       gentoo - a GTK+ file manager for Linux
+Summary(pl):   gentoo - oparty na GTK+ zarz±dca plików pod Linuksa
 Name:          gentoo
-Version:       0.11.6
+Version:       0.11.56
 Release:       1
-Copyright:     GPL
-Group:         X11/Utilities
-Group(pl):     X11/Narzêdzia
-URL:           http://www.obsession.se/gentoo
-Source0:       ftp://ftp.obsession.se/gentoo/%{name}-%{version}.tar.gz
-Source1:       gentoo.wmconfig
-Patch0:                gentoo-makefile.patch
-Patch1:                gentoo-config.patch
-BuildPrereq:   gtk+-devel >= 1.2.0
-BuildPrereq:   glib-devel >= 1.2.0
-BuildPrereq:   XFree86-devel
+License:       GPL
+Group:         X11/Applications
+Source0:       http://dl.sourceforge.net/gentoo/%{name}-%{version}.tar.gz
+# Source0-md5: c28b003a29527813f47908d69d3f44d0
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+Patch0:                %{name}-home_etc.patch
+Patch1:                %{name}-locale_names.patch
+URL:           http://www.obsession.se/gentoo/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: libtool
 Requires:      file
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define _prefix        /usr/X11R6
+%define                _sysconfdir     /etc/X11
 
 %description
 gentoo is a file manager for Linux written from scratch in pure C. It
 uses the GTK+ toolkit for all of its interface needs. gentoo provides
-100%% GUI configurability; no need to edit config files by hand and re-
-start the program. gentoo supports identifying the type of various
-files (using extension, regular expressions, and/or the 'file' command),
-and can display files of different types with different colors and icons.
-       gentoo borrows some of its look and feel from the classic Amiga
-file manager "Directory OPUS"(TM) (written by Jonathan Potter).
+100%% GUI configurability; no need to edit config files by hand and
+re- start the program. gentoo supports identifying the type of various
+files (using extension, regular expressions, and/or the 'file'
+command), and can display files of different types with different
+colors and icons. gentoo borrows some of its look and feel from the
+classic Amiga file manager "Directory OPUS"(TM) (written by Jonathan
+Potter).
 
 %description -l pl
-gentoo jest zarz±dc± plików dla Linuxa napisanym 'od zera' w czystym C.
-U¿ywa zestawu narzêdzi GTK+ do zaspokojenia wszystkich potrzeb zwi±zanych
-z interfejsem. gentoo zapewnia 100%-ow± konfigurowalno¶æ graficznego 
-interfejsu; nie ma potrzeby rêcznego edytowania plików konfiguracyjnch
-i ponownego uruchamiania programu. gentoo dostarcza identyfikacjê typów
-ró¿nych plików (u¿ywaj±c rozszerzenia, wyra¿eñ regularnych i/lub polecenia
-'file') oraz potrafi wy¶wietlaæ pliki ró¿nego typu w ró¿nych kolorach
-i z ró¿nymi ikonami. gentoo zapo¿ycza trochê ze swojego wygl±du od 
-klasycznego zarz±dcy plików Amigi -- "Directory OPUS"(TM) (napisanego
-przez Jonathana Pottera).
+gentoo jest zarz±dc± plików dla Linuksa napisanym 'od zera' w czystym
+C. U¿ywa zestawu narzêdzi GTK+ do zaspokojenia wszystkich potrzeb
+zwi±zanych z interfejsem. gentoo zapewnia 100%%-ow± konfigurowalno¶æ
+graficznego interfejsu; nie ma potrzeby rêcznego modyfikowania plików
+konfiguracyjnych i ponownego uruchamiania programu. gentoo dostarcza
+identyfikacjê typów ró¿nych plików (u¿ywaj±c rozszerzenia, wyra¿eñ
+regularnych i/lub polecenia 'file') oraz potrafi wy¶wietlaæ pliki
+ró¿nego typu w ró¿nych kolorach i z ró¿nymi ikonami. gentoo zapo¿ycza
+trochê ze swojego wygl±du od klasycznego zarz±dcy plików Amigi --
+"Directory OPUS"(TM) (napisanego przez Jonathana Pottera).
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p0
+%patch1 -p1
 
-%build
+mv -f po/ru{_RU.utf8,}.po
+rm -f po/ru_RU.*
+mv -f po/ja{_JP.UTF-8,}.po
 
-CFLAGS="$RPM_OPT_FLAGS" \
-make
+%build
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}}
 
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
-       $RPM_BUILD_ROOT{%{_datadir}/%{name}/icons,/etc/X11/wmconfig}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install -s %{name} $RPM_BUILD_ROOT%{_bindir}
-install gentoorc-example $RPM_BUILD_ROOT%{_datadir}/%{name}/gentoorc
-install icons/*        $RPM_BUILD_ROOT%{_datadir}/%{name}/icons
-install docs/%{name}.1x $RPM_BUILD_ROOT%{_mandir}/man1
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/%{name}
+install docs/gentoo.1x $RPM_BUILD_ROOT%{_mandir}/man1
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       BUGS FIXES-0.11 FIXES-0.9 README README.gtkrc
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {BUGS,FIXES-0.11,FIXES-0.9,README,README.gtkrc}.gz
-%doc docs %{name}gtkrc-example %{name}rc-example
-
+%doc AUTHORS BUGS CREDITS ChangeLog NEWS README* TODO docs
+%config %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_mandir}/man1/*
-
-/etc/X11/wmconfig/%{name}
-
-%changelog
-- added gentoo.desktop instead of wmconfig file,
-- minor fixes.
-
-* Thu May 20 1999 Piotr Czerwiñski <pius@pld.org.pl> 
-- based on spec written by Ryan Weaver <ryanw@infohwy.com>.
-
-- package is FHS 2.0 compliant,
-- spec file rewritten for PLD use,
-- based on spec written by Ryan Weaver <ryanw@infohwy.com>.
+%{_desktopdir}/gentoo.desktop
+%{_pixmapsdir}/*
This page took 0.093179 seconds and 4 git commands to generate.