Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8a9a7cfced | ||
|
|
654d31b0c6 | ||
|
|
75aab26cac | ||
|
|
9d25e3a8c9 | ||
| 54f91941b7 |
5 changed files with 56 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
xfce4-cddrive-plugin-0.0.1.tar.bz2
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
ccb2727a1e78ecb4f375a2eecae39e1d xfce4-cddrive-plugin-0.0.1.tar.bz2
|
||||
54
xfce4-cddrive-plugin.spec
Normal file
54
xfce4-cddrive-plugin.spec
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue