-Summary: gcombust is a GTK+ frontend for mksisofs and cdrecord.
+Summary: gcombust is a GTK+ frontend for mksisofs and cdrecord
Name: gcombust
-Version: 0.1.29
+Version: 0.1.38
Release: 1
License: GPL
-Group: Applications/Archiving
-URL: http://www.iki.fi/jmunsin/gcombust
+Group: X11/Applications
+Group(de): X11/Applikationen
+Group(pl): X11/Aplikacje
Vendor: Jonas Munsin <jmunsin@iki.fi>
-Source: %{name}-%{version}.tar.gz
-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
+Source0: http://www.abo.fi/~jmunsin/gcombust/%{name}-%{version}.tar.gz
+Source1: %{name}.desktop
+Patch1: %{name}-home_etc.patch
+Icon: gcombust.xpm
+URL: http://www.iki.fi/jmunsin/gcombust/
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.0
+Requires: cdrecord
+Requires: mkisofs >= 1.13
+Requires: cdlabelgen >= 1.1.3
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
-%define _mandir /usr/X11R6/man
+%define _mandir %{_prefix}/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
-%patch0 -p0
%patch1 -p1
%build
+gettextize --copy --force
%configure
-make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/pixmaps}
+install -d $RPM_BUILD_ROOT{,%{_datadir}/pixmaps,%{_applnkdir}/Utilities/CD-RW}
-make install-strip DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
install %{name}.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities/CD-RW
gzip -9nf AUTHORS ChangeLog NEWS README* THANKS
%defattr(644,root,root,755)
%doc {AUTHORS,ChangeLog,NEWS,README*,THANKS}.gz
%attr(755,root,root) %{_bindir}/gcombust
+%{_applnkdir}/Utilities/CD-RW/gcombust.desktop
%{_datadir}/pixmaps/gcombust.xpm