public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Terje Rosten <terje.rosten@ntnu.no>
To: git-commits@fedoraproject.org
Subject: [rpms/grace] epel10.3: use sensible-utils like debian
Date: Sat, 17 Oct 2026 16:20:43 GMT	[thread overview]
Message-ID: <179225404315.1.927206401376851446.rpms-grace-f8ef51f646e5@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/grace
            Branch : epel10.3
            Commit : f8ef51f646e50e7a3f0079a61820ff97e3b41342
            Author : Terje Rosten <terje.rosten@ntnu.no>
            Date   : 2021-02-07T18:51:03+01:00
            Stats  : +22/-16 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/grace/c/f8ef51f646e50e7a3f0079a61820ff97e3b41342?branch=epel10.3

            Log:
            use sensible-utils like debian
gracebat and xmgrace is the same thing, use symlink

---
diff --git a/grace.spec b/grace.spec
index c577b57..913c1c7 100644
--- a/grace.spec
+++ b/grace.spec
@@ -1,6 +1,6 @@
 Name:           grace
 Version:        5.1.25
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 License:        GPLv2+
 # cephes is LGPL, see also Source3 and Source4
@@ -15,19 +15,20 @@ Patch0:         grace-detect-netcdf.diff
 BuildRequires:  desktop-file-utils
 BuildRequires:  fftw2-devel
 BuildRequires:  gcc-gfortran
-BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
 BuildRequires:  libXmu-devel
 BuildRequires:  libXpm-devel
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
+BuildRequires:  make
 BuildRequires:  netcdf-devel
 BuildRequires:  t1lib-devel
 BuildRequires:  urw-base35-fonts-devel
 BuildRequires:  xbae-devel
 BuildRequires:  zlib-devel
-BuildRequires: make
-Requires:       nedit
+Requires:       sensible-utils
 Requires:       urw-base35-fonts-legacy
 Requires:       xdg-utils
+Requires:       xterm
 %description
 Grace is a Motif application for two-dimensional data
 visualization. Grace can transform the data using free equations, FFT,
@@ -41,7 +42,7 @@ Summary:        Files needed for grace development
 License:        LGPLv2+
 Requires:       %{name} = %{version}-%{release}
 Provides:       %{name}-static = %{version}-%{release}
-%description devel
+%description    devel
 Install these files if you need to compile software that requires grace.
 
 %prep
@@ -63,8 +64,8 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 export FFLAGS="$RPM_OPT_FLAGS -fPIC"
 %configure \
     --enable-editres \
-    --with-editor=nedit \
-    --with-helpviewer="xdg-open %s" \
+    --with-editor="xterm -e sensible-editor" \
+    --with-helpviewer="sensible-browser %s" \
     --with-printcmd="lpr" \
     --enable-grace-home=%{_datadir}/%{name} \
     --disable-pdfdrv \
@@ -87,20 +88,20 @@ mkdir -pm 755                               \
     %{buildroot}%{_mandir}/man1             \
     %{buildroot}%{_sysconfdir}/%{name}
 
-##
 # Let's have some sanity
-#
 pushd %{buildroot}%{_datadir}/%{name}
 
-install -pm 755 bin/*   %{buildroot}%{_bindir}/
+install -pm 755 bin/*  %{buildroot}%{_bindir}
+rm %{buildroot}%{_bindir}/gracebat
+ln -s xmgrace %{buildroot}%{_bindir}/gracebat
 rm -rf bin
 ln -s ../../bin bin
 
-cp -p lib/*   %{buildroot}%{_libdir}/
+cp -p lib/*  %{buildroot}%{_libdir}
 rm -rf lib
 ln -s ../../%_lib lib
 
-install -pm 644 include/* %{buildroot}%{_includedir}/
+install -pm 644 include/* %{buildroot}%{_includedir}
 rm -rf include
 ln -s ../../include include
 
@@ -136,9 +137,7 @@ for conf in gracerc templates gracerc.user; do
 done
 popd
 
-##
 # Desktop stuff
-#
 install -pm 644 debian/icons/grace.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
 for sz in 16 22 24 32; do
     install -Dpm 644 debian/icons/grace${sz}.png %{buildroot}%{_datadir}/icons/hicolor/${sz}x${sz}/apps/grace.png
@@ -160,7 +159,10 @@ rm __dist_doc/doc/Makefile __dist_doc/doc/*.sgml
 %doc cephes-license.email LICENSE.cephes
 %doc examples/ __dist_doc/doc/
 %config(noreplace) %{_sysconfdir}/%{name}/
-%{_bindir}/*
+%{_bindir}/convcal
+%{_bindir}/fdf2fit
+%{_bindir}/gracebat
+%{_bindir}/xmgrace
 %{_datadir}/%{name}
 %exclude %{_datadir}/%{name}/include
 %exclude %{_datadir}/%{name}/lib
@@ -177,6 +179,10 @@ rm __dist_doc/doc/Makefile __dist_doc/doc/*.sgml
 %{_datadir}/%{name}/lib
 
 %changelog
+* Sun Feb 07 2021 Terje Rosten <terje.rosten@ntnu.no> - 5.1.25-20
+- use sensible-utils like debian
+- gracebat and xmgrace is the same thing, use symlink
+
 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.25-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
 

                 reply	other threads:[~2026-10-17 16:20 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=179225404315.1.927206401376851446.rpms-grace-f8ef51f646e5@fedoraproject.org \
    --to=terje.rosten@ntnu.no \
    --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