acl/packaging/acl-libs.spec

180 lines
5.1 KiB
RPMSpec
Raw Normal View History

Summary: The powerful c/c++ library and server framework
Name: acl-libs
Version: 3.3.0
Release: 46
Group: System/Libs
License: IBM
URL: http://cdnlog-web.qiyi.domain
Packager: Zhang Qiang <qiangzhang@qiyi.com>
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: http://example.com/%{name}-%{version}.tar.gz
2017-06-23 14:25:07 +08:00
%define debug_package %{nil}
%description
One advanced C/C++ library for Linux/Mac/FreeBSD/Solaris(x86)/Windows/Android/IOS http://zsxxsz.iteye.com/.
%package -n acl-master
Summary: acl master framework
License: IBM
Group: System Environment/Tools
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description -n acl-master
acl master framework
%prep
%setup -q
%build
make build_one -j 32
2017-07-26 15:15:30 +08:00
make -C lib_fiber
%install
make packinstall DESTDIR=$RPM_BUILD_ROOT
2017-07-26 15:15:30 +08:00
make -C lib_fiber packinstall DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf %{buildroot}
2017-06-08 10:24:23 +08:00
%post -n acl-master
/sbin/chkconfig --add master
%preun -n acl-master
if [ "$1" = "0" ]; then
service master stop >/dev/null 2>&1 ||:
/sbin/chkconfig --del master
fi
%postun -n acl-master
if [ "$1" -ge "1" ]; then
# TODO: upgrade should be support
service master masterrestart > /dev/null 2>&1 ||:
fi
%files
%defattr(-,root,root,-)
# TODO: should be renamed
%{_bindir}/acl_master
%{_includedir}/acl-lib/acl
%{_includedir}/acl-lib/acl_cpp
2017-07-26 15:15:30 +08:00
%{_includedir}/acl-lib/fiber
%{_includedir}/acl-lib/protocol
/usr/lib/libacl_all.a
2017-07-26 15:15:30 +08:00
/usr/lib/libfiber.a
/usr/lib/libfiber_cpp.a
%files -n acl-master
%defattr(-,root,root)
/opt/soft
2017-06-08 10:24:23 +08:00
/etc/init.d/master
2017-09-19 13:57:58 +08:00
%changelog
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-46-20171222.16
- fiber: fixed one bug in event_prepare of event.c
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-45-20171222.16
- master restart service ok by remote command
2017-12-22 15:24:35 +08:00
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-44-20171222.15
- fixed compiling error on gcc4.1
* Fri Dec 22 2017 zhengshuxin@qiyi.com 3.3.0-43-20171222.14
- fixed master's bug when reload services
2017-12-15 11:07:17 +08:00
* Thu Dec 15 2017 zhengshuxin@qiyi.com 3.3.0-42-20171215.11
- test multithreads writing to mbox
2017-12-08 10:01:41 +08:00
* Wed Dec 08 2017 zhengshuxin@qiyi.com 3.3.0-41-20171208.10
- fixed one compile error
2017-12-08 09:56:15 +08:00
* Wed Dec 08 2017 zhengshuxin@qiyi.com 3.3.0-40-20171208.09
- changed charset from gbk to utf-8 for all service's configure files
* Wed Dec 05 2017 zhengshuxin@qiyi.com 3.3.0-39-20171205.15
- master's configure main.cf: changed service_throttle_time from 60s to 10s
* Wed Dec 05 2017 zhengshuxin@qiyi.com 3.3.0-38-20171205.12
- master_ctld's configure was updated
- fixed some bugs in redis module for supporting binary data
* Wed Nov 28 2017 zhengshuxin@qiyi.com 3.3.0-37-20171128.12
2017-11-28 11:38:04 +08:00
- update package version
* Sat Nov 16 2017 zhengshuxin@qiyi.com 3.3.0-36-20171116.12
2017-11-16 11:37:57 +08:00
- compiling error on Centos6.x
* Sat Nov 16 2017 zhengshuxin@qiyi.com 3.3.0-35-20171116.11
2017-11-16 11:18:22 +08:00
- add master_ctl into rpm package
* Sat Nov 13 2017 zhengshuxin@qiyi.com 3.3.0-34-20171113.09
2017-11-13 09:55:00 +08:00
- acl_udp_server & master upgrade
* Sat Oct 27 2017 zhengshuxin@qiyi.com 3.3.0-33-20171027.14
2017-10-27 14:15:42 +08:00
- fixed one compiling error
* Sat Oct 27 2017 zhengshuxin@qiyi.com 3.3.0-32-20171027.13
2017-10-27 13:54:58 +08:00
- fixed one bug in fiber that int maybe overflow
* Sat Oct 16 2017 zhengshuxin@qiyi.com 3.3.0-31-20171016.10
- auto compiling fiber module for Linux
* Sat Oct 10 2017 zhengshuxin@qiyi.com 3.3.0-30-20171010.14
2017-10-10 14:05:57 +08:00
- fiber_mutex: fixed bugs
* Sat Oct 10 2017 zhengshuxin@qiyi.com 3.3.0-29-20171010.11
- fiber_mutex: fixed one bug when thread_safe is true
* Sat Oct 07 2017 zhengshuxin@qiyi.com 3.3.0-28-20171007.23
2017-10-08 12:07:17 +08:00
- add event_mutex in lib_acl_cpp
* Sat Sep 29 2017 zhengshuxin@qiyi.com 3.3.0-27-20170929.23
- fiber_mutex: when blocked by thread mutex, the current fiber will be swapout
* Sat Sep 29 2017 zhengshuxin@qiyi.com 3.3.0-26-20170929.18
2017-09-29 17:57:54 +08:00
- version: upgrade version to 3.3.0-26
* Sat Sep 29 2017 zhengshuxin@qiyi.com 3.3.0-25-20170929.17
- version: upgrade version to 3.3.0-25
2017-09-28 17:15:40 +08:00
* Sat Sep 28 2017 zhengshuxin@qiyi.com 3.3.0-23-20170928.12
2017-09-28 12:32:49 +08:00
- valgrind: free global objects so valgrind no reporting error when process exiting
* Sat Sep 23 2017 zhengshuxin@qiyi.com 3.3.0-22-20170923.19
2017-09-23 19:53:13 +08:00
- fiber: hook mkdir/stat/lstat/fstat
* Fri Sep 22 2017 zhengshuxin@qiyi.com 3.3.0-21-20170922.18
2017-09-22 18:08:30 +08:00
- acl_master: restructure web managing module.
* Thu Sep 21 2017 zhengshuxin@qiyi.com 3.3.0-20-20170921.16
2017-09-21 16:32:00 +08:00
- rpm: add version to 3.3.0-20
* Thu Sep 21 2017 zhengshuxin@qiyi.com 3.3.0-19-20170921.16
2017-09-21 16:21:42 +08:00
- bitmap: some method maybe collision with some macro on some OS
* Thu Sep 21 2017 zhengshuxin@qiyi.com 3.3.0-18-20170921.15
2017-09-21 16:00:44 +08:00
- event: fixed bug in events timer
* Wed Sep 20 2017 zhengshuxin@qiyi.com 3.3.0-17-20170920.17
- fiber: hook_net.c supports epoll_create1 API
* Wed Sep 20 2017 zhengshuxin@qiyi.com 3.3.0-16-20170920.17
2017-09-20 17:31:17 +08:00
- add one trying for checking fd's type
- Just increase version
2017-09-19 18:26:44 +08:00
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-15-20170919.18
- Just increase version
2017-09-19 17:20:48 +08:00
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-14-20170919.17
- Fixed one bug in acl_udp_server.c when sending status to acl_master
2017-09-19 13:57:58 +08:00
* Tue Sep 19 2017 zhengshuxin@qiyi.com 3.3.0-13-20170919.13
- Add ci support for gitlab
- Add timer trigger