📄 commoncpp2.spec
字号:
# Copyright (c) 1999-2001 by Open Source Telecom Corporation.# Verbatim copying and distribution of this entire file is permitted# in any medium, provided this notice is preserved.# NOTE: you can set %_config_commoncpp2 = --without-exceptions in your# ~/.rpmmacros file to build GNU Common C++ without exception handling# for increased optimization and efficiency. This will break some# packages which actually depend on/use C++ exception handling, but is# very worthwhile if you are only using packages which do not.Name: commoncpp2Summary: "commoncpp2" - A GNU package for creating portable C++ programsVersion: 1.3.21Release: 1.ost1Epoch: 0License: GPLGroup: Development/LibrariesURL: http://www.gnu.org/software/commoncpp/commoncpp.htmlSource0: ftp://ftp.gnu.org/gnu/commoncpp/commoncpp2-%{PACKAGE_VERSION}.tar.gzBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootRequires: libxml2Requires: zlibRequires: libstdc++BuildRequires: libxml2-develBuildRequires: zlib-develBuildRequires: libstdc++-develBuildRequires: doxygenBuildRequires: infoPackager: David Sugar <dyfet@ostel.com>%package develRequires: %{name} = %{epoch}:%{version}-%{release}Requires: libxml2-develRequires: zlib-develRequires: libstdc++-develRequires(post,postun): infoGroup: Development/LibrariesSummary: Headers and static link library for commoncpp2%descriptionThis is the second major release of GNU Common C++. GNU Common C++ "2" isa GNU package which offers portable "abstraction" of system services such asthreads, networks, and sockets. GNU Common C++ "2" also offers individualframeworks generally useful to developing portable C++ applicationsincluding a object persistance engine, math libraries, threading, sockets,etc. GNU Common C++ "2" is small, and highly portable. GNU Common C++"2" will support most Unix operating systems as well as W32, in additionto GNU/Linux.%description develThis package provides the link libraries and documentation for buildingGNU Common C++ applications.%prep%setup%build%configure %{_config_commoncpp2}make %{?_smp_mflags}%installrm -fr %{buildroot}%makeinstall%cleanrm -fr %{buildroot}%files#%exclude %{_libdir}/*.la%defattr(-,root,root,-)%doc AUTHORS COPYING COPYING.addendum NEWS README TODO ChangeLog%{_libdir}/libcc*.so.*%files devel%defattr(-,root,root,-)%doc doc/html/*.html doc/html/*.*g*%{_libdir}/libcc*.a%{_libdir}/libcc*.so%{_libdir}/libcc*.la%dir %{_includedir}/cc++2%dir %{_includedir}/cc++2/cc++%{_includedir}/cc++2/cc++/*.h%{_bindir}/ccgnu2-config%{_infodir}/commoncpp2.info*%{_datadir}/aclocal/ost_check2.m4%{_libdir}/pkgconfig/libccext2.pc%{_libdir}/pkgconfig/libccgnu2.pc%post -p /sbin/ldconfig%post devel/sbin/install-info %{_infodir}/commoncpp2.info %{_infodir}/dir%postun -p /sbin/ldconfig%postun devel/sbin/install-info --delete %{_infodir}/commoncpp2.info %{_infodir}/dir%changelog* Sun Nov 9 2003 David Sugar <dyfet[AT]ostel.com> 0:1.1.0-1- "modernized" for more current RPM systems.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -