Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 83ef85154cab4031fafb0d30c3d46f55 > files > 2

tuxpaint-config-0.0.12-9.mga3.src.rpm

Summary:	Configuration tool for Tuxpaint
Name: 		tuxpaint-config
Version:	0.0.12
Release:	%mkrel 9
License:	GPLv2
Source: 	%{name}-%{version}.tar.bz2

Group:		Graphics/Editors and Converters
URL:		http://sourceforge.net/projects/tuxpaint
Requires: 	tuxpaint
BuildRequires:  fltk-devel libpaper-devel libxext-devel


%description
Tux Paint Config is a graphical configuration tool for "Tux Paint."
It provides a point-and-click interface that allows parents and teachers
to alter Tux Paint's behavior -- disable sound effects, run in
full-screen mode, etc. - without needing to manipulate a text-based
configuration file.

%prep
%setup -q

%build
make OPTFLAGS="%{optflags}" PREFIX=%{_prefix} LIBDIR=%{_libdir}

%install
mkdir -p %{buildroot} %{buildroot}%{_bindir}  
make install BUILDPREFIX="%{buildroot}" PKG_ROOT="%{buildroot}" PREFIX="%{buildroot}%{_usr}" X11_ICON_PREFIX="%{buildroot}%{_includedir}/X11/pixmaps/" LIBDIR="%{buildroot}%{_libdir}"

install -m644 data/images/icon16x16.png -D %{buildroot}%{_miconsdir}/%{name}.png
install -m644 data/images/icon32x32.png -D %{buildroot}%{_iconsdir}/%{name}.png
install -m644 data/images/icon48x48.png -D %{buildroot}%{_liconsdir}/%{name}.png

#Fix perms:
chmod -R go+r docs/

%find_lang %{name}

mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install	--vendor="" \
			--dir $RPM_BUILD_ROOT%{_datadir}/applications \
			--remove-category="Settings" \
                        --add-category="Education" \
			src/tuxpaint-config.desktop

# fix perms
chmod -R go=u-w $RPM_BUILD_ROOT/*

%files -f %{name}.lang
%{_bindir}/%{name}
%doc docs/AUTHORS.txt docs/CHANGES.txt docs/COPYING.txt docs/README.txt docs/TODO.txt docs/html/README.html
%_mandir/man1/%{name}.*
%{_includedir}/X11/pixmaps/%{name}.*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/*
%{_datadir}/%{name}/images/*
%{_miconsdir}/*.png
%{_iconsdir}/*.png
%{_liconsdir}/*.png


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 0.0.12-9.mga3
+ Revision: 384877
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + boklm <boklm>
    - Update group: Graphics/Editors -> Graphics/Editors and Converters

* Mon Dec 17 2012 malo <malo> 0.0.12-8.mga3
+ Revision: 331835
- fix summary

* Mon Dec 17 2012 malo <malo> 0.0.12-7.mga3
+ Revision: 331834
- spec clean-up
- update RPM group

* Mon Jul 11 2011 fwang <fwang> 0.0.12-6.mga2
+ Revision: 122118
- rebuild for new fltk

* Sat Apr 30 2011 misc <misc> 0.0.12-5.mga1
+ Revision: 93930
- fix License
- increase Release to fix upgrade from Mandriva

* Sun Feb 20 2011 anaselli <anaselli> 0.0.12-1.mga1
+ Revision: 55017
- added missed libxext-devel dependency
- imported package tuxpaint-config