Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
gcdemu
> gcdemu.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File gcdemu.spec of Package gcdemu (Revision 2)
Currently displaying revision
2
,
show latest
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %global python_module_name gcdemu Summary: A GNOME panel applet to control CDEmu daemon Name: gcdemu Version: 1.1.0 Release: 1 License: GPLv2+ Group: User Interface/Desktops URL: http://cdemu.sourceforge.net Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: dbus-1-python-devel BuildRequires: gettext BuildRequires: gnome-desktop-devel gnome-utils-devel BuildRequires: gnome-python-desktop python-gnome-devel BuildRequires: perl(XML::Parser) BuildRequires: python-gtk-devel BuildRequires: python-devel Requires: dbus-1-python >= 0.80 Requires: gnome-desktop Requires: python-gtk Requires(pre): gconf2 Requires(post): gconf2 Requires(preun): gconf2 Requires(post): scrollkeeper Requires(postun): scrollkeeper %description This is gCDEmu, a GNOME applet for controlling CDEmu daemon. It is part of the userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator for linux. It provides a graphic interface that allows performing the key tasks related to controlling the CDEmu daemon, such as loading and unloading devices, displaying devices' status and retrieving/setting devices' debug masks. In addition, applet listens to the signals emitted by CDEmu daemon and provides the notification via libnotify's notifications (provided that python bindings are installed). %prep %setup -q %build %{configure} --disable-schemas-install --disable-scrollkeeper || cat config.log %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %{__make} install DESTDIR=$RPM_BUILD_ROOT unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %find_lang gcdemu --with-gnome %clean %{__rm} -rf $RPM_BUILD_ROOT %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||: fi %post scrollkeeper-update -q export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||: %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/gcdemu.schemas >/dev/null ||: fi %postun scrollkeeper-update -q %files -f gcdemu.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{_datadir}/pixmaps/* %{_datadir}/omf/* %{_libdir}/bonobo/servers/* %{_libexecdir}/* %dir %{python_sitelib}/%{python_module_name}/ %{python_sitelib}/%{python_module_name}/*.py* %{_sysconfdir}/gconf/schemas/* %changelog * Sat Jul 19 2008 Carsten Schoene <cs@linux-administrator.com> - 1.1.0-2 - import to buildservices - modifications for SuSE builds * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1 - Updated to 1.1.0 * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1 - Initial RPM release.