public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: cvsdist <cvsdist@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xfig] epel10: auto-import xfig-3.2.3d-8 from xfig-3.2.3d-8.src.rpm
Date: Sat, 30 May 2026 14:25:13 GMT [thread overview]
Message-ID: <178015111306.1.6117681889353774701.rpms-xfig-59d845e3d386@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xfig
Branch : epel10
Commit : 59d845e3d38688c00c7f515787b3649e1cd0451b
Author : cvsdist <cvsdist@fedoraproject.org>
Date : 2004-09-09T14:46:46+00:00
Stats : +43/-7 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/xfig/c/59d845e3d38688c00c7f515787b3649e1cd0451b?branch=epel10
Log:
auto-import xfig-3.2.3d-8 from xfig-3.2.3d-8.src.rpm
---
diff --git a/xfig.desktop b/xfig.desktop
index ed58558..175ffb5 100644
--- a/xfig.desktop
+++ b/xfig.desktop
@@ -1,4 +1,7 @@
[Desktop Entry]
+Encoding=UTF-8
+Categories=Application;Graphics;X-Red-Hat-Extra;
+X-Desktop-File-Install-Version=0.2
Exec=xfig
Icon=xfig
Type=Application
diff --git a/xfig.spec b/xfig.spec
index 5098cc4..f978d16 100644
--- a/xfig.spec
+++ b/xfig.spec
@@ -1,8 +1,12 @@
+%define desktop_file 1
+%if %{desktop_file}
+%define desktop_file_utils_version 0.2.90
+%endif
Summary: An X Window System tool for drawing basic vector graphics.
Name: xfig
Version: 3.2.3d
-Release: 3
-Copyright: Freeware
+Release: 8
+License: Freeware
Group: Applications/Multimedia
Source0: http://www.xfig.org/xfigdist/xfig.%{version}.full.tar.gz
Source1: xfig.png
@@ -13,10 +17,14 @@ Patch2: xfig.3.2.3c-browser.patch
Patch3: xfig.3.2.3d-fhs.patch
Patch4: xfig.3.2.3d-misc.patch
Patch5: xfig.3.2.3d-imake.patch
+Patch6: xfig-3.2.3d-mkstemp.diff
URL: http://www.xfig.org/
Requires: transfig >= 3.2.3d, xpdf, ImageMagick, aspell
Requires: htmlview
BuildPrereq: libjpeg-devel, libpng-devel, Xaw3d-devel
+%if %{desktop_file}
+BuildPrereq: desktop-file-utils >= %{desktop_file_utils_version}
+%endif
Buildroot: %{_tmppath}/%{name}-root
%description
@@ -37,6 +45,7 @@ graphics.
%patch3 -p1 -b .fhs
%patch4 -p1 -b .misc
%patch5 -p1 -b .imake
+%patch6 -p1 -b .mkstemp
%build
export PATH=$PATH:/usr/X11R6/bin
@@ -49,11 +58,16 @@ rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT DOCDIR=%{_docdir} install install.all
-mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Graphics \
- $RPM_BUILD_ROOT/usr/share/pixmaps
-
+mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/pixmaps
-install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/applnk/Graphics
+
+%if %{desktop_file}
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/applications/net-xfig.desktop
+%else
+mkdir -p RPM_BUILD_ROOT/etc/X11/applnk/Graphics
+install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/applnk/Graphics/
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -66,9 +80,28 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/pixmaps/%{name}.png
%doc %{_docdir}/%{name}
/usr/X11R6/lib/X11/app-defaults/*
-%config /etc/X11/applnk/Graphics/%{name}.desktop
+%if %{desktop_file}
+%{_datadir}/applications/*
+%else
+/etc/X11/applnk/Graphics/%{name}.desktop
+%endif
%changelog
+* Wed Jul 24 2002 Than Ngo <than@redhat.com> 3.2.3d-8
+- desktop file issue (bug #69543)
+
+* Tue Jun 25 2002 Than Ngo <than@redhat.com> 3.2.3d-7
+- add patch file using mkstemp (bug #67351)
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Thu May 23 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
* Fri Jul 13 2001 Than Ngo <than@redhhat.com> 3.2.3d-3
- fix build dependencies (bug #48910)
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=178015111306.1.6117681889353774701.rpms-xfig-59d845e3d386@fedoraproject.org \
--to=cvsdist@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