SHA256
1
0
forked from pool/gimp-dds
gimp-dds/gimp-dds.spec
Stephan Kulow 984774099b Accepting request 212263 from GNOME:Apps
- Update to version 3.0.1:
  + Minor bug fix release.
- Changes from versioon 3.0.0:
  + New major "turkey-day" release!
  + New DXT compressor.
  + OpenMP support.
  + New mipmap generator, with better support for alpha mipmaps.
  + Support reading/writing DX10 texture arrays.
- Only export %{optflags} into CFLAGS: the Makefile now correctly
  extends CFLAGS with its own values instead of overwriting
  everything.
- No longer call make -e, but use regular make call (as we don't
  need to prefer env variables any longer). (forwarded request 212201 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/212263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-dds?expand=0&rev=7
2013-12-26 16:37:07 +00:00

81 lines
2.5 KiB
RPMSpec

#
# spec file for package gimp-dds
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# 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: gimp-dds
Version: 3.0.1
Release: 0
Summary: Plugin for GIMP providing support for the DDS format
License: GPL-2.0+
Group: Productivity/Graphics/Bitmap Editors
Url: http://code.google.com/p/gimp-dds/
Source0: http://gimp-dds.googlecode.com/files/%{name}-%{version}.tar.bz2
BuildRequires: gimp-devel >= 2.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This GIMP plugin allows to load and save images in the Direct Draw
Surface (DDS) format.
%package -n gimp-plugin-dds
Summary: Plugin for GIMP providing support for the DDS format
Group: Productivity/Graphics/Bitmap Editors
Requires: gimp >= 2.6
%description -n gimp-plugin-dds
This GIMP plugin allows to load and save images in the Direct Draw
Surface (DDS) format.
%package -n gimp-plugin-dds-doc
Summary: Plugin for GIMP providing support for the DDS format -- Documentation
Group: Documentation/Other
Requires: gimp-plugin-dds = %{version}
%description -n gimp-plugin-dds-doc
This GIMP plugin allows to load and save images in the Direct Draw
Surface (DDS) format.
This package contains documentation for the following features of the
DDS plugin:
+ Saving general images
+ Saving cube map images
+ Saving volume map images
%prep
%setup -q
%build
# The Makefile correct expands CFLAGS
export CFLAGS="%{optflags}"
make %{?_smp_mflags}
%install
install -D -m 0755 dds %{buildroot}%{_libdir}/gimp/2.0/plug-ins/dds
%files -n gimp-plugin-dds
%defattr(-,root,root,-)
%doc COPYING LICENSE README README.dxt TODO
%{_libdir}/gimp/2.0/plug-ins/dds
%files -n gimp-plugin-dds-doc
%defattr(-,root,root,-)
%doc doc/*
%changelog