]> git.pld-linux.org Git - packages/gcolor2.git/commitdiff
- initial
authorZsolt Udvari <uzsolt@pld-linux.org>
Mon, 1 Mar 2010 15:38:12 +0000 (15:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcolor2.spec -> 1.1

gcolor2.spec [new file with mode: 0644]

diff --git a/gcolor2.spec b/gcolor2.spec
new file mode 100644 (file)
index 0000000..b6610c7
--- /dev/null
@@ -0,0 +1,55 @@
+# 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
This page took 0.080377 seconds and 4 git commands to generate.