xcdroast/xcdroast.spec

91 lines
2.9 KiB
RPMSpec
Raw Normal View History

Summary: An X Window System based tool for creating CDs
Name: xcdroast
Version: 0.98alpha16
Release: 1mamba
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Fabio Giani <fabio.giani@gmail.com>
URL: http://www.xcdroast.org/
Source: http://downloads.sourceforge.net/project/xcdroast/xcdroast/%{version}/xcdroast-%{version}.tar.gz
Patch1: xcdroast-0.98alpha15-64bit_gsize.patch
Patch2: xcdroast-0.98alpha15-conf.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
BuildRequires: libgdk-pixbuf-devel
BuildRoot: /var/tmp/%{name}-root
%description
X-CD-Roast provides a GUI interface for commands like cdrecord and mkisofs. X-CD-Roast includes a self-explanatory X11 user interface,
automatic SCSI and IDE hardware setup, support for mastering of new ISO9660 data CDs, support for production of new audio CDs, fast
copying of CDs without hard disk buffering, and a logfile option.
%prep
%setup -q
#%patch1 -p0 -b .64bit
#%patch2 -p1 -b .conf
%build
%configure --enable-gtk2
make PREFIX=%{_prefix} CC="gcc $RPM_OPT_FLAGS"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p $RPM_BUILD_ROOT/{etc/{X11/applnk/Multimedia,pam.d,security/console.apps},usr/sbin}
%makeinstall
# Create the system menu entry
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=CD Writer
GenericName=CD creation tool
Comment=CD creation tool
Exec=xcdroast
Icon=%{_libdir}/xcdroast-0.98/icons/xcdricon.png
Comment=Create a CD
Categories=Application;AudioVideo;
Type=Application
Terminal=false
EOF
%find_lang %name
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/*
%dir %{_libdir}/xcdroast-0.98
%{_libdir}/xcdroast-0.98/*
%{_mandir}/man?/xcdroast*
%{_datadir}/applications/%{name}.desktop
#%doc ChangeLog doc/DOCUMENTATION doc/FAQ doc/README* doc/TRANSLATION.HOWTO
%changelog
* Sun Aug 25 2013 Automatic Build System <autodist@mambasoft.it> 0.98alpha16-1mamba
- update to 0.98alpha16
* Sun Aug 25 2013 Automatic Build System <autodist@mambasoft.it> 0.9.8a16-1mamba
- update to 0.9.8a16
* Sun Aug 25 2013 Automatic Build System <autodist@mambasoft.it> 0.98a15-4mamba
- automatic rebuild by autodist
* Sun Jun 22 2008 Fabio Giani <fabio.giani@gmail.com> 0.98a15-3mamba
- update system menu, buildrequirements, Vendor, Distribution and Packager
* Tue Jun 21 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.98a15-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Thu Sep 23 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.98a15-1qilnx
- First Build