Name: kxstitch Version: 1.3.0 Release: 1mamba 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}/src/kxstitch-%{version}.tar.bz2 #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: kdelibs-devel BuildRequires: libgcc BuildRequires: libICE-devel BuildRequires: libMagick-devel BuildRequires: libqt4-devel BuildRequires: libSM-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXpm-devel ## AUTOBUILDREQ-END BuildRequires: libMagick-devel >= 6.9.0.4-1mamba BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-root %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_kde4 -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) %{_kde4_bindir}/kxstitch %{_kde4_xdgappsdir}/kxstitch.desktop %dir %{_kde4_datadir}/kxstitch %{_kde4_datadir}/kxstitch/kxstitchui.rc %dir %{_kde4_datadir}/kxstitch/schemes %{_kde4_datadir}/kxstitch/schemes/*.xml %dir %{_kde4_datadir}/kxstitch/symbols %{_kde4_datadir}/kxstitch/symbols/kxstitch.sym %dir %{_kde4_datadir}/kxstitch/toolbar %{_kde4_datadir}/kxstitch/toolbar/*.png %{_kde4_kcfgdir}/kxstitch.kcfg %doc %lang(en) %{_kde4_htmldir}/en/kxstitch/* %{_kde4_datadir}/kxstitch/symbols/letters.sym %{_kde4_htmldir}/et/kxstitch/*.docbook %{_kde4_htmldir}/et/kxstitch/common %{_kde4_htmldir}/et/kxstitch/index.cache.bz2 %{_kde4_htmldir}/pt/kxstitch/common %{_kde4_htmldir}/pt/kxstitch/index.cache.bz2 %{_kde4_htmldir}/pt/kxstitch/*.docbook %{_kde4_htmldir}/sv/kxstitch/*.docbook %{_kde4_htmldir}/sv/kxstitch/common %{_kde4_htmldir}/sv/kxstitch/index.cache.bz2 %{_kde4_htmldir}/uk/kxstitch/*.png %{_kde4_htmldir}/uk/kxstitch/*.docbook %{_kde4_htmldir}/uk/kxstitch/common %{_kde4_htmldir}/uk/kxstitch/index.cache.bz2 %{_kde4_htmldir}/nl/kxstitch/*.docbook %{_kde4_htmldir}/nl/kxstitch/common %{_kde4_htmldir}/nl/kxstitch/index.cache.bz2 %{_kde4_htmldir}/pt_BR/kxstitch/*.docbook %{_kde4_htmldir}/pt_BR/kxstitch/common %{_kde4_htmldir}/pt_BR/kxstitch/index.cache.bz2 %{_kde4_icondir}/hicolor/*/apps/kxstitch.png %{_kde4_icondir}/locolor/*/apps/kxstitch.png %{_kde4_xdgmimedir}/kxstitch.xml %{_mandir}/man1/kxstitch.1.gz %changelog * 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