]> git.pld-linux.org Git - packages/inkscape.git/blobdiff - inkscape.spec
boost rebuild
[packages/inkscape.git] / inkscape.spec
index dcb99d9e17611369146d1dd7003f9d910cc6550f..1d5fbe0d0e03d1aaa89e2cdb1d843b242915c431 100644 (file)
@@ -8,13 +8,13 @@
 Summary:       Scalable vector graphics editor
 Summary(pl.UTF-8):     Edytor skalowalnej grafiki wektorowej
 Name:          inkscape
-Version:       1.1
-Release:       1
+Version:       1.2.2
+Release:       2
 License:       GPL v2+, LGPL v2.1+
 Group:         X11/Applications/Graphics
 # download: follow https://inkscape.org/release/
 Source0:       https://media.inkscape.org/dl/resources/file/%{name}-%{version}.tar.xz
-# Source0-md5: 45e38e25fb93c7c91c51b84b9e4cf0ee
+# Source0-md5: 490c40bbb3ce3441ceee88e61775bbf4
 URL:           https://inkscape.org/
 %{!?with_imagick:BuildRequires:        GraphicsMagick-c++-devel}
 %{?with_imagick:BuildRequires: ImageMagick6-c++-devel < 7}
@@ -36,11 +36,12 @@ BuildRequires:      gettext-tools >= 0.17
 BuildRequires: glib2-devel >= 1:2.28
 BuildRequires: glibmm-devel >= 2.28
 BuildRequires: gsl-devel
+BuildRequires: gspell-devel >= 1.0
 BuildRequires: gtk+3-devel >= 3.22
 BuildRequires: gtkmm3-devel >= 3.22
-BuildRequires: gtkspell3-devel >= 3.0
 BuildRequires: harfbuzz-devel
 BuildRequires: lcms2-devel >= 2
+BuildRequires: lib2geom-devel >= 1.1
 BuildRequires: libcdr-devel >= 0.1
 BuildRequires: libexif-devel
 BuildRequires: libgomp-devel
@@ -106,19 +107,30 @@ Bash completion for inkscape arguments.
 Bashowe dopełnianie argumentów programu inkscape.
 
 %prep
-%setup -q -n %{name}-%{version}_2021-05-24_c4e8f9ed74
-
-%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
-      CMakeScripts/cmake_consistency_check.py \
-      buildtools/msys2checkdeps.py \
-      packaging/scripts/lp-mark-bugs-released \
-      share/extensions/*.py \
-      share/extensions/*/*.py \
-      share/*/i18n.py
-
-%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
-      share/attributes/genMapDataCSS.pl \
-      share/attributes/genMapDataSVG.pl
+%setup -q -n %{name}-%{version}_2022-12-01_b0a8486541
+
+# python3-only
+%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
+       CMakeScripts/cmake_consistency_check.py \
+       buildtools/check_license_headers.py \
+       share/extensions/*.py \
+       share/extensions/tests/add_pylint.py \
+       share/*/i18n.py
+
+# look python2/3 compatible
+%{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' \
+       buildtools/msys2checkdeps.py \
+       share/extensions/*.py \
+       share/extensions/inkex/tester/inx.py \
+       share/extensions/tests/test_*.py \
+
+# python2-only
+%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' \
+       packaging/scripts/lp-mark-bugs-released
+
+%{__sed} -i -e '1s,/usr/bin/env perl$,%{__perl},' \
+       share/attributes/genMapDataCSS.pl \
+       share/attributes/genMapDataSVG.pl
 
 %build
 mkdir -p build
@@ -147,7 +159,8 @@ rm -rf $RPM_BUILD_ROOT
 # unsupported variants
 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{kok@latin,mni@beng,sat@deva}
 
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/inkscape/extensions/{.pylintrc,LICENSE.txt,MANIFEST.in,README.md,STYLEGUIDE.md,doxygen-main.dox,setup.cfg,setup.py,tox.ini}
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/inkscape/extensions/{.darglint,.pre-commit-config.yaml,.pylintrc,CONTRIBUTING.md,LICENSE.txt,MANIFEST.in,README.md,TESTING.md,doxygen-main.dox,poetry.lock,pyproject.toml,tox.ini}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/inkscape/extensions/docs
 
 %find_lang %{name}
 
@@ -174,6 +187,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/inkscape/extensions/barcode
 %{_datadir}/inkscape/extensions/ink2canvas_lib
 %{_datadir}/inkscape/extensions/inkex
+%{_datadir}/inkscape/extensions/inkman
+%{_datadir}/inkscape/extensions/other
 %{_datadir}/inkscape/extensions/svg_fonts
 %{_datadir}/inkscape/extensions/tools
 %{_datadir}/inkscape/extensions/xaml2svg
@@ -188,6 +203,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/inkscape/extensions/*.xslt
 %{_datadir}/inkscape/extensions/fontfix.conf
 %{_datadir}/inkscape/extensions/inkscape.extension.rng
+%{_datadir}/inkscape/extensions/inkscape.extension.schema
 %{_datadir}/metainfo/org.inkscape.Inkscape.appdata.xml
 %{_iconsdir}/hicolor/*/apps/org.inkscape.Inkscape.png
 %{_iconsdir}/hicolor/scalable/apps/org.inkscape.Inkscape.svg
This page took 0.03558 seconds and 4 git commands to generate.