Automatic import for version 0.0.12

This commit is contained in:
Rosa 2012-02-01 19:12:41 +04:00
commit 2a698899fa
2 changed files with 86 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
"tuxpaint-config-0.0.12.tar.bz2": 5f4cee06c59462a402ab368a87ba2fae95ff0223

84
tuxpaint-config.spec Normal file
View file

@ -0,0 +1,84 @@
Summary: Pictures for use with the paint program Tuxpaint
Name: tuxpaint-config
Version: 0.0.12
Release: %mkrel 4
License: GPL
Source: %{name}-%{version}.tar.bz2
Group: Graphics
URL: http://sourceforge.net/projects/tuxpaint
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: tuxpaint
BuildRequires: desktop-file-utils 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
rm -rf %{buildroot}
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/*
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(755,root,root,755)
%{_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
* Thu Mar 17 2011 Angelo Naselli <anaselli@mandriva.org> 0.0.12-4mdv2011.0
+ Revision: 646254
- Added missing icon
* Wed Dec 08 2010 Oden Eriksson <oeriksson@mandriva.com> 0.0.12-3mdv2011.0
+ Revision: 615277
- the mass rebuild of 2010.1 packages
* Tue Jan 12 2010 Angelo Naselli <anaselli@mandriva.org> 0.0.12-2mdv2010.1
+ Revision: 490252
- fixed requirements for X86_64
- fixed url
- import tuxpaint-config