Accepting request 26416 from graphics

Copy from graphics/xfig based on submit request 26416 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/26416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfig?expand=0&rev=13
This commit is contained in:
OBS User autobuild
2009-12-16 09:58:06 +00:00
committed by Git OBS Bridge
parent 31a4b947ef
commit d5c59d51e2
16 changed files with 392 additions and 1395 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package xfig (Version 3.2.5)
# spec file for package xfig (Version 3.2.5b)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -25,8 +25,8 @@ Group: Productivity/Graphics/Vector Editors
Provides: xfig.3.2.3d
Requires: transfig netpbm ghostscript-fonts-std
AutoReqProv: on
Version: 3.2.5
Release: 135
Version: 3.2.5b
Release: 1
Summary: Facility for Interactive Generation of Figures under the X Window System
Url: http://www.xfig.org/
Source: xfig.%{version}.tar.bz2
@@ -35,16 +35,13 @@ Source2: browser
Source3: xfig.sh
Source4: xfig.desktop
Patch0: xfig.%{version}.dif
Patch1: xfig.%{version}-urw-fonts.dif
Patch2: xfig.%{version}-xim.dif
Patch1: xfig.3.2.5-urw-fonts.dif
Patch2: xfig.3.2.5-xim.dif
Patch3: xfig.3.2.3d-international-std-fonts.dif
Patch4: xfig-%{version}-mkstemp.dif
Patch5: xfig.3.2.4-null.dif
Patch6: xfig.%{version}-locale.dif
Patch7: xfig.%{version}-fixes.dif
Patch8: xfig.%{version}-pspdftex.dif
Patch9: xfig.%{version}-zoom.dif
Patch10: xfig.%{version}-zoom_fpe.dif
Patch5: xfig.3.2.5b-null.dif
Patch6: xfig.3.2.5b-locale.dif
Patch7: xfig.3.2.5b-fixes.dif
Patch8: xfig.3.2.5b-pspdftex.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
%if "%_exec_prefix" == "/usr/X11R6"
@@ -86,13 +83,10 @@ find -type f | xargs -r chmod a-x,go-w
%patch1 -p0 -b .urw-fonts
%patch2 -p0 -b .xim
%patch3 -p1 -b .international-std-fonts
%patch4 -p0 -b .security
%patch5 -p0 -b .null
%patch6 -p0 -b .locale
%patch7 -p0 -b .fixes
%patch8 -p0 -b .pspdftex
%patch9 -p0 -b .zoom
%patch10 -p0 -b .fpe
cp %{S:1} .
%build
@@ -144,7 +138,6 @@ find %{buildroot}/%{_docdir}/%{name} -name '*.orig' | xargs -r rm -f
%{_x11data}/xfig
%{_bindir}/xfig*
%config %{_appdefdir}/Fig
%config %{_appdefdir}/Fig-color
%doc %{_mandir}/man1/xfig.1x.gz
%changelog