SPECS: gaim-plugin-guifications.spec (NEW) - new, based on templat...

glen glen at pld-linux.org
Mon Jul 4 19:28:26 CEST 2005


Author: glen                         Date: Mon Jul  4 17:28:26 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, based on template.spec and spec found in sources

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

---- Diffs:

================================================================
Index: SPECS/gaim-plugin-guifications.spec
diff -u /dev/null SPECS/gaim-plugin-guifications.spec:1.1
--- /dev/null	Mon Jul  4 19:28:26 2005
+++ SPECS/gaim-plugin-guifications.spec	Mon Jul  4 19:28:21 2005
@@ -0,0 +1,73 @@
+# $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:	Guifications Plugin for Gaim
+Name:		gaim-plugin-guifications
+Version:	2.10
+Release:	0.1
+Epoch:		0
+License:	GPL
+Group:		Applications/Communications
+Source0:	http://dl.sourceforge.net/guifications/guifications-%{version}.tar.bz2
+# Source0-md5:	df22e7f44722ecd9cf12876c83032d60
+URL:		http://guifications.sf.net/Guifications/
+BuildRequires:	pkgconfig
+BuildRequires:	libtool
+BuildRequires:	gettext
+BuildRequires:	gaim-devel >= 1:%{gaim_major_ver}.%{gaim_minor_ver}
+BuildRequires:	gaim-devel < 1:%{gaim_next_major_ver}
+BuildRequires:	gtk+2-devel
+Requires:	gaim >= 1:%{gaim_major_ver}.%{gaim_build_minor_ver}
+Requires:	gaim < 1:%{gaim_next_major_ver}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Guifications is a Gaim plugin that adds notification windows styled
+after those found in MSN, deadaim, and newer versions of AIM, Yahoo
+instant messenger, and a lot of other applications.
+
+%prep
+%setup -q -n guifications-%{version}
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang guifications
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.{la,a}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f guifications.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog COPYING README doc/flow.png doc/flow.dia doc/QUOTES
+%{_libdir}/gaim/*.so
+%{_datadir}/pixmaps/gaim/guifications
+
+%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  2005/07/04 17:28:21  glen
+- new, based on template.spec and spec found in sources
+
================================================================



More information about the pld-cvs-commit mailing list