/[packages]/cauldron/gpaint-2/current/SPECS/gpaint-2.spec
ViewVC logotype

Contents of /cauldron/gpaint-2/current/SPECS/gpaint-2.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1355 - (show annotations) (download)
Sat Jan 8 23:19:24 2011 UTC (13 years, 2 months ago) by kharec
File size: 1705 byte(s)
imported package gpaint-2
1 Name: gpaint-2
2 Summary: Simple, easy-to-use paint program
3 Version: 0.3.3
4 Release: %mkrel 7
5 License: GPLv2+
6 Source0: http://www.gnu.org/software/gpaint/#downloading/%{name}-%{version}.tar.gz
7 URL: http://www.gnu.org/software/gpaint/
8 Group: Graphics
9 Patch0: gpaint-2-0.3.3-fix-drawing-fnt.patch
10 Patch1: gpaint-2-0.3.3-remove-entry-menu.h.patch
11 Patch2: gpaint-2-0.3.3-fix-crash-on-font-selection.patch
12 Patch3: gpaint-2-0.3.3-fix-crash-on-saving-in-unsupported-format.patch
13 Patch4: gpaint-2-0.3.3-fix-not-printable-string.patch
14 Patch5: gpaint-2-0.3.3-fix-color-selection.patch
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16 BuildRequires: libglade2.0-devel >= 2.6.4
17
18 %description
19 GNU Paint. A simple, easy-to-use paint program for GNOME. This is a port of
20 xpaint that takes advantages of features unique to the GNOME environment.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25 %patch1 -p0
26 %patch2 -p1
27 %patch3 -p1
28 %patch4 -p1
29 %patch5 -p1
30 %build
31 %configure2_5x
32 %make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %makeinstall
37 %find_lang %{name}
38
39 #mdk menu entry
40 mkdir -p %{buildroot}%{_datadir}/applications
41 cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
42 [Desktop Entry]
43 Encoding=UTF-8
44 Name=Gpaint
45 Comment=Paint program
46 Exec=%{_bindir}/%{name}
47 Icon=graphics_section
48 Terminal=false
49 Type=Application
50 Categories=Graphics;
51 MimeType=image/gif;image/jpeg;image/png;image/bmp;image/x-eps;image/x-ico;image/x-portable-bitmap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;
52 EOF
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files -f %{name}.lang
58 %defattr(-,root root)
59 %doc AUTHORS COPYING NEWS README THANKS
60 %{_bindir}/%{name}
61 %{_datadir}/gpaint/glade/gpaint.glade
62 %{_datadir}/applications/%{name}.desktop
63
64

  ViewVC Help
Powered by ViewVC 1.1.30