kxstitch/kxstitch.spec

105 lines
3.7 KiB
RPMSpec
Raw Normal View History

Name: kxstitch
Version: 1.1.2
Release: 2mamba
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>
URL: http://sourceforge.net/apps/mediawiki/kxstitch/index.php?title=Main_Page
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
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
%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/*
%{_kde4_icondir}/hicolor/*/apps/kxstitch.png
%{_kde4_icondir}/locolor/*/apps/kxstitch.png
%{_kde4_xdgmimedir}/kxstitch.xml
%{_mandir}/man1/kxstitch.1.gz
%changelog
* 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
* Tue Jul 15 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
- update to 1.1.2
* 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