1 |
%define name ircd-hybrid |
%define name ircd-hybrid |
2 |
%define version 7.2.3 |
%define version 7.2.3 |
3 |
%define release %mkrel 12 |
%define release %mkrel 13 |
4 |
%define _messagesdir %{_libdir}/ircd-hybrid/messages |
%define _messagesdir %{_libdir}/ircd-hybrid/messages |
5 |
|
|
6 |
# default: Don't build with IPv6 for production server |
# default: Don't build with IPv6 for production server |
28 |
Patch3: %{name}-7.2.3-fix-x86_64-build.patch |
Patch3: %{name}-7.2.3-fix-x86_64-build.patch |
29 |
Patch4: %{name}-7.2.3-fix-module-path.patch |
Patch4: %{name}-7.2.3-fix-module-path.patch |
30 |
Patch5: ircd-hybrid-7.2.3-fix-str-fmt.patch |
Patch5: ircd-hybrid-7.2.3-fix-str-fmt.patch |
31 |
|
Patch6: ircd-hybrid-7.2.3-CVE-2013-0238.patch |
32 |
|
|
33 |
Requires(post,postun): rpm-helper update-alternatives |
Requires(post,postun): rpm-helper update-alternatives |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
|
34 |
BuildRequires: autoconf |
BuildRequires: autoconf |
35 |
BuildRequires: automake |
BuildRequires: automake |
36 |
BuildRequires: openssl-devel >= 0.9.7 |
BuildRequires: openssl-devel >= 0.9.7 |
60 |
%patch3 -p0 |
%patch3 -p0 |
61 |
%patch4 -p0 |
%patch4 -p0 |
62 |
%patch5 -p0 |
%patch5 -p0 |
63 |
|
%patch6 -p1 |
64 |
|
|
65 |
# Clear all before start |
# Clear all before start |
66 |
#rm -rf `find -type d -name autom4te.cache` |
#rm -rf `find -type d -name autom4te.cache` |
201 |
%defattr(644,root,root,755) |
%defattr(644,root,root,755) |
202 |
%{_includedir}/%{name} |
%{_includedir}/%{name} |
203 |
%doc ChangeLog |
%doc ChangeLog |
|
|
|
|
|
|
|
|
|