.
OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=24
This commit is contained in:
parent
5f29fd0891
commit
dfccd2d06b
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:16db346465543698ae0fe56f018c9b87690a330d149e1cb2868c248dd05ac7c9
|
||||
size 5349266
|
||||
oid sha256:093f20033e408c351470a4d2dd87cc2299039629d6e56b73e7b09c73901e855b
|
||||
size 5351368
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
36
xfig.spec
36
xfig.spec
@ -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
|
||||
Provides: xfig.3.2.3d
|
||||
Requires: ghostscript-fonts-std
|
||||
Requires: netpbm
|
||||
Requires: transfig
|
||||
Version: 3.2.5b
|
||||
Release: 0
|
||||
Summary: Facility for Interactive Generation of Figures under the X Window System
|
||||
License: PERMISSIVE-OSI-COMPLIANT
|
||||
Group: Productivity/Graphics/Vector Editors
|
||||
Provides: xfig.3.2.3d
|
||||
Requires: transfig netpbm ghostscript-fonts-std
|
||||
AutoReqProv: on
|
||||
Version: 3.2.5b
|
||||
Release: 16
|
||||
Summary: Facility for Interactive Generation of Figures under the X Window System
|
||||
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=''
|
||||
|
Loading…
Reference in New Issue
Block a user