Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:hp:education
tuxpaint
tuxpaint.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tuxpaint.spec of Package tuxpaint
# # spec file for package tuxpaint # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: tuxpaint Summary: Drawing Program for Young Children Url: http://www.newbreedsoftware.com/tuxpaint/ License: GPL v2 or later Group: Productivity/Graphics/Bitmap Editors Version: 0.9.20 Release: 1 Vendor: openSUSE-Education BuildRequires: SDL-devel SDL_image-devel SDL_ttf SDL_ttf-devel > 2.0.8 BuildRequires: SDL_Pango-devel SDL_mixer SDL_mixer-devel BuildRequires: libpng-devel zlib-devel BuildRequires: gettext-devel libpaper-devel BuildRequires: update-desktop-files BuildRequires: dos2unix %if 0%{?suse_version} > 1020 BuildRequires: fdupes librsvg-devel Recommends: tuxpaint-stamps tuxpaint-config %else Requires: tuxpaint-stamps tuxpaint-config BuildRequires: libsvg-cairo-devel libjpeg-devel %endif Requires: freefont netpbm Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1020 %define gnomedir %_prefix %else %define gnomedir /opt/gnome %endif %define kderootdir /opt/kde3/ %description Tux Paint" is a drawing program for young children. It has a simple interface and fixed canvas size, and provides access to previous images using a thumbnail browser (it provides no access to the underlying filesystem). Unlike popular drawing programs such as "The GIMP," it has a very limited toolset. However, it provides a much simpler interface, and has entertaining, child-oriented additions such as sound effects. Authors: -------- Bill Kendrick <bill@newbreedsoftware.com> %package devel Summary: Devel files of tuxpaint Group: Development/Libraries/Other Requires: gcc-c++ %name = %version Requires: SDL-devel SDL_image-devel SDL_ttf SDL_ttf-devel Requires: SDL_Pango-devel SDL_mixer SDL_mixer-devel Requires: libpng-devel librsvg-devel zlib-devel Requires: gettext-devel libpaper-devel %description devel Header files and development documentation for tuxpaint. Authors: -------- Bill Kendrick <bill@newbreedsoftware.com> %prep %setup -q sed -i "s|/usr/lib|%_libdir|g" Makefile find . -name CVS -print0 | xargs -0 rm -rf find docs/ -type f -print0 | xargs -0 dos2unix -o find docs/ -type f -print0 | xargs -0 chmod -v 644 %build make PREFIX=%_prefix X11_ICON_PREFIX=%_datadir/pixmaps MAGIC_PREFIX=%_libdir/%name/plugins %install make install PREFIX="%_prefix" \ MAGIC_PREFIX="%buildroot%_libdir/%name/plugins" \ PKG_ROOT="%buildroot" \ X11_ICON_PREFIX="%buildroot%_datadir/pixmaps" \ GNOME_PREFIX="%gnomedir" \ KDE_PREFIX="%kderootdir" \ KDE_ICON_PREFIX="%kderootdir/share/icons" \ DEVDOC_PREFIX="%buildroot%_defaultdocdir/%name-devel" \ DOC_PREFIX="%buildroot%_defaultdocdir/%name" %if 0%{?suse_version} # SUSE specials find %buildroot -name "*.desktop" -exec rm -v {} \; %suse_update_desktop_file -i %name Game KidsGame %endif # find %buildroot/%_mandir -type f -exec chmod 644 {} \; # %if 0%{?suse_version} > 1020 %fdupes -s %buildroot %endif # %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc %_defaultdocdir/%name %doc %_mandir/man1/tuxpaint* %doc %_mandir/pl/man1/tuxpaint.1.gz %dir %{_sysconfdir}/tuxpaint %dir %{_mandir}/pl %dir %{_mandir}/pl/man1 %config(noreplace) %{_sysconfdir}/tuxpaint/tuxpaint.conf %_bindir/tuxpaint %_bindir/tuxpaint-import %_libdir/%name %_datadir/tuxpaint/ %_datadir/pixmaps/%name.xpm %_datadir/applications/*.desktop %dir %kderootdir %dir %kderootdir/share %dir %kderootdir/share/icons %dir %kderootdir/share/icons/hicolor %kderootdir/share/icons/hicolor %gnomedir/share/pixmaps/tuxpaint.png %if 0%{?suse_version} < 1030 %{_datadir}/pixmaps/tuxpaint.png %endif # locales not in official openSUSE distribution %dir %_datadir/locale/en_ZA %dir %_datadir/locale/en_ZA/LC_MESSAGES %dir %_datadir/locale/gos %dir %_datadir/locale/gos/LC_MESSAGES %dir %_datadir/locale/nr %dir %_datadir/locale/nr/LC_MESSAGES %dir %_datadir/locale/oj %dir %_datadir/locale/oj/LC_MESSAGES %dir %_datadir/locale/tlh %dir %_datadir/locale/tlh/LC_MESSAGES %dir %_datadir/locale/twi %dir %_datadir/locale/twi/LC_MESSAGES %dir %_datadir/locale/zw %dir %_datadir/locale/zw/LC_MESSAGES %files devel %defattr(-,root,root) %doc %_defaultdocdir/%name-devel %doc %{_mandir}/man1/tp-magic-config* %dir %_includedir/%name %_bindir/tp-magic-config %_includedir/%name/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor