]> git.pld-linux.org Git - packages/gcolor2.git/blob - gcolor2.spec
- updated gettext BR
[packages/gcolor2.git] / gcolor2.spec
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
4 Summary:        gcolor2 is a simple color selector
5 Name:           gcolor2
6 Version:        0.4
7 Release:        2
8 License:        GPL v2
9 Group:          X11/Applications/Graphics
10 Source0:        http://dl.sourceforge.net/project/gcolor2/gcolor2/0.4/%{name}-%{version}.tar.bz2
11 # Source0-md5:  223a126b8a87234d1552be4be4140789
12 Source1:        %{name}.desktop
13 Patch0:         %{name}-missing-includes.patch
14 URL:            http://gcolor2.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  cairo-devel
18 BuildRequires:  freetype-devel
19 BuildRequires:  gettext-tools
20 BuildRequires:  gtk+2-devel
21 BuildRequires:  intltool
22 BuildRequires:  libpng-devel
23 BuildRequires:  libtool
24 BuildRequires:  pango-devel
25 BuildRequires:  pkgconfig
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 gcolor2 is a simple color selector that was originally based on
30 gcolor, ported to use GTK+2, and now has a completely new UI.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 %{__intltoolize}
38 %{__libtoolize}
39 %{__aclocal}
40 %{__autoheader}
41 %{__autoconf}
42 %{__automake}
43 %configure
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 install -d $RPM_BUILD_ROOT%{_desktopdir}
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55
56 %clean
57 rm -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.079719 seconds and 3 git commands to generate.