public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xfig] epel10: - fix #169330, wrong docdir
Date: Sat, 30 May 2026 14:25:26 GMT [thread overview]
Message-ID: <178015112624.1.205194178825838073.rpms-xfig-c29ade4f6661@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10
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
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
reply other threads:[~2026-05-30 14:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178015112624.1.205194178825838073.rpms-xfig-c29ade4f6661@fedoraproject.org \
--to=than@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox