]> git.pld-linux.org Git - packages/gentoo.git/blob - gentoo.spec
- changed all BuildRoot definitons
[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.11
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 BuildRequires:  gtk+-devel >= 1.2.0
15 BuildRequires:  glib-devel >= 1.2.0
16 BuildRequires:  XFree86-devel
17 Requires:       file
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 make DEBUG="$RPM_OPT_FLAGS" 
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
57         $RPM_BUILD_ROOT{%{_datadir}/%{name}/icons,%{_applnkdir}/Utilities}
58
59 install -s %{name}       $RPM_BUILD_ROOT%{_bindir}
60 install gentoorc-example $RPM_BUILD_ROOT%{_datadir}/%{name}/gentoorc
61 install icons/*          $RPM_BUILD_ROOT%{_datadir}/%{name}/icons
62 install docs/%{name}.1x  $RPM_BUILD_ROOT%{_mandir}/man1
63 install %{SOURCE1}       $RPM_BUILD_ROOT%{_applnkdir}/Utilities
64
65 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
66         BUGS FIXES-0.11 FIXES-0.9 README README.gtkrc CONFIG-CHANGES \
67         CREDITS docs/scratch/*
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc {BUGS,FIXES-0.11,FIXES-0.9,README,README.gtkrc,CONFIG-CHANGES,CREDITS}.gz
75 %doc docs/{*.{html,css},images,config,scratch} 
76 %doc gentoogtkrc-example gentoorc-example
77
78 %attr(755,root,root) %{_bindir}/%{name}
79 %{_datadir}/%{name}
80 %{_mandir}/man1/*
81
82 %{_applnkdir}/Utilities/gentoo.desktop
This page took 0.06869 seconds and 4 git commands to generate.