]> git.pld-linux.org Git - packages/gcolor2.git/blame - gcolor2.spec
- updated gettext BR
[packages/gcolor2.git] / gcolor2.spec
CommitLineData
d9ec69a2
ZU
1# TODO:
2# - check x86_64 arch, and when needed, please apply this patch:
3# http://repos.archlinux.org/wsvn/community/gcolor2/trunk/gcolor2-0.4-amd64.patch
4Summary: gcolor2 is a simple color selector
5Name: gcolor2
6Version: 0.4
24035256 7Release: 2
d9ec69a2
ZU
8License: GPL v2
9Group: X11/Applications/Graphics
10Source0: http://dl.sourceforge.net/project/gcolor2/gcolor2/0.4/%{name}-%{version}.tar.bz2
11# Source0-md5: 223a126b8a87234d1552be4be4140789
12Source1: %{name}.desktop
24035256 13Patch0: %{name}-missing-includes.patch
d9ec69a2 14URL: http://gcolor2.sourceforge.net/
c97eb02e 15BuildRequires: autoconf
16BuildRequires: automake
d9ec69a2
ZU
17BuildRequires: cairo-devel
18BuildRequires: freetype-devel
70c5ae5c 19BuildRequires: gettext-tools
c97eb02e 20BuildRequires: gtk+2-devel
21BuildRequires: intltool
d9ec69a2 22BuildRequires: libpng-devel
c97eb02e 23BuildRequires: libtool
d9ec69a2 24BuildRequires: pango-devel
c97eb02e 25BuildRequires: pkgconfig
d9ec69a2
ZU
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29gcolor2 is a simple color selector that was originally based on
30gcolor, ported to use GTK+2, and now has a completely new UI.
31
32%prep
33%setup -q
24035256 34%patch0 -p1
d9ec69a2
ZU
35
36%build
37%{__intltoolize}
38%{__libtoolize}
39%{__aclocal}
40%{__autoheader}
41%{__autoconf}
42%{__automake}
43%configure
24035256 44
d9ec69a2
ZU
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53install -d $RPM_BUILD_ROOT%{_desktopdir}
54install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc AUTHORS ChangeLog
62%attr(755,root,root) %{_bindir}/%{name}
63%{_pixmapsdir}/%{name}
64%{_desktopdir}/%{name}.desktop
This page took 0.066636 seconds and 4 git commands to generate.