?? pslib.spec.in
字號:
# Note that this is NOT a relocatable package%define ver @VERSION@%define prefix /usrSummary: Library for creating PostScriptName: pslibVersion: %verRelease: 1License: LGPLGroup: Development/LibrariesSource: http://prdownloads.sourceforge.net/pslib/pslib-%{ver}.tar.gzBuildRoot: /var/tmp/pslib-%{PACKAGE_VERSION}-rootURL: http://pslib.sourceforge.net/Docdir: %{prefix}/doc%descriptionThis library allows to create PostScript files.%package develSummary: Libraries, includes, etc. to develop PostScript applicationsGroup: Development/LibrariesRequires: pslib = %{version}%description develLibraries, include files, etc you can use to develop PostScript applications.%changelog%prep%setup%build# Needed for snapshot releases.if [ ! -f configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{prefix} --mandir=%{prefix}/share/manelse CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --mandir=%{prefix}/share/manfiif [ "$SMP" != "" ]; then (make "MAKE=make -k -j $SMP"; exit 0) makeelse makefi%installrm -rf $RPM_BUILD_ROOTmake DESTDIR=$RPM_BUILD_ROOT install%cleanrm -rf $RPM_BUILD_ROOT%post -p /sbin/ldconfig%postun -p /sbin/ldconfig%files%defattr(-, root, root)%doc AUTHORS ChangeLog NEWS README COPYING%{prefix}/lib/lib*.so.*%attr(-,root,root) %{prefix}/share/locale/*/LC_MESSAGES/*%files devel%defattr(-, root, root)%{prefix}/lib/lib*.so%{prefix}/lib/*a%{prefix}/lib/*la%{prefix}/include/*%{prefix}/lib/pkgconfig/*%{prefix}/share/pslib/*%doc %{prefix}/share/man/man3/*.3*
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -