diff --git a/dead.package b/dead.package deleted file mode 100644 index 2ae3183..0000000 --- a/dead.package +++ /dev/null @@ -1,2 +0,0 @@ -Package is dead upstream, in fact it was never really alive (version 0.0.1). -With the removal of HAL, it has to die die die! diff --git a/sources b/sources new file mode 100644 index 0000000..80340aa --- /dev/null +++ b/sources @@ -0,0 +1 @@ +ccb2727a1e78ecb4f375a2eecae39e1d xfce4-cddrive-plugin-0.0.1.tar.bz2 diff --git a/xfce4-cddrive-plugin.spec b/xfce4-cddrive-plugin.spec new file mode 100644 index 0000000..f35111c --- /dev/null +++ b/xfce4-cddrive-plugin.spec @@ -0,0 +1,54 @@ +# Review at https://bugzilla.redhat.com/show_bug.cgi?id=499279 + +Name: xfce4-cddrive-plugin +Version: 0.0.1 +Release: 1%{?dist} +Summary: Xfce panel plugin to open or close a CD-ROM drive tray + +Group: User Interface/Desktops +License: GPLv2+ +URL: http://goodies.xfce.org/projects/panel-plugins/%{name} +Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: xfce4-panel-devel >= 4.3.99.2, exo-devel >= 0.3.2 +BuildRequires: dbus-glib-devel >= 0.71 hal-devel >= 0.5.8.1 +BuildRequires: libcdio-devel >= 0.76, libcddb-devel >= 1.2.1 +BuildRequires: gettext, perl(XML::Parser) +Requires: xfce4-panel >= 4.4.0, hal + +%description +This plugin puts a button in the Xfce panel to open or close a CD-ROM drive +tray. Additionally, the button icon reports the content of the drive. The icon +indicates if there is a disc in the drive, if it is mounted, and the type of +the disc (regular CD-ROM, audio, DVD...). You can also mount or unmount the +disc via the plugin menu. + + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +%find_lang %{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO +%{_libexecdir}/xfce4/panel-plugins/%{name} +%{_datadir}/xfce4/panel-plugins/*.desktop + + +%changelog +* Fri Jul 11 2008 Christoph Wickert - 0.0.1-1 +- Initial Fedora package