]> git.pld-linux.org Git - packages/gentoo.git/blob - gentoo.spec
- added %{_mandir} macro dredefinition to %{_prefix}/man (FHS).
[packages/gentoo.git] / gentoo.spec
1 Summary:        gentoo is a Gtk+ file manager for Linux.
2 Summary(pl):    gentoo jest opartym na Gtk+ zarz±dc± plików pod Linuxa.
3 Name:           gentoo
4 Version:        0.11.8
5 Release:        1
6 Copyright:      GPL
7 Group:          X11/Utilities
8 Group(pl):      X11/Narzêdzia
9 URL:            http://www.obsession.se/gentoo
10 Source0:        ftp://ftp.obsession.se/gentoo/%{name}-%{version}.tar.gz
11 Source1:        gentoo.desktop
12 Patch0:         gentoo-makefile.patch
13 Patch1:         gentoo-config.patch
14 BuildPrereq:    gtk+-devel >= 1.2.0
15 BuildPrereq:    glib-devel >= 1.2.0
16 BuildPrereq:    XFree86-devel
17 Requires:       file
18 BuildRoot:      /tmp/%{name}-%{version}-root
19
20 %define _prefix /usr/X11R6
21 %define _mandir %{_prefix}/man
22
23 %description
24 gentoo is a file manager for Linux written from scratch in pure C. It
25 uses the GTK+ toolkit for all of its interface needs. gentoo provides
26 100%% GUI configurability; no need to edit config files by hand and re-
27 start the program. gentoo supports identifying the type of various
28 files (using extension, regular expressions, and/or the 'file' command),
29 and can display files of different types with different colors and icons.
30         gentoo borrows some of its look and feel from the classic Amiga
31 file manager "Directory OPUS"(TM) (written by Jonathan Potter).
32
33 %description -l pl
34 gentoo jest zarz±dc± plików dla Linuxa napisanym 'od zera' w czystym C.
35 U¿ywa zestawu narzêdzi GTK+ do zaspokojenia wszystkich potrzeb zwi±zanych
36 z interfejsem. gentoo zapewnia 100%-ow± konfigurowalno¶æ graficznego 
37 interfejsu; nie ma potrzeby rêcznego edytowania plików konfiguracyjnch
38 i ponownego uruchamiania programu. gentoo dostarcza identyfikacjê typów
39 ró¿nych plików (u¿ywaj±c rozszerzenia, wyra¿eñ regularnych i/lub polecenia
40 'file') oraz potrafi wy¶wietlaæ pliki ró¿nego typu w ró¿nych kolorach
41 i z ró¿nymi ikonami. gentoo zapo¿ycza trochê ze swojego wygl±du od 
42 klasycznego zarz±dcy plików Amigi -- "Directory OPUS"(TM) (napisanego
43 przez Jonathana Pottera).
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %patch1 -p0
49
50 %build
51
52 CFLAGS="$RPM_OPT_FLAGS" \
53 make
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
59         $RPM_BUILD_ROOT{%{_datadir}/%{name}/icons,/etc/X11/applnk/Utilities}
60
61 install -s %{name}      $RPM_BUILD_ROOT%{_bindir}
62 install gentoorc-example $RPM_BUILD_ROOT%{_datadir}/%{name}/gentoorc
63 install icons/*         $RPM_BUILD_ROOT%{_datadir}/%{name}/icons
64 install docs/%{name}.1x $RPM_BUILD_ROOT%{_mandir}/man1
65 install %{SOURCE1}      $RPM_BUILD_ROOT/etc/X11/applnk/Utilities/%{name}.desktop
66
67 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
68         BUGS FIXES-0.11 FIXES-0.9 README README.gtkrc COMPATIBILITY \
69         CREDITS docs/scratch/*
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc {BUGS,FIXES-0.11,FIXES-0.9,README,README.gtkrc,COMPATIBILITY,CREDITS}.gz
77 %doc docs/{*.{html,css},images,config,scratch} 
78 %doc gentoogtkrc-example gentoorc-example
79
80 %attr(755,root,root) %{_bindir}/%{name}
81 %{_datadir}/%{name}
82 %{_mandir}/man1/*
83
84 /etc/X11/applnk/Utilities/%{name}.desktop
85
86 %changelog
87 Revision 1.10  1999/07/12 23:05:57  kloczek
88 - added using CVS keywords in %changelog (for automating them).
89
90 * Mon Jun 28 1999 Piotr Czerwiñski <pius@pld.org.pl> 
91   [0.11.8-1]
92 - updated to 0.11.8,
93 - added gentoo.desktop instead of wmconfig file,
94 - minor fixes.
95
96 * Thu May 20 1999 Piotr Czerwiñski <pius@pld.org.pl> 
97 - based on spec written by Ryan Weaver <ryanw@infohwy.com>.
98
99 - package is FHS 2.0 compliant,
100 - spec file rewritten for PLD use,
101 - based on spec written by Ryan Weaver <ryanw@infohwy.com>.
This page took 0.090816 seconds and 4 git commands to generate.