📄 classpath.spec.in
字号:
# $Id: classpath.spec.in,v 1.2 2005/07/04 14:31:01 ziga Exp $%define version_num @PACKAGE_VERSION@%define release_num 1Summary: GNU Classpath Java class librariesName: classpathVersion: %{version_num}Release: %{release_num}Group: Development/ToolsCopyright: GPL+exceptionURL: http://www.classpath.org/BuildRoot: %{_tmppath}/%{name}-rootBuildRequires: jikes, zipPackager: GNU Classpath <classpath@gnu.org>Source: ftp://ftp.gnu.org/pub/gnu/classpath/classpath-%{version_num}.tar.gz%descriptionGNU Classpath, Essential Libraries for Java, is a GNU project to createfree core class libraries for use with virtual machines and compilersfor the Java programming language.%prep%setup -n classpath-%{version_num}%buildpushd ${RPM_BUILD_DIR}/classpath-%{version_num}# Determine if we can build the GTK stuffGTKPEER='disable'if pkg-config --exists 'gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0'; then GTKPEER='enable'fi%configure --with-jikes --enable-jni --${GTKPEER}-gtk-peermakepopd%installpushd ${RPM_BUILD_DIR}/classpath-%{version_num}%{makeinstall}popdpushd ${RPM_BUILD_ROOT}/%{_infodir}rm -f dirfor i in *; do mv $i classpath-$idonepopd%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%cleanrm -rf ${RPM_BUILD_ROOT}%files%defattr(-,root,root)%doc AUTHORS COPYING LICENSE README THANKYOU%{_libdir}/classpath%dir %{_datadir}/classpath%{_libdir}/security/classpath.security%{_datadir}/classpath/glibj.zip%doc %{_datadir}/classpath/api%doc %{_datadir}/classpath/examples%doc %{_infodir}/*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -