2024-01-06 03:32:23 +01:00
|
|
|
Name: kxstitch
|
2024-01-06 03:32:23 +01:00
|
|
|
Version: 1.2.0
|
|
|
|
Release: 1mamba
|
2024-01-06 03:32:23 +01:00
|
|
|
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 <ercole69@gmail.com>
|
2024-01-06 03:32:23 +01:00
|
|
|
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
|
2024-01-06 03:32:23 +01:00
|
|
|
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
|
|
|
|
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
|
2024-01-06 03:32:23 +01:00
|
|
|
BuildRequires: libMagick-devel >= 6.9.0.4-1mamba
|
2024-01-06 03:32:23 +01:00
|
|
|
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
|
2024-01-06 03:32:23 +01:00
|
|
|
%setup -q -n %{name}-%{version}
|
2024-01-06 03:32:23 +01:00
|
|
|
#%patch -p1
|
|
|
|
|
|
|
|
%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
|
|
|
|
%{_kde4_datadir}/kxstitch/toolbar/3quarter.png
|
|
|
|
%dir %{_kde4_datadir}/kxstitch/toolbar
|
|
|
|
%{_kde4_datadir}/kxstitch/toolbar/*.png
|
|
|
|
%{_kde4_kcfgdir}/kxstitch.kcfg
|
|
|
|
%doc %lang(en) %{_kde4_htmldir}/en/kxstitch/*
|
2024-01-06 03:32:23 +01:00
|
|
|
%{_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
|
2024-01-06 03:32:23 +01:00
|
|
|
%{_kde4_icondir}/hicolor/*/apps/kxstitch.png
|
|
|
|
%{_kde4_icondir}/locolor/*/apps/kxstitch.png
|
|
|
|
%{_kde4_xdgmimedir}/kxstitch.xml
|
|
|
|
%{_mandir}/man1/kxstitch.1.gz
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:32:23 +01:00
|
|
|
* Sat Mar 14 2015 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.2.0-1mamba
|
|
|
|
- updated to 1.2.0
|
|
|
|
- changed source and homepage of the project
|
|
|
|
|
2024-01-06 03:32:23 +01:00
|
|
|
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.0.4-1mamba
|
|
|
|
|
2024-01-06 03:32:23 +01:00
|
|
|
* Tue Jul 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
|
|
|
|
- update to 1.1.2
|
|
|
|
|
2024-01-06 03:32:23 +01:00
|
|
|
* Fri Feb 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-2mamba
|
|
|
|
- rebuilt with ImageMagick 6.8.8.6
|
|
|
|
|
|
|
|
* Mon Aug 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-1mamba
|
|
|
|
- update to 0.9.2
|
|
|
|
|
|
|
|
* Mon Apr 30 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.1-1mamba
|
|
|
|
- update to 0.9.1
|
|
|
|
|
|
|
|
* Wed Apr 25 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.9.0-2mamba
|
|
|
|
- added italian translation
|
|
|
|
- fixed version number error in changelog
|
|
|
|
|
|
|
|
* Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> KDE4-1mamba
|
|
|
|
- package created by autospec
|