%define prefix /usr %define majorversion 0.98 Name: xcdroast Version: %{majorversion}alpha15 Release: 1 Summary: A userfriendly GUI for copying and creating Audio- and Data-CDs Copyright: GPL Vendor: Thomas Niederreiter Group: Applications/Multimedia Source: http://www.xcdroast.org/download/xcdroast-%{version}.tar.gz Url: http://www.xcdroast.org BuildRoot: /tmp/%{name}-%{version}-root Requires: cdrecord >= 2.0, mkisofs >= 2.0 Requires: cdda2wav >= 2.0 BuildRequires: gtk2-devel >= 2.0.6 BuildRequires: pcre-devel >= 3.9 BuildRequires: desktop-file-utils >= 0.2.92 %description X-CD-Roast is a program-package dedicated to easy CD creation under most Unix-platforms. It combines command line tools like "cdrecord", "cdda2wav", and "mkisofs" into a nice graphical user interface. %prep %setup -n xcdroast-%{version} %build %configure CC="gcc $RPM_OPT_FLAGS" ./configure --prefix=%{prefix} \ --mandir=%{prefix}/share/man \ --sysconfdir /etc --enable-gtk2 make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Applications cp -f extra/xcdroast.desktop $RPM_BUILD_ROOT/etc/X11/applnk/Applications/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications desktop-file-install --vendor xcdroast \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Red-Hat-Base \ --add-category System \ --add-category Application \ extra/xcdroast.desktop strip -R .comment $RPM_BUILD_ROOT%{prefix}/bin/xcdroast %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc doc/* %{prefix}/bin/xcdroast %{prefix}/share/man/man1/xcdroast.1* %{prefix}/lib/xcdroast-%{majorversion}/* %{prefix}/share/locale/* %{_datadir}/applications/* /etc/X11/applnk/Applications/xcdroast.desktop %changelog * Fri Oct 31 2003 Thomas Chung - Added BuildRequires: pcre-devel >= 3.9 * Tue Oct 28 2003 Thomas Niederreiter - 0.98alpha15 release 1 * Mon Sep 29 2003 Luis Hernandez - 0.98alpha14 release 4 - Made some cosmetic to my original spec file to make it more similar to the spec file in 0.98alpha14 release 1. - As it is now, this spec file needs some minor fixes; in particular xcdroast.desktop is going to more than one place, and that is not required. * Mon Sep 29 2003 Luis Hernandez - 0.98alpha14 release 3 - Added all (four) available patches - Spec file updated accordingly. * Sat Jul 05 2003 Luis Hernandez - Updated and added some changes to spec a file (in fact, I used an spec file whose author is unknown to me), then built 0.98alpha14 from tarball.