代码拉取完成,页面将自动刷新
同步操作将从 happyfish100/libfastcommon 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%define LibFastcommonDevel libfastcommon-devel
%define CommitVersion %(echo $COMMIT_VERSION)
Name: libfastcommon
Version: 1.0.61
Release: 1%{?dist}
Summary: c common functions library extracted from my open source projects FastDFS
License: LGPL
Group: Arch/Tech
URL: http://github.com/happyfish100/libfastcommon/
Source: http://github.com/happyfish100/libfastcommon/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libcurl-devel
Requires: libcurl
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
%description
c common functions library extracted from my open source projects FastDFS.
this library is very simple and stable. functions including: string, logger,
chain, hash, socket, ini file reader, base64 encode / decode,
url encode / decode, fasttimer etc.
commit version: %{CommitVersion}
%package devel
Summary: Development header file
Requires: libcurl-devel
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the header files of libfastcommon
commit version: %{CommitVersion}
%prep
%setup -q
%build
./make.sh clean && ./make.sh
%install
rm -rf %{buildroot}
DESTDIR=$RPM_BUILD_ROOT ./make.sh install
%post
%preun
%postun
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
/usr/lib64/libfastcommon.so*
%files devel
%defattr(-,root,root,-)
/usr/include/fastcommon/*
%changelog
* Mon Jun 23 2014 Zaixue Liao
- first RPM release (1.0)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。