public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfig] epel10.2: - fix #169330, wrong docdir
@ 2026-05-30 14:27 Than Ngo
0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-05-30 14:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10.2
Commit : c29ade4f6661453fbef671b1e1d34139a28f0dac
Author : Than Ngo <than@fedoraproject.org>
Date : 2006-05-05T21:53:39+00:00
Stats : +16/-18 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/xfig/c/c29ade4f6661453fbef671b1e1d34139a28f0dac?branch=epel10.2
Log:
- fix #169330, wrong docdir
- fix #187902, no parameter negotiation for xfig
- fix #182451, switch xfig's pdf viewer to evince
---
diff --git a/xfig.spec b/xfig.spec
index 1e78893..3c7be20 100644
--- a/xfig.spec
+++ b/xfig.spec
@@ -3,7 +3,7 @@
Summary: An X Window System tool for drawing basic vector graphics.
Name: xfig
Version: 3.2.4
-Release: 19
+Release: 20
License: Freeware
Group: Applications/Multimedia
URL: http://www.xfig.org/
@@ -19,9 +19,10 @@ Patch4: xfig-3.2.4-fonts.patch
Patch5: xfig.3.2.4-buffer.patch
Patch6: xfig.3.2.4-xpm.patch
Patch7: xfig.3.2.4-modularX.patch
+Patch8: xfig-3.2.4-pdfviewer.patch
Requires: transfig >= 1:3.2.4-12
-Requires: xpdf
+Requires: evince
Requires: ImageMagick
Requires: aspell
Requires: htmlview
@@ -61,45 +62,37 @@ graphics.
%patch5 -p1 -b .buffer
%patch6 -p1 -b .xpm
%patch7 -p1 -b .modularX
+%patch8 -p1 -b .pdfviewer
%build
xmkmf
ln -nfs Doc/xfig.man xfig.man
-make DOCDIR=%{_docdir}
+make XFIGDOCDIR=%{_docdir}/%{name}-%{version}
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} \
- DOCDIR=%{_docdir} \
+ XFIGDOCDIR=%{_docdir}/%{name}-%{version} \
XAPPLOADDIR=%{app_defaults_dir} \
CONFDIR=%{_datadir}/X11 \
install install.all
-mkdir -p %{buildroot}/usr/share/pixmaps \
+mkdir -p %{buildroot}%{_datadir}/pixmaps \
%{buildroot}%{_datadir}/applications
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/net-xfig.desktop
-rm -fr $RPM_BUILD_ROOT%{_prefix}/lib*
-
-mv $RPM_BUILD_ROOT%{_bindir}/xfig %{buildroot}%{_bindir}/xfig.bin
-cat > %{buildroot}%{_bindir}/%{name} <<EOF
-#! /bin/sh
-export XAPPLRESDIR=%{app_defaults_dir}
-export LANG=\${LANG%.UTF-8}
-exec %{_bindir}/%{name}.bin \$*
-EOF
+rm -fr %{buildroot}%{_prefix}/lib*
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
-%doc %{_docdir}/%{name}
-%attr(0755,root,root) %{_bindir}/xfig
-%{_bindir}/xfig.bin
+%doc %{_docdir}/%{name}-%{version}
+%attr(0755,root,root) %{_bindir}/*
%{_datadir}/%{name}/*
%{_mandir}/*/*
%{_datadir}/pixmaps/%{name}.png
@@ -107,6 +100,11 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/applications/*
%changelog
+* Fri May 05 2006 Than Ngo <than@redhat.com> 3.2.4-20
+- fix #169330, wrong docdir
+- fix #187902, no parameter negotiation for xfig
+- fix #182451, switch xfig's pdf viewer to evince
+
* Tue Apr 25 2006 Adam Jackson <ajackson@redhat.com> 3.2.4-19
- Rebuild for updated imake build rules
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-30 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-30 14:27 [rpms/xfig] epel10.2: - fix #169330, wrong docdir Than Ngo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox