📄 jasper.spec.in
字号:
# Note that this is NOT a relocatable package%define package_name jasper%define ver @JAS_VERSION@%define prefix /usr%define datadir %{prefix}/share%define release @JAS_RPM_RELEASE@Summary: JasPerName: %{package_name}Version: %{ver}Release: %{release}Copyright: Modified BSDGroup: Development/Libraries# FIXME: Source: http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.650.0.tar.gzBuildRoot: /var/tmp/%{package_name}-%{version}-rootRequires: libjpegBuildRequires: libjpeg-develURL: http://www.ece.uvic.ca/~mdadams/jasper/%description JasPer is a collection of software (i.e., a library and application programs) for the coding and manipulation of images. This software can handle image data in a variety of formats. One such format supported by JasPer is the JPEG-2000 format defined in ISO/IEC 15444-1:2000.%package develSummary: Include Files and DocumentationGroup: Development/LibrariesRequires: %{package_name} = %{ver}%description develJasPer is a collection of software (i.e., a library and application programs) for the coding and manipulation of images. This software can handle image data in a variety of formats. One such format supported by JasPer is the JPEG-2000 code stream format defined in ISO/IEC 15444-1:2000.%prep%setup./configure --prefix=/usr --enable-shared# build%build#if [ "$SMP" != "" ]; then# (make "MAKE=make -k -j $SMP"; exit 0)# make#else make#fi# install%installrm -rf $RPM_BUILD_ROOTmake prefix=$RPM_BUILD_ROOT%{prefix} install# clean%cleanrm -rf $RPM_BUILD_ROOT%post -p /sbin/ldconfig%postun -p /sbin/ldconfig# files main package%files%defattr(-, root, root)%doc README LICENSE ChangeLog%{prefix}/bin/*%{prefix}/lib/lib*.so.*# files devel package%files devel%defattr(-, root, root)# no API docs yet :(# %doc doc/html/*%{prefix}/include/jasper/*%{prefix}/lib/lib*.so%{prefix}/lib/lib*.a%{prefix}/lib/lib*.la%changelog* Fri Oct 25 2002 Alexander D. Karaivanov <adk@medical-insight.com> - spec file created
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -