fix for modular X
This commit is contained in:
parent
1b225c3c12
commit
f9e2cf1281
@ -1,10 +1,11 @@
|
|||||||
%define xfig_libdir /usr/X11R6/lib/X11/xfig
|
%define xfig_libdir %{_datadir}/xfig
|
||||||
%define fig2dev_libdir /usr/share/fig2dev
|
%define fig2dev_libdir %{_datadir}/fig2dev
|
||||||
|
%define imake %(which imake)
|
||||||
|
|
||||||
Summary: A utility for converting FIG files (made by xfig) to other formats.
|
Summary: A utility for converting FIG files (made by xfig) to other formats.
|
||||||
Name: transfig
|
Name: transfig
|
||||||
Version: 3.2.4
|
Version: 3.2.4
|
||||||
Release: 11
|
Release: 12
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -16,11 +17,11 @@ Patch2: transfig.3.2.4-broken.patch
|
|||||||
Patch3: transfig-3.2.4-badc.patch
|
Patch3: transfig-3.2.4-badc.patch
|
||||||
Patch4: transfig.3.2.4-rgb.patch
|
Patch4: transfig.3.2.4-rgb.patch
|
||||||
|
|
||||||
BuildPrereq: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildPrereq: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildPrereq: XFree86-devel
|
BuildRequires: %{imake}
|
||||||
|
|
||||||
Buildroot: %{_tmppath}/transfig-%{version}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The transfig utility creates a makefile which translates FIG (created
|
The transfig utility creates a makefile which translates FIG (created
|
||||||
@ -41,10 +42,8 @@ figures into certain graphics languages.
|
|||||||
%patch4 -p1 -b .rgb
|
%patch4 -p1 -b .rgb
|
||||||
|
|
||||||
%build
|
%build
|
||||||
PATH=$PATH:/usr/X11R6/bin
|
|
||||||
xmkmf
|
xmkmf
|
||||||
make Makefiles XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
make Makefiles XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
||||||
|
|
||||||
make XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
make XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -82,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{xfig_libdir}
|
%{xfig_libdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 15 2005 Than Ngo <than@redhat.com> 1:3.2.4-12
|
||||||
|
- fix for modular X
|
||||||
|
|
||||||
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 1:3.2.4-11
|
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 1:3.2.4-11
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user