118 lines
3.7 KiB
RPMSpec
118 lines
3.7 KiB
RPMSpec
Name: tuxpaint
|
|
Version: 0.9.22
|
|
Release: 1mamba
|
|
Summary: Free drawing program designed for young children
|
|
Group: Graphical Desktop/Applications/Educational
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.newbreedsoftware.com/tuxpaint/
|
|
Source: http://downloads.sourceforge.net/sourceforge/tuxpaint/%{name}-%{version}.tar.gz
|
|
Patch0: tuxpaint-0.9.21-libpng-1.5.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libSDL-devel
|
|
BuildRequires: libSDL_Pango-devel
|
|
BuildRequires: libSDL_image-devel
|
|
BuildRequires: libSDL_mixer-devel
|
|
BuildRequires: libSDL_ttf-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libfribidi-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libpaper-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: librsvg-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: libnetpbm-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Tux Paint is a free drawing program designed for young children (kids ages 3 and up). It has a simple, easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who helps guide children as they use the program.
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1
|
|
find -type d -name CVS | xargs rm -fr
|
|
|
|
%build
|
|
%make -j1 PREFIX=%{_prefix}
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall \
|
|
PKG_ROOT=%{buildroot} \
|
|
PREFIX=%{_prefix} \
|
|
KDE_ICON_PREFIX=%{_datadir}/icons \
|
|
GNOME_PREFIX=. \
|
|
X11_ICON_PREFIX=.
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
cp %{buildroot}%{_kdedatadir}/applnk/Graphics/tuxpaint.desktop \
|
|
%{buildroot}%{_datadir}/applications/
|
|
rm -rf %{buildroot}%{_kdedatadir}/applnk/Graphics/
|
|
|
|
%{find_lang} %{name}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%config(noreplace) %{_sysconfdir}/tuxpaint/tuxpaint.conf
|
|
%{_sysconfdir}/bash_completion.d/tuxpaint-completion.bash
|
|
%{_bindir}/tuxpaint*
|
|
%{_bindir}/tp-magic-config
|
|
%dir %{_prefix}/lib/tuxpaint
|
|
%{_prefix}/lib/tuxpaint/plugins/*.so
|
|
%{_includedir}/tuxpaint/tp_magic_api.h
|
|
%{_datadir}/applications/tuxpaint.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/tuxpaint.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/tuxpaint.svg
|
|
%{_datadir}/pixmaps/*
|
|
%dir %{_datadir}/tuxpaint
|
|
%{_datadir}/tuxpaint/*
|
|
%{_datadir}/doc/tuxpaint-dev/*
|
|
%dir %{_docdir}/tuxpaint
|
|
%{_docdir}/tuxpaint/*
|
|
%{_mandir}/man1/*
|
|
%lang (pl) %{_mandir}/pl/man1/*
|
|
|
|
|
|
%changelog
|
|
* Mon Oct 13 2014 Automatic Build System <autodist@mambasoft.it> 0.9.22-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Apr 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.21-2mamba
|
|
- added build patch against libpng 1.5
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.9.21-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jul 15 2008 gil <puntogil@libero.it> 0.9.20-1mamba
|
|
- update to 0.9.20
|
|
- removed ARCH_LINKS="-lpng12" option
|
|
|
|
* Mon Jan 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.18-1mamba
|
|
- update to 0.9.18
|
|
|
|
* Fri Feb 09 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.16-1qilnx
|
|
- update to version 0.9.16 by autospec
|
|
- do not install X11 icon
|
|
- do not install a desktop file for gnome
|
|
- dropped security patch for tempdir setting (fixed upstream)
|
|
|
|
* Tue Jan 17 2006 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.14-3qilnx
|
|
- Added patch for tuxpaint tempdir
|
|
|
|
* Wed Nov 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.14-2qilnx
|
|
- fixed package group
|
|
- do not include all the documentation
|
|
- CVS directories removed from package
|
|
|
|
* Thu Jul 07 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.14-1qilnx
|
|
- package created by autospec
|