public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/grace] epel10.2: - Use external xbae.
@ 2026-10-17 16:18 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-17 16:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/grace
            Branch : epel10.2
            Commit : b8de41a475b77f9b7c10feda4058ee8eb0aa4b35
            Author : José Abílio Oliveira Matos <jamatos@fedoraproject.org>
            Date   : 2006-09-24T18:23:54+00:00
            Stats  : +15/-9 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/grace/c/b8de41a475b77f9b7c10feda4058ee8eb0aa4b35?branch=epel10.2

            Log:
            - Use external xbae.
- Revert test for fedora macro so that it works by default for latest
    versions if the macro is not defined.

---
diff --git a/grace.spec b/grace.spec
index 52a1e64..d67900d 100644
--- a/grace.spec
+++ b/grace.spec
@@ -1,10 +1,10 @@
 Name:           grace
 Version:        5.1.20
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Numerical Data Processing and Visualization Tool
 
 License:        GPL
-# Xbae is BSD and cephes is LGPL, see also Source3 and Source4 
+# cephes is LGPL, see also Source3 and Source4 
 URL:            http://plasma-gate.weizmann.ac.il/Grace/
 Source0:        ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/%{name}-%{version}.tar.gz
 Source1:        %{name}.desktop
@@ -17,13 +17,13 @@ Group:          Applications/Engineering
 
 BuildRequires:  libjpeg-devel, libpng-devel, netcdf-devel
 BuildRequires:  zlib-devel, fftw2-devel, t1lib-devel
-BuildRequires:  openmotif-devel, gcc-gfortran
+BuildRequires:  xbae-devel, gcc-gfortran
 BuildRequires:  desktop-file-utils, font-utils
 
-%if "%{fedora}" >= "5"
-BuildRequires: libXpm-devel
-%else
+%if "%{fedora}" < "5"
 BuildRequires: xorg-x11-devel
+%else
+BuildRequires: libXpm-devel
 %endif
 
 Requires:	nedit
@@ -55,6 +55,7 @@ Install these files if you need to compile software that requires grace.
 %patch
 # remove stripping option to have meaningfull debuginfo packages
 sed -i -e 's/^\(.*INSTALL_PROGRAM.*\) -s /\1 /' */Makefile
+rm -rf Xbae
 
 %build
 cp %{SOURCE3} %{SOURCE4} .
@@ -68,7 +69,8 @@ cp %{SOURCE3} %{SOURCE4} .
     --with-x \
     --with-f77=gfortran \
     --with-extra-incpath=%{_includedir}/netcdf-3 \
-    --with-extra-ldpath=%{_libdir}/netcdf-3
+    --with-extra-ldpath=%{_libdir}/netcdf-3 \
+    --with-bundled-xbae=no
     
 make %{?_smp_mflags}
 
@@ -77,7 +79,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 
-cp Xbae/LICENSE LICENSE.Xbae
 rm -f doc/*.1
 
 mkdir -pm 755                               \
@@ -143,7 +144,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc ChangeLog CHANGES COPYRIGHT DEVELOPERS LICENSE README LICENSE.Xbae
+%doc ChangeLog CHANGES COPYRIGHT DEVELOPERS LICENSE README 
 %doc cephes-license.email LICENSE.cephes
 %doc examples/ doc/ 
 %config(noreplace) %{_sysconfdir}/%{name}/
@@ -166,6 +167,11 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Sep 24 2006 José Matos <jamatos[AT]fc.up.pt> - 5.1.20-3
+- Use external xbae.
+- Revert test for fedora macro so that it works by default for latest
+  versions if the macro is not defined.
+
 * Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 5.1.20-2
 - Fix html documentation viewer. (#188696)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-17 16:18 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:18 [rpms/grace] epel10.2: - Use external xbae 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox