]> git.pld-linux.org Git - packages/gentoo.git/blobdiff - gentoo.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/gentoo.git] / gentoo.spec
index 571de0fe805e774c4701713540259b9831276cf4..4e8e37c0144badb8841dc90ed029071282956119 100644 (file)
@@ -1,22 +1,24 @@
 Summary:       gentoo is a Gtk+ file manager for Linux
 Summary(pl):   gentoo jest opartym na Gtk+ zarz±dc± plików pod Linuxa
 Name:          gentoo
-Version:       0.11.14
+Version:       0.11.24
 Release:       1
 License:       GPL
 Group:         X11/Applications
-Group(de):     X11/Applikationen
-Group(pl):     X11/Aplikacje
-Source0:       ftp://ftp.obsession.se/gentoo/%{name}-%{version}.tar.gz
+Source0:       http://prdownloads.sourceforge.net/gentoo/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
-Patch0:                %{name}-makefile.patch
+Source2:       %{name}.png
 URL:           http://www.obsession.se/gentoo/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: libtool
 Requires:      file
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _prefix         /usr/X11R6
 %define        _mandir         %{_prefix}/man
+%define                _sysconfdir     /etc/X11
 
 %description
 gentoo is a file manager for Linux written from scratch in pure C. It
@@ -43,36 +45,37 @@ troch
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__make} DEBUG="%{rpmcflags}" 
+rm -f missing
+aclocal
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_applnkdir}/Utilities,%{_pixmapsdir}}
 
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
-       $RPM_BUILD_ROOT{%{_datadir}/%{name}/icons,%{_applnkdir}/Utilities}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install %{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%{_applnkdir}/Utilities
+install docs/gentoo.1x $RPM_BUILD_ROOT%{_mandir}/man1
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-gzip -9nf BUGS FIXES-0.11 FIXES-0.9 README README.gtkrc CONFIG-CHANGES \
-       CREDITS docs/scratch/*
+gzip -9nf AUTHORS BUGS CREDITS ChangeLog NEWS README* TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {BUGS,FIXES-0.11,FIXES-0.9,README,README.gtkrc,CONFIG-CHANGES,CREDITS}.gz
-%doc docs/{*.{html,css},images,config,scratch} 
-%doc gentoogtkrc-example gentoorc-example
+%doc *.gz docs
+%config %{_sysconfdir}/*
 %attr(755,root,root) %{_bindir}/%{name}
 %{_datadir}/%{name}
 %{_mandir}/man1/*
-
 %{_applnkdir}/Utilities/gentoo.desktop
+%{_pixmapsdir}/*
This page took 0.207182 seconds and 4 git commands to generate.