SHA256
1
0
forked from pool/xfig

Accepting request 123043 from graphics

license update: MIT
SPDX compliant license short name. MIT chosen as majority of files are under this license (Fedora also chose MIT) (forwarded request 122986 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/123043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfig?expand=0&rev=29
This commit is contained in:
Stephan Kulow 2012-06-01 05:25:00 +00:00 committed by Git OBS Bridge
commit b27c6417da
3 changed files with 38 additions and 12 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16db346465543698ae0fe56f018c9b87690a330d149e1cb2868c248dd05ac7c9
size 5349266
oid sha256:093f20033e408c351470a4d2dd87cc2299039629d6e56b73e7b09c73901e855b
size 5351368

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu May 31 07:33:50 UTC 2012 - cfarrell@suse.com
- license update: MIT
SPDX compliant license short name. MIT chosen as majority of files are
under this license (Fedora also chose MIT)
-------------------------------------------------------------------
Wed May 30 11:48:30 UTC 2012 - werner@suse.de
- Remove forbidden file aircraft.fig (bnc#754676)
-------------------------------------------------------------------
Fri Oct 21 09:40:57 UTC 2011 - werner@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package xfig
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,25 +15,38 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xfig
BuildRequires: flex freetype2-devel libjpeg-devel netpbm update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel
BuildRequires: flex
BuildRequires: freetype2-devel
BuildRequires: libjpeg-devel
BuildRequires: netpbm
BuildRequires: update-desktop-files
BuildRequires: xaw3d-devel
BuildRequires: xorg-x11
BuildRequires: xorg-x11-devel
%if 0%{?suse_version} > 1120
BuildRequires: libpng12-compat-devel libpng12-devel
BuildRequires: libpng12-compat-devel
BuildRequires: libpng12-devel
%else
BuildRequires: libpng-devel
%endif
License: PERMISSIVE-OSI-COMPLIANT
Group: Productivity/Graphics/Vector Editors
Provides: xfig.3.2.3d
Requires: transfig netpbm ghostscript-fonts-std
AutoReqProv: on
Requires: ghostscript-fonts-std
Requires: netpbm
Requires: transfig
Version: 3.2.5b
Release: 16
Release: 0
Summary: Facility for Interactive Generation of Figures under the X Window System
License: MIT
Group: Productivity/Graphics/Vector Editors
Url: http://www.xfig.org/
#
# Remove forbidden files: aircraft.fig
# bunzip2 xfig.3.2.5b.tar
# tar -f xfig.3.2.5b.tar --delete xfig.3.2.5b/Libraries/Examples/aircraft.fig
# bzip2 xfig.3.2.5b.tar
#
Source: xfig.%{version}.tar.bz2
Source1: font-test.fig
Source2: browser
@ -99,6 +112,7 @@ find -type f | xargs -r chmod a-x,go-w
%patch10 -p0 -b .preview
%patch11 -p0 -b .vsprintf
cp %{S:1} .
test ! -e Libraries/Examples/aircraft.fig || { echo forbidden file found 1>&2; exit 1; }
%build
xmkmf -a -D_DATA='%{_data}' -DStandardDefines=''