1 Star 0 Fork 7

jjzhang166 / libserverframe

forked from happyfish100 / libserverframe 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
libserverframe.spec 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
%define LibserverframeDevel libserverframe-devel
%define CommitVersion %(echo $COMMIT_VERSION)
Name: libserverframe
Version: 1.1.10
Release: 1%{?dist}
Summary: network framework library
License: AGPL v3.0
Group: Arch/Tech
URL: http://github.com/happyfish100/libserverframe/
Source: http://github.com/happyfish100/libserverframe/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libfastcommon-devel >= 1.0.53
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
Requires: libfastcommon >= 1.0.53
%description
common framework library
commit version: %{CommitVersion}
%package devel
Summary: Development header file
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the header files of libserverframe
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/libserverframe.so*
%files devel
%defattr(-,root,root,-)
/usr/include/sf/*
%changelog
* Mon Jun 23 2014 Zaixue Liao
- first RPM release (1.0)
C
1
https://gitee.com/jjzhang166/libserverframe.git
git@gitee.com:jjzhang166/libserverframe.git
jjzhang166
libserverframe
libserverframe
master

搜索帮助