📄 iasp.spec
字号:
# Note that this is NOT a relocatable package# defaults for redhat%define prefix /usr%define sysconfdir /etc%define release 3%define _unpackage_files_terminate_build 0Summary: IASP is a synthetic earth model Name: iaspVersion: 91.0.7Release: %releaseCopyright: GPLGroup: Applications/SciencesURL: http://guenievre.u-strasbg.fr/nightly/Source: %{name}-%{version}.tar.gz Packager: St閜hane Genaud <genaud@icps.u-strasbg.fr>BuildRoot: /var/tmp/%{name}-%{version}-root#------ abstraction of iasp or iaspc : velocity-model ------Provides : velocity-model%descriptionIASP returns a seismic ray parameter given a phase name, a source anddestination of the ray.%prep%setup -qif [ ! -f configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $ARCH_FLAGS --prefix=%{prefix} --prefix=%{prefix} --sysconfdir=%{sysconfdir} --datadir=%{prefix}/shareelse CFLAGS="$RPM_OPT_FLAGS" ./configure $ARCH_FLAGS --prefix=%{prefix} --sysconfdir=%{sysconfdir} --datadir=%{prefix}/share fi%build#./configure $ARCH_FLAGS --prefix=%{prefix}make%installmake DESTDIR=$RPM_BUILD_ROOT install%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%doc AUTHORS %doc COPYING %doc ChangeLog %doc INSTALL %doc NEWS %doc README %doc TODO%config %{prefix}/bin/ttimes%{prefix}/lib/libiasp.*%{prefix}/include/iasp/iasp.h%{prefix}/share/iasp/iasp91.hed%{prefix}/share/iasp/iasp91.tbl%{prefix}/doc/%{name}###################################################################%changelog
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -