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