Summary: gcombust is a GTK+ frontend for mksisofs and cdrecord.
Name: gcombust
-Version: 0.1.25
+Version: 0.1.31
Release: 1
License: GPL
-Group: Applications/Archiving
-URL: http://www.iki.fi/jmunsin/gcombust
+Group: X11/Utilities/Archiving
+Group(pl): X11/Narzêdzia/Archiwizacja
Vendor: Jonas Munsin <jmunsin@iki.fi>
-Source: %{name}-%{version}.tar.gz
+Source0: http://www.abo.fi/~jmunsin/gcombust/%{name}-%{version}.tar.gz
+Source1: gcombust.desktop
Patch0: gcombust-opt.patch
Patch1: gcombust-home_etc.patch
-Requires: gtk+ >= 1.2.0, cdrecord, mkisofs, cdlabelgen >= 1.1.3
-BuildRoot: /tmp/%{name}-%{version}-root
+Icon: gcombust.xpm
+URL: http://www.iki.fi/jmunsin/gcombust/
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.0
+Requires: cdrecord
+Requires: mkisofs
+Requires: cdlabelgen >= 1.1.3
+BuildRoot: /tmp/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%define _mandir /usr/X11R6/man
%description
-gcombust is a gui for mkisofs and cdrecord Linux. It's written in C and it
-uses the GTK+ widget set (currently it's been tested and used only on Linux
-and X-Windows). gcombust is work in progress, the current (development)
-release is to be considered beta software. That means it hasn't been tested
-very well and that some parts of the code isn't written.
+gcombust is a gui for mkisofs and cdrecord Linux. It's written in C and it
+uses the GTK+ widget set (currently it's been tested and used only on Linux
+ and X-Windows). gcombust is work in progress, the current (development)
+release is to be considered beta software. That means it hasn't been tested
+ very well and that some parts of the code isn't written.
+
+%description -l pl
+Gcombust jest graficznym interfejsem dla linuksowych programów mkisofs i
+cdrecord. Zosta³ napisany w C i uzywa zbioru widgetów GTK+ (jak dot±d
+zosta³ jedynie przetestowany na Linuksie i X-Windows). Gcombust to praca w
+toku (WIP), za¶ bie¿±ca wersja (rozwojowa) ma status beta. Oznacza to, ¿e
+nie zosta³a dobrze przetestowana i brakuje niektórych fragmentów kodu.
%prep
%setup -q
%patch1 -p1
%build
+gettextize --copy --force
+LDFLAGS="-s"; export LDFLAGS
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/pixmaps}
+install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
-make install-strip DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
install %{name}.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps