]> git.pld-linux.org Git - packages/gcombust.git/blobdiff - gcombust.spec
- release 2: added Icon to desktop file.
[packages/gcombust.git] / gcombust.spec
index 155c4361ae592ed1579a1b9e48a3bee9b46ca7e2..1a3c4a5b7e95427021868d812fc6ed6ba7a4a94e 100644 (file)
@@ -1,37 +1,69 @@
-Summary:       gcombust is a GTK+ frontend for mksisofs and cdrecord.
+Summary:       gcombust is a GTK+ frontend for mksisofs and cdrecord
+Summary(pl):   gcombust jest nak³±dk± na mksisofs and cdrecord nzpisan± z u¿yciem Gtk+
 Name:          gcombust
-Version:       0.1.25
-Release:       1
-Copyright:     GPL
-Group:         Applications/Archiving
-URL:           http://www.iki.fi/jmunsin/gcombust
+Version:       0.1.45
+Release:       2
+License:       GPL
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(pl):     X11/Aplikacje
 Vendor:                Jonas Munsin <jmunsin@iki.fi>
-Source:                %{name}-%{version}.tar.gz
-Requires:      gtk+ >= 1.2.0, cdrecord, mkisofs, cdlabelgen >= 1.1.3
-BuildRoot:     /tmp/%{name}-%{version}
+Source0:       http://www.abo.fi/~jmunsin/gcombust/%{name}-%{version}.tar.gz
+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:      mkisofs >= 1.13
+Requires:      cdlabelgen >= 1.1.3
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%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
-%configure
+%patch1 -p1
+
+install %{SOURCE1} .
 
 %build
-make
+gettextize --copy --force
+aclocal
+autoconf
+automake -a -c
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/pixmaps}
 
-make install-strip DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Applicationsdir=%{_applnkdir}/Utilities/CD-RW
 
-install %{name}.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
+%{__install} %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 gzip -9nf AUTHORS ChangeLog NEWS README* THANKS
 
@@ -42,6 +74,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f gcombust.lang
 %defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,NEWS,README*,THANKS}.gz
+%doc *.gz
 %attr(755,root,root) %{_bindir}/gcombust
-%{_datadir}/pixmaps/gcombust.xpm
+%{_applnkdir}/Utilities/CD-RW/gcombust.desktop
+%{_pixmapsdir}/gcombust.png
This page took 0.099709 seconds and 4 git commands to generate.