[521] | 1 | Name: inkscape |
---|
| 2 | Summary: A Vector Drawing Application |
---|
[3965] | 3 | Summary(ja): ベクター描画アプリケーション |
---|
[8721] | 4 | Version: 0.48.5 |
---|
[9508] | 5 | Release: 4%{?_dist_release} |
---|
[1987] | 6 | |
---|
[521] | 7 | Group: Applications/Graphics |
---|
[9259] | 8 | License: GPLv2+ |
---|
[521] | 9 | URL: http://www.inkscape.org/ |
---|
| 10 | |
---|
[9259] | 11 | Source0: http://downloads.sourceforge.net/inkscape/%{name}-%{version}.tar.bz2 |
---|
| 12 | Patch14: 0001-update-to-new-libwpg.patch |
---|
[941] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[521] | 15 | BuildRequires: gtk2-devel >= 2.8.0 |
---|
| 16 | BuildRequires: gnome-vfs2-devel >= 2.0.0 |
---|
| 17 | BuildRequires: libxml2-devel >= 2.6.11 |
---|
| 18 | BuildRequires: libxslt-devel >= 1.0.15 |
---|
| 19 | BuildRequires: gc-devel >= 6.4 |
---|
| 20 | BuildRequires: libsigc++-devel >= 2.0.12 |
---|
[9259] | 21 | BuildRequires: gtkmm2-devel >= 2.8.0 |
---|
[521] | 22 | BuildRequires: libpng-devel >= 1.2.0 |
---|
[8721] | 23 | BuildRequires: libwpg-devel |
---|
[521] | 24 | BuildRequires: perl-XML-Parser |
---|
[6890] | 25 | BuildRequires: lcms2-devel |
---|
[2041] | 26 | BuildRequires: poppler-devel >= 0.14.2 |
---|
[521] | 27 | BuildRequires: pango-devel, cairo-devel |
---|
| 28 | BuildRequires: gsl-devel |
---|
| 29 | BuildRequires: libboost-devel |
---|
[2041] | 30 | BuildRequires: popt-devel |
---|
| 31 | BuildRequires: ImageMagick-c++-devel |
---|
[9259] | 32 | BuildRequires: dos2unix |
---|
| 33 | BuildRequires: automake autoconf |
---|
[3965] | 34 | Requires: python-lxml |
---|
| 35 | Requires: perl-XML-RegExp |
---|
| 36 | Requires: perl-XML-DOM |
---|
| 37 | Requires: perl-XML-XQL |
---|
[9259] | 38 | # the package requires libperl.so, so it also has to require this: |
---|
| 39 | Requires: 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] | 46 | Vendor: Project Vine |
---|
| 47 | Distribution: Vine Linux |
---|
| 48 | |
---|
[521] | 49 | %description |
---|
| 50 | Inkscape is a SVG based generic vector-drawing program for |
---|
| 51 | Linux/Unix/Windows/Mac. |
---|
| 52 | |
---|
| 53 | %description -l ja |
---|
| 54 | Inkscape は SVG ベースの汎用ベクトル描画プログラムです。 |
---|
| 55 | Linux/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 |
---|
| 64 | find . -name '*.cpp' | xargs chmod -x |
---|
| 65 | find . -name '*.h' | xargs chmod -x |
---|
| 66 | find share/extensions -name '*.py' | xargs chmod -x |
---|
| 67 | |
---|
| 68 | # Fix end of line encodings |
---|
| 69 | dos2unix -k -q share/extensions/*.py |
---|
| 70 | |
---|
| 71 | autoreconf -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 | |
---|
| 81 | make %{?_smp_mflags} |
---|
| 82 | |
---|
| 83 | %install |
---|
| 84 | rm -rf %{buildroot} |
---|
[1987] | 85 | |
---|
[6890] | 86 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 87 | |
---|
[1987] | 88 | rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
| 89 | |
---|
[521] | 90 | %find_lang %{name} |
---|
| 91 | |
---|
| 92 | %clean |
---|
| 93 | rm -rf %{buildroot} |
---|
| 94 | |
---|
[1987] | 95 | %post |
---|
| 96 | /sbin/ldconfig |
---|
| 97 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 98 | |
---|
| 99 | %postun |
---|
| 100 | if [ $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 || : |
---|
| 104 | fi |
---|
| 105 | |
---|
| 106 | %posttrans |
---|
| 107 | update-desktop-database -q &> /dev/null |
---|
| 108 | gtk-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 |
---|