Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbe25ba721 | ||
|
|
20fa74e07a | ||
| d89f7a33b6 | |||
|
|
8451f6bb43 |
4 changed files with 10 additions and 30 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: xfig
|
||||
# $Id: Makefile,v 1.1 2004/09/09 14:43:45 cvsdist Exp $
|
||||
NAME := xfig
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attempt a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
|
|
@ -1,12 +1,7 @@
|
|||
diff -up xfig.3.2.5a/Fig.ad~ xfig.3.2.5a/Fig.ad
|
||||
--- xfig.3.2.5a/Fig.ad~ 2007-04-14 04:17:24.000000000 +0200
|
||||
+++ xfig.3.2.5a/Fig.ad 2009-03-27 15:15:27.000000000 +0100
|
||||
@@ -19,22 +19,20 @@ Fig*AllowShellResize: false
|
||||
Fig.image_editor: xv
|
||||
|
||||
! name of ghostscript (not ghostview)
|
||||
-Fig.ghostscript: gs
|
||||
+Fig.ghostscript: xdg-open
|
||||
@@ -23,18 +23,16 @@ Fig*AllowShellResize: false
|
||||
|
||||
! Browser - put your favorite browser here.
|
||||
! This is for viewing the xfig html reference.
|
||||
|
|
|
|||
12
xfig.spec
12
xfig.spec
|
|
@ -3,7 +3,7 @@
|
|||
Summary: An X Window System tool for drawing basic vector graphics
|
||||
Name: xfig
|
||||
Version: 3.2.5
|
||||
Release: 19.a%{?dist}
|
||||
Release: 20.a%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.xfig.org/
|
||||
|
|
@ -47,8 +47,6 @@ BuildRequires: desktop-file-utils
|
|||
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# for xrdb for merging of the color resources
|
||||
Requires: xorg-x11-server-utils
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
Provides: %{name}-executable = %{version}-%{release}
|
||||
# Xaw3d used to be the one in a subpackage, now the plain Xaw version is
|
||||
|
|
@ -84,9 +82,12 @@ version you probably don't want this version.
|
|||
Summary: Common xfig files
|
||||
Group: Applications/Multimedia
|
||||
Requires: transfig >= 1:3.2.5, xdg-utils, aspell, urw-fonts
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: xorg-x11-fonts-base
|
||||
# So that this will get uninstalled together with xfig / xfig-Xaw3d
|
||||
Requires: %{name}-executable = %{version}-%{release}
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
%description common
|
||||
Files common to both the plain Xaw and the Xaw3d version of xfig.
|
||||
|
|
@ -135,6 +136,8 @@ rm -rf %{buildroot}
|
|||
|
||||
make DESTDIR=%{buildroot} XFIGDOCDIR=%{_docdir}/%{name}-%{version} \
|
||||
INSTALL="install -p" install.all
|
||||
install -p -m 644 CHANGES README LATEX.AND.XFIG* FIGAPPS \
|
||||
%{buildroot}%{_docdir}/%{name}-%{version}
|
||||
|
||||
# install the Xaw3d version and the wrapper for the .desktop file
|
||||
mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}-plain
|
||||
|
|
@ -196,6 +199,9 @@ fi
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 3 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-20.a
|
||||
- Fix eps preview (#503911)
|
||||
|
||||
* Wed Apr 8 2009 Hans de Goede <hdegoede@redhat.com> 3.2.5-19.a
|
||||
- Fix crash when printing (#494193), thanks to Ian Dall for the patch
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue