-Summary: gcombust is a GTK+ frontend for mksisofs and cdrecord.
+Summary: gcombust is a GTK+ frontend for mkisofs and cdrecord
+Summary(pl): gcombust jest nak³adk± na mkisofs i cdrecord napisan± z u¿yciem Gtk+
+Summary(ru): gcombust - ÜÔÏ GTK+ ÉÎÔÅÒÆÅÊÓ Ë mkisofs É cdrecord
+Summary(uk): gcombust - ÃÅ GTK+ ¦ÎÔÅÒÆÅÊÓ ÄÏ mkisofs ¦ cdrecord
Name: gcombust
-Version: 0.1.29
+Version: 0.1.52
Release: 1
License: GPL
-Group: Applications/Archiving
-URL: http://www.iki.fi/jmunsin/gcombust
+Group: X11/Applications
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
-
-%define _prefix /usr/X11R6
-%define _mandir /usr/X11R6/man
+Source0: http://www.abo.fi/~jmunsin/gcombust/%{name}-%{version}.tar.gz
+# Source0-md5: 2c2455f8fe91cddd7b87bf59916a39e8
+Source1: %{name}.desktop
+Source2: %{name}.png
+Patch1: %{name}-home_etc.patch
+Icon: gcombust.xpm
+URL: http://www.iki.fi/jmunsin/gcombust/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.0
+Requires: cdrecord
+Requires: cdrtools-mkisofs >= 1.10
+Requires: cdlabelgen >= 1.1.3
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%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 Window). 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 Window). 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.
+
+%description -l ru
+gcombust - ÜÔÏ GUI ÄÌÑ mkisofs É cdrecord. ïÎ ÎÁÐÉÓÁÎ ÎÁ C É
+ÉÓÐÏÌØÚÕÅÔ ÎÁÂÏÒ ×ÉÄÖÅÔÏ× GTK+.
+
+%description -l uk
+gcombust - ÃÅ GUI ÄÌÑ mkisofs ÔÁ cdrecord. ÷¦Î ÎÁÐÉÓÁÎÉÊ ÎÁ C ÔÁ
+×ÉËÏÒÉÓÔÏ×Õ¤ ÎÁÂ¦Ò ×¦ÄÖÅÔ¦× GTK+.
%prep
%setup -q
-%patch0 -p0
%patch1 -p1
+install %{SOURCE1} .
+
%build
+rm -f missing
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure
-make
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/pixmaps}
-
-make install-strip DESTDIR=$RPM_BUILD_ROOT
-install %{name}.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ Applicationsdir=%{_applnkdir}/Utilities/CD-RW
-gzip -9nf AUTHORS ChangeLog NEWS README* THANKS
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
%find_lang gcombust
%files -f gcombust.lang
%defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,NEWS,README*,THANKS}.gz
+%doc AUTHORS ChangeLog NEWS README* THANKS
%attr(755,root,root) %{_bindir}/gcombust
-%{_datadir}/pixmaps/gcombust.xpm
+%{_applnkdir}/Utilities/CD-RW/gcombust.desktop
+%{_pixmapsdir}/gcombust.png