source: projects/specs/trunk/g/gimp-gap/gimp-gap-vl.spec @ 521

Revision 521, 2.4 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: The GIMP Animation Package.
2Summary(ja): GIMP ¥¢¥Ë¥á¡¼¥·¥ç¥ó¥Ñ¥Ã¥±¡¼¥¸
3Name: gimp-gap
4Version: 2.2.2
5%define gapmajorver %(echo %version | sed 's|\\..*||g')
6%define gapminorver %(echo %version | sed 's|^%{gapmajorver}\\.||g;s|\\..*||g')
7%define gapmicrover %(echo %version | sed 's|^%{gapmajorver}\\.%{gapminorver}\\.||g;s|\\..*||g')
8Release: 0vl1
9Group: Applications/Multimedia
10License: GPL
11URL: http://www.gimp.org
12Source: ftp://ftp.gimp.org/pub/gimp/plug-ins/v2.2/gap/gimp-gap-%{version}.tar.bz2
13Patch0: gimp-gap-2.0.0-buildroot.patch
14Patch1: gimp-gap-2.0.2-arrayindex.patch
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: gimp-devel >= 2.2.7-0vl2 automake sed
17Requires: gimp >= 2.2.0
18
19%description
20The GIMP-GAP (GIMP Animation Package) is a collection of Plug-Ins to
21extend GIMP 2.0 with capabilities to edit and create animations as
22sequences of single frames.
23
24%prep
25%setup -q
26%patch0 -p1 -b .buildroot
27%patch1 -p1 -b .arrayindex
28
29%build
30%define gapplugindir %(gimptool --gimpplugindir)/plug-ins
31%define scriptdatadir %(gimptool --gimpdatadir)/scripts
32%define gaplibexecdir %{_libexecdir}/gimp-gap-%{gapmajorver}.%{gapminorver}
33aclocal
34automake
35autoconf
36
37%configure --disable-libavformat
38make %{?_smp_mflags} gapplugindir=%{gapplugindir} \
39    scriptdatadir=%{scriptdatadir} gaplibexecdir=%{gaplibexecdir} || \
40    make gapplugindir=%{gapplugindir} gaplibexecdir=%{gaplibexecdir}
41
42%install
43rm -rf %{buildroot}
44%makeinstall gapplugindir=%{buildroot}%{gapplugindir} scriptdatadir=%{buildroot}%{scriptdatadir} gaplibexecdir=%{buildroot}%{gaplibexecdir}
45
46%clean
47rm -rf %{buildroot}
48
49%files
50%defattr(-, root, root)
51%doc AUTHORS ChangeLog COPYING NEWS README
52%{gapplugindir}/*
53%{gaplibexecdir}/*
54%{scriptdatadir}/*
55%{_libexecdir}/gap_*
56%{_datadir}/locale/*/*/*
57
58%changelog
59* Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.2-0vl1
60- new upstream release
61- rebuilt with new toolchain
62
63* Sun May 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-4vl1
64- rebuild for Vine Linux
65
66* Wed Mar 02 2005 Nils Philippsen <nphilipp@redhat.com>
67- rebuild with gcc 4.0
68
69* Fri Oct 22 2004 Nils Philippsen <nphilipp@redhat.com>
70- fix array out of bounds error (#136758)
71
72* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
73- rebuilt
74
75* Tue May 25 2004 Nils Philippsen <nphilipp@redhat.com>
76- version 2.0.2
77
78* Wed Apr 14 2004 Nils Philippsen <nphilipp@redhat.com>
79- version 2.0.0
80- initial build
81
Note: See TracBrowser for help on using the repository browser.