Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
mtpaint
mtpaint.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mtpaint.spec of Package mtpaint
# # spec file for package mtpaint # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 B1 Systems GmbH, Vohburg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mtpaint Version: 3.40 Release: 0 Summary: Painting program for creating icons and pixel-based artwork License: GPL-3.0+ Group: Productivity/Graphics/Bitmap Editors Url: http://mtpaint.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: http://downloads.sourceforge.net/%{name}/%{name}_handbook-%{version}.zip Patch0: mtpaint-3.40-buff.diff # PATCH-FIX-OPENSUSE mtpaint-3.40-xdg-open.patch -- fix hardcoded apps, options and handbook location Patch1: mtpaint-3.40-xdg-open.patch # PATCH-FIX-OPENSUSE mtpaint-3.40-strip.patch rh#787462 -- don't strip binary Patch2: mtpaint-3.40-strip.patch # PATCH-FIX-OPENSUSE mtpaint-3.40-giflib5.diff -- fix build with giflib-5.x Patch3: mtpaint-3.40-giflib5.diff BuildRequires: giflib-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: unzip BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(zlib) %if 0%{?suse_version} >= 1220 BuildRequires: desktop-file-utils BuildRequires: pkgconfig(libopenjpeg) %else BuildRequires: libjasper-devel BuildRequires: update-desktop-files %endif Requires: ImageMagick Recommends: %{name}-lang Recommends: exif BuildRoot: %{_tmppath}/%{name}-%{version}-build %lang_package %description mtPaint is a simple painting program designed for creating icons and pixel-based artwork. It can edit indexed palette or 24 bit RGB images and offers basic painting and palette manipulation tools. Its main file format is PNG, although it can also handle JPEG, GIF, TIFF, BMP, XPM, and XBM files. %package handbook Summary: Handbook for the mtpaint painting application License: GFDL-1.2 Group: Productivity/Graphics/Bitmap Editors Requires: %{name} = %{version} BuildArch: noarch %description handbook Install this package is want to read the handbook for the painting application mtpaint. %prep %setup -q -a 1 %patch0 -p1 %patch1 -p1 %patch2 %patch3 -p1 %build # fix warnings for gcc >= 4.4, use -fno-strict-aliasing export CFLAGS="%{optflags} -fno-strict-aliasing" # This is not a "normal" configure ./configure \ --prefix=%{_prefix} \ --docdir=%{_defaultdocdir}/%{name} \ asneeded \ cflags \ GIF \ gtk2 \ gtkfilesel \ imagick \ intl \ %if 0%{?suse_version} >= 1220 jp2 \ %else jasper \ %endif jpeg \ lcms2 \ man \ tiff \ thread make %{?_smp_mflags} %install make install \ MT_PREFIX=%{buildroot}%{_prefix} \ BIN_INSTALL=%{buildroot}%{_bindir} \ MT_DATAROOT=%{buildroot}%{_datadir} \ MT_LANG_DEST=%{buildroot}%{_datadir}/locale \ MT_MAN_DEST=%{buildroot}%{_mandir} %find_lang %{name} %post %desktop_database_post %postun %desktop_database_postun %files %defattr(-, root, root, -) %doc COPYING NEWS README %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/%{name}.png %doc %{_mandir}/man1/%{name}* %files handbook %defattr(-, root, root, -) %doc %{name}_handbook-%{version}/COPYING %{name}_handbook-%{version}/docs/* %files lang -f %{name}.lang %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