]> git.pld-linux.org Git - packages/gentoo.git/blobdiff - gentoo.spec
- typos / formatting / etc.
[packages/gentoo.git] / gentoo.spec
index 919b7e2f2d870f402748e94704921692b9304642..7dab08c40d2826681ba33ae8a43adeb33330184e 100644 (file)
-Summary:       gentoo is a Gtk+ file manager for Linux.
-Summary(pl):   gentoo jest opartym na Gtk+ zarz±dc± plików pod Linuxa.
+Summary:       gentoo is a Gtk+ file manager for Linux
+Summary(pl):   gentoo jest opartym na Gtk+ zarz±dc± plików pod Linuksa
 Name:          gentoo
-Version:       0.11.5
-Release:       2
-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
-Patch:         gentoo-makefile.patch
-BuildPrereq:   gtk+-devel >= 1.2.0
-BuildPrereq:   glib-devel >= 1.2.0
-BuildPrereq:   XFree86-devel
+Version:       0.11.51
+Release:       3
+License:       GPL
+Group:         X11/Applications
+Source0:       http://dl.sourceforge.net/gentoo/%{name}-%{version}.tar.gz
+# Source0-md5: e9bcc95dd5c16a607a202cb7b5d2d73a
+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                _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 edytowania 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
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
-%build
+mv -f po/ru{_RU.utf8,}.po
+rm -f po/ru_RU.*
 
-CFLAGS="$RPM_OPT_FLAGS" \
-make
+%build
+rm -f missing
+%{__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/usr/X11R6/{bin,share/gentoo/icons,man/man1} \
-       $RPM_BUILD_ROOT/etc/X11/wmconfig
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install -s gentoo $RPM_BUILD_ROOT/usr/X11R6/bin
-install gentoorc-example $RPM_BUILD_ROOT/usr/X11R6/share/gentoo/gentoorc
-install icons/*        $RPM_BUILD_ROOT/usr/X11R6/share/gentoo/icons
-install docs/gentoo.1x $RPM_BUILD_ROOT/usr/X11R6/man/man1
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/gentoo
+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/usr/X11R6/man/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 gentoogtkrc-example gentoorc-example
-
-%attr(755,root,root) /usr/X11R6/bin/gentoo
-/usr/X11R6/share/gentoo
-/usr/X11R6/man/man1/gentoo.1x.gz
-
-/etc/X11/wmconfig/gentoo
-
-%changelog
-* Mon Apr 26 1999 Piotr Czerwiñski <pius@pld.org.pl>
-  [0.11.5-2]
-- updated to 0.11.5,
-- added pl translation,
-- changed install prefix to /usr/X11R6,
-- changed gentoo's files path to /usr/X11R6/share/gentoo 
-  (new gentoo-makefile.patch),
-- fixed passing $RPM_OPT_FLAGS during compile,
-- modified %install and %files section,
-- added gzipping documentation and man pages,
-- added full %defattr and %attr description,
-- added some BuildPrereqs and Requires,
-- added wmconfig file,
-- recompiled on rpm 3,
-- minor changes.
-
-* Tue Apr  6 1999 Ryan Weaver <ryanw@infohwy.com>
-  [gentoo-0.11.4-1]
-- 0.11.4
-- Statusbar now shows the amount of free space for the filesystem
-  the current pane's directory is in. Note that the call that makes
-  this possible (statfs(2) on Linux, statvfs(2) on e.g. Solaris and
-  Irix) seems to be somewhat unstandardized. There might be trouble.
-- Fixed a problem with nesting modal dialogs. Noticable when e.g.
-  Rename caused an overwrite confirmation to occur.
-- Fixed a related dialog problem; now, if you close the Rename
-  dialog with the Overwrite confirm window still open, nothing evil
-  will happen.
-- Did numerous clean-ups in the main "gentoo.h" header file, moving
-  many type definitions into separate C files, thus reducing coupling.
-- Removed a useless dialog (the "child_dialog" module).
-- Discovered what I suppose is a compiler bug in gcc 2.8.1; when
-  compiling gentoo with optimization level 2 (-O2), a supposedly
-  harmless statement in the dialog module will cause a segfault...
-- When you write a path, the keyboard events no longer trigger
-  commands. This is better. Reported by J. Hanson <johan@tiq.com>.
-- Added a freeze/thaw pair to the textviewer used for command output
-  capturing, resulting in way better performance and no flickering.
-- Removed the (nonfunctional) "Print" button from the text viewer,
-  slightly changing the button layout in the process.
-- Slowed down the animation of the busy indicator (used by the
-  Information and GetSize commands) a bit. It made me nervous. :)
-- The hex text viewing (used by ViewHex & ViewTextOrHex) code was
-  *very* memory-inefficient (it always loaded the entire file, but
-  only looked at 16 bytes at a time). Now it reads 16 bytes at a
-  time, thus using constant buffer space (and running slower).
-- ViewTextOrHex now correctly reports the error if it fails to
-  open a file for reading. Er, ViewText & ViewHex don't (yet).
-- Designed and implemented a system for keeping track of each
-  command's individual configuration options. The options them-
-  selves have been around for quite a while, but they haven't been
-  configurable (without editing source, that is). Now they appear
-  on the "Command Options" page in the configuration window, and
-  are loaded and saved along with the rest of the config. Neat.
-    Please read "docs/scratch/command_options.txt" to learn what
-  different options do.
-
-* Tue Mar 30 1999 Ryan Weaver <ryanw@infohwy.com>
-  [gentoo-0.11.3-1]
-- Damn! That command sequence selection dialog just didn't work.
-  Typical, since I spent about 3 hrs banging on it before releasing
-  0.11.2. Perhaps I should have tested it. Reported by J. Minnberg.
-- Eh, seems I broke the main "gentoo.h" include file, too. Fixed.
-- Fixed a minor error (typo) in the cmdgrab module.
-
-- package is FHS 2.0 compliant,
-- spec file rewritten for PLD use,
-- based on spec written by Ryan Weaver <ryanw@infohwy.com>.
+%doc AUTHORS BUGS CREDITS ChangeLog NEWS README* TODO docs
+%config %{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_mandir}/man1/*
+%{_desktopdir}/gentoo.desktop
+%{_pixmapsdir}/*
This page took 0.327216 seconds and 4 git commands to generate.