Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37563596
en ru br
ALT Linux repositórios
S:0.20.7-alt3
5.0: 0.11.56-alt1
4.1: 0.11.56-alt1
4.0: 0.11.56-alt1

Group :: Ferramentas de Arquivo
RPM: gentoo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define name gentoo
%define version 0.11.56
%define release alt1

Summary: gentoo is a Gtk+ file manager for Linux.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Group: File tools
# Automatically added by buildreq on Thu Nov 10 2005
BuildRequires: glib-devel gtk+-devel

Packager: Sergey Ivanov <seriv at altlinux.ru>
URL: http://www.obsession.se/gentoo
Source: ftp://ftp.obsession.se/gentoo/%{name}-%{version}.tar.gz
Source1: gentoo_16.xpm.bz2
Source2: gentoo_32.xpm.bz2
Source3: gentoo_48.xpm.bz2
Requires: gtk+ >= 1.2.3

%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).

%prep
%setup -q

%build

%configure
%make_build

%install
install -d $RPM_BUILD_ROOT%{_bindir}
install -d $RPM_BUILD_ROOT%{_libdir}/gentoo/icons
install -d $RPM_BUILD_ROOT%{_mandir}/man1

install -s -m 755 src/gentoo $RPM_BUILD_ROOT%{_bindir}
install -m 644 icons/* $RPM_BUILD_ROOT%{_libdir}/gentoo/icons
install -m 644 docs/gentoo.1x* $RPM_BUILD_ROOT%{_mandir}/man1

mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat << EOF >  $RPM_BUILD_ROOT%{_menudir}/%{name}
?package(%{name}): \
needs="x11" \
section="Applications/File tools" \
title="Gentoo" \
longtitle="Gtk File Manager" \
command="%{_bindir}/gentoo" \
icon="%{name}.xpm"
EOF

mkdir -p $RPM_BUILD_ROOT%{_iconsdir} $RPM_BUILD_ROOT%{_miconsdir} $RPM_BUILD_ROOT%{_liconsdir}
bzcat %{SOURCE1} > $RPM_BUILD_ROOT/%{_miconsdir}/%{name}.xpm
bzcat %{SOURCE2} > $RPM_BUILD_ROOT/%{_iconsdir}/%{name}.xpm
bzcat %{SOURCE3} > $RPM_BUILD_ROOT/%{_liconsdir}/%{name}.xpm


%clean


%post
## menu
%{update_menus}

%postun
## menu
%{clean_menus}

%files
%defattr(-,root,root)
%doc docs BUGS COPYING INSTALL README*
%{_bindir}/gentoo
%{_libdir}/gentoo
%{_mandir}/man1/gentoo.1x*
%{_menudir}/*
%{_iconsdir}/*.xpm
%{_liconsdir}/*.xpm
%{_miconsdir}/*.xpm

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009