packages: gcolor2/gcolor2.spec (NEW) - initial

uzsolt uzsolt at pld-linux.org
Mon Mar 1 16:38:17 CET 2010


Author: uzsolt                       Date: Mon Mar  1 15:38:17 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/gcolor2:
   gcolor2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gcolor2/gcolor2.spec
diff -u /dev/null packages/gcolor2/gcolor2.spec:1.1
--- /dev/null	Mon Mar  1 16:38:17 2010
+++ packages/gcolor2/gcolor2.spec	Mon Mar  1 16:38:12 2010
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+# TODO:
+# - check x86_64 arch, and when needed, please apply this patch:
+#	http://repos.archlinux.org/wsvn/community/gcolor2/trunk/gcolor2-0.4-amd64.patch
+Summary:	gcolor2 is a simple color selector
+Name:		gcolor2
+Version:	0.4
+Release:	0.1
+License:	GPL v2
+Group:		X11/Applications/Graphics
+Source0:	http://dl.sourceforge.net/project/gcolor2/gcolor2/0.4/%{name}-%{version}.tar.bz2
+# Source0-md5:	223a126b8a87234d1552be4be4140789
+Source1:	%{name}.desktop
+URL:		http://gcolor2.sourceforge.net/
+BuildRequires:	cairo-devel
+BuildRequires:	freetype-devel
+BuildRequires:	gettext-devel
+BuildRequires:	libpng-devel
+BuildRequires:	pango-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+gcolor2 is a simple color selector that was originally based on
+gcolor, ported to use GTK+2, and now has a completely new UI.
+
+%prep
+%setup -q
+
+%build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog
+%attr(755,root,root) %{_bindir}/%{name}
+%{_pixmapsdir}/%{name}
+%{_desktopdir}/%{name}.desktop
+
+%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  2010/03/01 15:38:12  uzsolt
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list