source: projects/specs/trunk/i/inkscape/inkscape-vl.spec @ 9508

Revision 9508, 7.8 KB checked in by Takemikaduchi, 9 years ago (diff)

rebuild

RevLine 
[521]1Name:           inkscape
2Summary:        A Vector Drawing Application
[3965]3Summary(ja):    ベクター描画アプリケーション
[8721]4Version:        0.48.5
[9508]5Release:        4%{?_dist_release}
[1987]6
[521]7Group:          Applications/Graphics
[9259]8License:        GPLv2+
[521]9URL:            http://www.inkscape.org/
10
[9259]11Source0:        http://downloads.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2
12Patch14:        0001-update-to-new-libwpg.patch
[941]13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[521]15BuildRequires: gtk2-devel >= 2.8.0
16BuildRequires: gnome-vfs2-devel >= 2.0.0
17BuildRequires: libxml2-devel >= 2.6.11
18BuildRequires: libxslt-devel >= 1.0.15
19BuildRequires: gc-devel >= 6.4
20BuildRequires: libsigc++-devel >= 2.0.12
[9259]21BuildRequires: gtkmm2-devel >= 2.8.0
[521]22BuildRequires: libpng-devel >= 1.2.0
[8721]23BuildRequires: libwpg-devel
[521]24BuildRequires: perl-XML-Parser
[6890]25BuildRequires: lcms2-devel
[2041]26BuildRequires: poppler-devel >= 0.14.2
[521]27BuildRequires: pango-devel, cairo-devel
28BuildRequires: gsl-devel
29BuildRequires: libboost-devel
[2041]30BuildRequires: popt-devel
31BuildRequires: ImageMagick-c++-devel
[9259]32BuildRequires: dos2unix
33BuildRequires: automake autoconf
[3965]34Requires:      python-lxml
35Requires:      perl-XML-RegExp
36Requires:      perl-XML-DOM
37Requires:      perl-XML-XQL
[9259]38# the package requires libperl.so, so it also has to require this:
39Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
[521]40
[9259]41# Filter out perl requires and provides
42# XXX: For now _all_
43%global __perl_provides %{nil}
44%global __perl_requires %{nil}
45
[7756]46Vendor: Project Vine
47Distribution: Vine Linux
48
[521]49%description
50Inkscape is a SVG based generic vector-drawing program for
51Linux/Unix/Windows/Mac.
52
53%description -l ja
54Inkscape は SVG ベースの汎用ベクトル描画プログラムです。
55Linux/Unix/Windows/Mac で動作します。
56
57%prep
58%setup -q -n %{name}-%{version}
[9259]59%patch14 -p1 -b .libwpg
[521]60
[9259]61# https://bugs.launchpad.net/inkscape/+bug/314381
62# A couple of files have executable bits set,
63# despite not being executable
64find . -name '*.cpp' | xargs chmod -x
65find . -name '*.h' | xargs chmod -x
66find share/extensions -name '*.py' | xargs chmod -x
67
68# Fix end of line encodings
69dos2unix -k -q share/extensions/*.py
70
71autoreconf -i
72
[521]73%build
74%configure \
[941]75    --with-python \
76    --with-gnome-vfs \
77    --with-inkjar \
[9259]78    --enable-lcms2 \
[941]79    --enable-poppler-cairo
[521]80
81make %{?_smp_mflags}
82
83%install
84rm -rf %{buildroot}
[1987]85
[6890]86make install DESTDIR=$RPM_BUILD_ROOT
[521]87
[1987]88rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
89
[521]90%find_lang %{name}
91
92%clean
93rm -rf %{buildroot}
94
[1987]95%post
96/sbin/ldconfig
97touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
98
99%postun
100if [ $1 -eq 0 ] ; then
101    update-desktop-database -q &> /dev/null
102    touch --no-create %{_iconsdir}/icons/hicolor &> /dev/null
103    gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
104fi
105
106%posttrans
107update-desktop-database -q &> /dev/null
108gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
109
110
[521]111%files -f %{name}.lang
112%defattr(-, root, root)
113%doc AUTHORS COPYING ChangeLog NEWS README
114%{_bindir}/inkscape
115%{_bindir}/inkview
116%{_datadir}/applications/*.desktop
[1987]117%{_datadir}/icons/hicolor/*
[521]118%{_datadir}/inkscape
119%{_mandir}/man1/*
[6011]120%{_mandir}/*/man1/*
[521]121
122%changelog
[9508]123* Tue Apr 14 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-4
124- rebuild with ImageMagick-6.9.1.1
125
[9259]126* Tue Jan 13 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.48.5-3
127- rebuilt with libwpd 0.3.0
128- added Patch14 to build with libwpd 0.3.0
129
[8771]130* Tue Jul 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-2
131- rebuild with poppler-0.26.2
132
[8721]133* Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.5-1
134- new upstream release
135- add BuildRequires: libwpg-devel
136- remove Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
137
[8406]138* Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-5
139- rebuild with poppler-0.24.5
140- add Patch0 (inkscape-0.48.4-freetype-2.5.x.patch)
141
[8011]142* Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-4
143- rebuild with ImageMagick-6.8.7.5
144
[7938]145* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-3
146- rebuild with poppler-0.24.2
147
[7766]148* Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-2
149- rebuild with ImageMagick-6.8.6.8
150
[7756]151* Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.4-1
152- new upstream release
153- remove Patch0 (inkscape-0.48.2-poppler_020.patch)
154
[6890]155* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-2
156- rebuild with poppler-0.20.4
157- add Patch0 (inkscape-0.48.2-poppler_020.patch) from fedora
158- change BuildRequires: lcms2-devel instead of lcms-devel
159
[6011]160* Thu Apr 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.3.1-1
161- new upstream release
162
[5879]163* Sat Mar 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.2-2
164- rebuild with ImageMagick-6.7.5.10
165
[5568]166* Sat Feb  4 2012 TANAKA hiroaki <mosaicist@par.odn.ne.jp> 0.48.2-1
167- new upstream release
168
[3965]169* Sat May 28 2011 TANAKA hiroaki <mosaicist@par.odn.ne.jp>
170- add Requires: python-lxml,perl-XML-RegExp,perl-XML-DOM
171
[2998]172* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48.1-1
173- new upstream release
174- built with poppler-0.16.3
175
[2041]176* Wed Oct 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48.0-2
177- rebuild with poppler-0.14.2
178- add BuildRequires: popt-devel, ImageMagick-c++-devel
179
[1987]180* Sun Oct  3 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.48-1
181- new upstream release
182- rebuilt with ImageMagick-6.6.4.8
183
[941]184* Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.47-3
185- added Patch0 for building with poppler-0.12.2+
186- rebuilt with new toolchain and ImageMagick-6.6.1.5
187- removed BR: libgnomeprint-devel, libgnomeprintui-devel
188
[521]189* Fri Nov 27 2009 Shu KONNO <owa@bg.wakwak.com> 0.47-2
190- rebuild with poppler-0.12.1
191
192* Mon Nov 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-1
193- new upstream release
194- add BR: libboost-devel
195
196* Thu Sep 03 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.47-0.1.pre2
197- update to 0.47pre2
198- drop obsolete patches
199- add BR: gsl-devel
200
201* Sat Dec 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.46-4
202- rebuild with poppler-0.10.2
203
204* Sun Oct 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.46-3
205- add Patch[1-6]
206
207* Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.46-2vl5
208- added inkscape-0.46-poppler-0.8.3.patch
209- spec in utf-8
210- added option %%{?_smp_mflags} at make
211
212* Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46-1vl5
213- new upstream release
214
215* Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.45.1-0vl2
216- rebuild with new environment/toolchain
217
218* Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45.1-0vl1
219- new upstream release
220
221* Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.45-0vl2
222- add BuildRequires: lcms-devel >= 1.13, libxslt-devel >= 1.0.15
223- update required version of gtk2-devel
224
225* Sat Feb 10 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.45-0vl1
226- new upstream release
227
228* Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-0vl1
229- new upstream release
230
231* Wed Nov 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.43-0vl1
232- new upstream release
233
234* Tue Aug 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.2-0vl1
235- new upstream release
236
237* Mon Aug 22 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42.1-0vl1
238- new upstream release
239
240* Thu Aug 18 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1
241- new upstream release
242
243* Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.40-0vl1
244- new upstream release
245- add Japanese summary and description
246- fixed dependancy of libsigc++12 to libsigc++ >= 2.0
247
248* Tue Nov 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl2
249- fixed dependancy of libsigc++ to libsigc++12
250- fixed %files section
251
252* Wed Aug 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.39-1vl1
253- rebuild for Vine Linux
254- s/Copyright/License/
255- added Requires and BuildRequires
256
257* Sat Jul 17 2004 Bryce W. Harrington <bryce@bryceharrington.com>
258- Removing _libdir and TODO, updating description
259
260* Thu May 01 2003 Christian Schaller <uraeus@gnome.org>
261- Fix up the spec file for current release
262
263* Mon Sep 23 2002 Dag Wieers <dag@wieers.com>
264- Update to 0.2.6
265
266* Thu Sep 12 2002 Dag Wieers <dag@wieers.com>
267- Update to 0.2.5
268- Changed SPEC to benefit from macros
Note: See TracBrowser for help on using the repository browser.