rpms/grace/F-7 grace-detect-netcdf.diff, NONE, 1.1 grace.spec, 1.16, 1.17
José Abílio Oliveira Matos (jamatos)
fedora-extras-commits at redhat.com
Fri Sep 28 23:39:38 UTC 2007
- Previous message (by thread): rpms/grace/devel grace-detect-netcdf.diff, NONE, 1.1 grace.spec, 1.17, 1.18
- Next message (by thread): rpms/pulseaudio/devel .cvsignore, 1.11, 1.12 pulseaudio.spec, 1.20, 1.21 sources, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jamatos
Update of /cvs/pkgs/rpms/grace/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12593
Modified Files:
grace.spec
Added Files:
grace-detect-netcdf.diff
Log Message:
* Fri Sep 28 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.21-4
- Correctly detect netcdf (signature has changed).
- Add libXmu-devel as BR.
- Add conditional dependency on chkfontpath for <= F8.
grace-detect-netcdf.diff:
--- NEW FILE grace-detect-netcdf.diff ---
--- configure.old 2007-02-16 22:44:49.000000000 +0000
+++ configure 2007-09-28 23:03:29.000000000 +0100
@@ -15181,7 +15181,7 @@
int main(void) {
char *vlib;
vlib = nc_inq_libvers();
- if (strcmp(vlib, "3.0") < 0) {
+ if (strcmp(vlib, "\"3.0\"") < 0) {
exit(1);
}
exit(0);
Index: grace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/grace/F-7/grace.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- grace.spec 28 Aug 2007 17:42:40 -0000 1.16
+++ grace.spec 28 Sep 2007 23:39:06 -0000 1.17
@@ -1,6 +1,9 @@
+%define _x11fontdir %{_datadir}/X11/fonts
+%define catalogue /etc/X11/fontpath.d
+
Name: grace
Version: 5.1.21
-Release: 2%{?dist}
+Release: 4%{?dist}
Summary: Numerical Data Processing and Visualization Tool
License: GPLv2+
@@ -11,13 +14,14 @@
Source2: %{name}.png
Source3: cephes-license.email
Source4: LICENSE.cephes
-Patch: %{name}-gracerc-no_auxiliary.diff
+Patch0: %{name}-gracerc-no_auxiliary.diff
+Patch1: %{name}-detect-netcdf.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Group: Applications/Engineering
BuildRequires: libjpeg-devel, libpng-devel, netcdf-devel
BuildRequires: zlib-devel, fftw2-devel, t1lib-devel
-BuildRequires: xbae-devel, gcc-gfortran
+BuildRequires: xbae-devel, gcc-gfortran, libXmu-devel
BuildRequires: desktop-file-utils, font-utils
%if "%{fedora}" < "5"
@@ -28,8 +32,10 @@
Requires: nedit
Requires: htmlview
+%if "%{fedora}" < "8"
Requires(post): chkfontpath
Requires(postun): chkfontpath
+%endif
%description
Grace is a Motif application for two-dimensional data visualization.
@@ -52,7 +58,9 @@
%prep
%setup -q
-%patch
+%patch0
+%patch1
+
# remove stripping option to have meaningfull debuginfo packages
sed -i -e 's/^\(.*INSTALL_PROGRAM.*\) -s /\1 /' */Makefile
rm -rf Xbae
@@ -69,7 +77,6 @@
--with-x \
--with-f77=gfortran \
--with-extra-incpath=%{_includedir}/netcdf-3 \
- --with-extra-ldpath=%{_libdir}/netcdf-3 \
--with-bundled-xbae=no
make %{?_smp_mflags}
@@ -129,13 +136,19 @@
--add-category Graphics \
%{buildroot}%{_datadir}/applications/%{name}.desktop
+%if "%{fedora}" >= "8"
+mkdir -p $RPM_BUILD_ROOT%{catalogue}
+ln -sf %{_datadir}/%{name}/type1 $RPM_BUILD_ROOT%{catalogue}/%{name}-type1
+%endif
%clean
rm -rf %{buildroot}
%post
+%if "%{fedora}" < "8"
%{_sbindir}/chkfontpath -q -a %{_datadir}/%{name}/fonts/type1
+%endif
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
@@ -143,7 +156,9 @@
%postun
+%if "%{fedora}" < "8"
%{_sbindir}/chkfontpath -q -r %{_datadir}/%{name}/fonts/type1
+%endif
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
@@ -163,7 +178,9 @@
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/*/*
%{_mandir}/man*/*
-
+%if "%{fedora}" >= "8"
+%{catalogue}/%{name}-type1
+%endif
%files devel
%defattr(-,root,root,-)
@@ -175,6 +192,14 @@
%changelog
+* Fri Sep 28 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.21-4
+- Correctly detect netcdf (signature has changed).
+- Add libXmu-devel as BR.
+- Add conditional dependency on chkfontpath for <= F8.
+
+* Thu Sep 27 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.21-3
+- Remove dependency on chkfontpath, thanks to ajax for the patch. (#252277)
+
* Tue Aug 28 2007 José Matos <jamatos[AT]fc.up.pt> - 5.1.21-2
- License fix, rebuild for devel (F8).
- Previous message (by thread): rpms/grace/devel grace-detect-netcdf.diff, NONE, 1.1 grace.spec, 1.17, 1.18
- Next message (by thread): rpms/pulseaudio/devel .cvsignore, 1.11, 1.12 pulseaudio.spec, 1.20, 1.21 sources, 1.13, 1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list