public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.3: use sensible-utils like debian
@ 2026-10-17 16:20 Terje Rosten
0 siblings, 0 replies; only message in thread
From: Terje Rosten @ 2026-10-17 16:20 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-17 16:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-17 16:20 [rpms/grace] epel10.3: use sensible-utils like debian Terje Rosten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox