Name: kxstitch Version: 2.2.0 Release: 3mamba Summary: A program that lets you create cross stitch patterns and charts Group: Graphical Desktop/Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Ercole 'ercolinux' Carpanetto URL: https://userbase.kde.org/KXStitch Source: http://download.kde.org/stable/kxstitch/%{version}/kxstitch-%{version}.tar.xz #Source: http://download.kde.org/stable/kxstitch/%{version}/src/kxstitch-%{version}.tar.xz #Source: https://downloads.sourceforge.net/project/kxstitch/kxstitch/%{version}/kxstitch-%{version}.tar.gz #Source1: it.po # the patch fix a bug in Cmakelist that prevent to find X11 libraries (Thanks to Stephen Allewell) #Patch: kxstitch-0.9.0-cmakelist.patch #Patch1: kxstitch-1.2.0-import.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libICE-devel BuildRequires: libMagick-devel BuildRequires: libQt5X11Extras-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libgcc BuildRequires: libkauth-devel BuildRequires: libkbookmarks-devel BuildRequires: libkcodecs-devel BuildRequires: libkcompletion-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libki18n-devel BuildRequires: libkio-devel BuildRequires: libkitemviews-devel BuildRequires: libkjobwidgets-devel BuildRequires: libkservice-devel BuildRequires: libktextwidgets-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwindowsystem-devel BuildRequires: libkxmlgui-devel BuildRequires: libsolid-devel BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: libMagick-devel >= 7.1.0.35-1mamba BuildRequires: cmake #%debug_package %description KXStitch is a program that lets you create cross stitch patterns and charts. Patterns can be created from scratch on a user defined size of grid, which can be enlarged or reduced in size as your pattern progresses. Alternatively you can import images from many graphics formats which will allow you to reduce the number of colours and to restrict the conversion to full stitches or optionally use fractional stitches. You may also use an image as a background. These imported images can then be modified using the supplied tools to produce your final design. %prep %setup -q -n %{name}-%{version} #%patch -p1 #%patch1 -p0 %build %cmake_kde5 -d build #\ # -DImageMagick_Magick++_INCLUDE_DIR=%{_includedir}/ImageMagick-6 \ # -DImageMagick_MagickCore_INCLUDE_DIR=%{_includedir}/ImageMagick-6 %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" #cp %{SOURCE1} po/ %makeinstall -C build %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/kxstitch %{_datadir}/applications/org.kde.kxstitch.desktop %{_datadir}/config.kcfg/kxstitch.kcfg %{_datadir}/doc/HTML/en/kxstitch/*.png %{_datadir}/doc/HTML/en/kxstitch/*.docbook %{_datadir}/doc/HTML/et/kxstitch/*.docbook %{_datadir}/doc/HTML/nl/kxstitch/*.docbook %{_datadir}/doc/HTML/pt/kxstitch/*.docbook %{_datadir}/doc/HTML/pt_BR/kxstitch/*.docbook %{_datadir}/doc/HTML/sv/kxstitch/*.docbook %{_datadir}/doc/HTML/et/kxstitch/index.cache.bz2 %{_datadir}/doc/HTML/nl/kxstitch/index.cache.bz2 %{_datadir}/doc/HTML/pt/kxstitch/index.cache.bz2 %{_datadir}/doc/HTML/pt_BR/kxstitch/index.cache.bz2 %{_datadir}/doc/HTML/en/kxstitch/index.cache.bz2 %{_datadir}/doc/HTML/uk/kxstitch/index.cache.bz2 %{_datadir}/doc/HTML/sv/kxstitch/index.cache.bz2 %{_datadir}/doc/HTML/uk/kxstitch/*.png %{_datadir}/doc/HTML/uk/kxstitch/*.docbook %{_datadir}/icons/hicolor/128x128/apps/kxstitch.png %{_datadir}/icons/hicolor/16x16/apps/kxstitch.png %{_datadir}/icons/hicolor/22x22/actions/*.png %{_datadir}/icons/hicolor/22x22/apps/kxstitch.png %{_datadir}/icons/hicolor/256x256/apps/kxstitch.png %{_datadir}/icons/hicolor/32x32/apps/kxstitch.png %{_datadir}/icons/hicolor/48x48/apps/kxstitch.png %{_datadir}/icons/hicolor/64x64/apps/kxstitch.png %{_datadir}/icons/hicolor/scalable/apps/kxstitch.svgz %{_datadir}/kxmlgui5/kxstitch/kxstitchui.rc %{_datadir}/kxstitch/schemes/*.xml %{_datadir}/kxstitch/symbols/*.sym %{_mandir}/ca/man1/kxstitch.1.gz %{_mandir}/et/man1/kxstitch.1.gz %{_mandir}/man1/kxstitch.1.gz %{_mandir}/nl/man1/kxstitch.1.gz %{_mandir}/pt/man1/kxstitch.1.gz %{_mandir}/pt_BR/man1/kxstitch.1.gz %{_mandir}/sv/man1/kxstitch.1.gz %{_mandir}/uk/man1/kxstitch.1.gz %{_datadir}/metainfo/org.kde.kxstitch.appdata.xml %changelog * Wed May 25 2022 Silvan Calarco 2.2.0-3mamba - rebuilt by autoport with build requirements: libMagick-devel>=7.1.0.35-1mamba * Wed Apr 01 2020 Ercole 'ercolinux' Carpanetto 2.2.0-2mamba - rebuild for kde5 * Mon Mar 30 2020 Ercole 'ercolinux' Carpanetto 2.2.0-1mamba - update to 2.2.0 * Fri Dec 18 2015 Ercole 'ercolinux' Carpanetto 1.3.0-1mamba - update to 1.3.0 * Fri Jun 12 2015 Ercole 'ercolinux' Carpanetto 1.2.0-2mamba - Added patch to fix segmentation fault on image import * Sat Mar 14 2015 Ercole 'ercolinux' Carpanetto 1.2.0-1mamba - updated to 1.2.0 - changed source and homepage of the project * Fri Jan 30 2015 Silvan Calarco 1.1.2-2mamba - rebuilt by autoport with build requirements: libMagick-devel>=6.9.0.4-1mamba * Tue Jul 15 2014 Silvan Calarco 1.1.2-1mamba - update to 1.1.2 * Fri Feb 28 2014 Silvan Calarco 0.9.2-2mamba - rebuilt with ImageMagick 6.8.8.6 * Mon Aug 26 2013 Silvan Calarco 0.9.2-1mamba - update to 0.9.2 * Mon Apr 30 2012 Ercole 'ercolinux' Carpanetto 0.9.1-1mamba - update to 0.9.1 * Wed Apr 25 2012 Ercole 'ercolinux' Carpanetto 0.9.0-2mamba - added italian translation - fixed version number error in changelog * Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto KDE4-1mamba - package created by autospec