SPECS: gaim-plugin-xmms-remote.spec (NEW) - new

glen glen at pld-linux.org
Wed Mar 1 22:45:50 CET 2006


Author: glen                         Date: Wed Mar  1 21:45:50 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   gaim-plugin-xmms-remote.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/gaim-plugin-xmms-remote.spec
diff -u /dev/null SPECS/gaim-plugin-xmms-remote.spec:1.1
--- /dev/null	Wed Mar  1 22:45:50 2006
+++ SPECS/gaim-plugin-xmms-remote.spec	Wed Mar  1 22:45:44 2006
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+#
+# gaim_major_ver and gaim_minor_ver should be defined to match the minimum
+# Gaim API version _required_ to build Guifications
+# Due to the way Gaim checks plugin versions, we need to also ensure that
+# the correct minimum version of Gaim is Require:'d based on what version of
+# the Gaim headers we actually build with.
+#
+%define gaim_major_ver 1
+%define gaim_minor_ver 0
+%define gaim_next_major_ver %(echo $((%{gaim_major_ver}+1)))
+%define gaim_build_minor_ver %(pkg-config --modversion gaim 2>/dev/null | awk -F. '{ print $2 }')
+#
+Summary:    XMMS Remote Plugin for Gaim
+Name:		gaim-plugin-xmms-remote
+Version:	1.8
+Release:	0.3
+License:	GPL
+Group:		Applications/Communications
+Source0:	http://dl.sourceforge.net/guifications/gaim-xmms-remote-%{version}.tar.bz2
+# Source0-md5:	42b9c98985ef863ce867e54f7dbdcb52
+URL:		http://guifications.sourceforge.net/Gaim-XMMS-Remote/index.php
+BuildRequires:	gaim-devel < 1:%{gaim_next_major_ver}
+BuildRequires:	gaim-devel >= 1:%{gaim_major_ver}.%{gaim_minor_ver}
+BuildRequires:	pkgconfig
+BuildRequires:	xmms-devel
+BuildConflicts:	gaim-devel < 1:%{gaim_major_ver}.%{gaim_minor_ver}
+BuildConflicts:	gaim-devel > 1:%{gaim_next_major_ver}
+Requires:	gaim < 1:%{gaim_next_major_ver}
+Requires:	gaim >= 1:%{gaim_major_ver}.%{gaim_build_minor_ver}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Gaim XMMS Remote is a remote control plugin for Gaim to control XMMS.
+
+%prep
+%setup -q -n gaim-xmms-remote-%{version}
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/gxr.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%{_libdir}/gaim/gxr.so
+%dir %{_pixmapsdir}/gaim/gxr
+%{_pixmapsdir}/gaim/gxr/next.png
+%{_pixmapsdir}/gaim/gxr/pause.png
+%{_pixmapsdir}/gaim/gxr/play.png
+%{_pixmapsdir}/gaim/gxr/previous.png
+%{_pixmapsdir}/gaim/gxr/stop.png
+%{_pixmapsdir}/gaim/gxr/xmms.png
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/03/01 21:45:44  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list