Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
8a9a7cfced dist-git conversion 2010-07-29 15:43:11 +00:00
Bill Nottingham
654d31b0c6 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:30:58 +00:00
Christoph Wickert
75aab26cac add spec 2009-05-07 00:10:01 +00:00
Christoph Wickert
9d25e3a8c9 initial release for this branch 2009-05-07 00:08:21 +00:00
54f91941b7 Initialize branch F-11 for xfce4-cddrive-plugin 2009-05-06 21:17:16 +00:00
5 changed files with 56 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xfce4-cddrive-plugin-0.0.1.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xfce4-cddrive-plugin
# $Id$
NAME := xfce4-cddrive-plugin
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
ccb2727a1e78ecb4f375a2eecae39e1d xfce4-cddrive-plugin-0.0.1.tar.bz2

54
xfce4-cddrive-plugin.spec Normal file
View file

@ -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 <fedora christoph-wickert de> - 0.0.1-1
- Initial Fedora package