forked from pool/atheme
This commit is contained in:
parent
0a362b7861
commit
594bafae14
12
atheme.spec
12
atheme.spec
@ -1,7 +1,7 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: atheme
|
Name: atheme
|
||||||
Version: 2.1.1
|
Version: 2.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
%define pkg_name atheme
|
%define pkg_name atheme
|
||||||
#
|
#
|
||||||
@ -15,9 +15,8 @@ BuildRequires: openssl-devel pkgconfig
|
|||||||
%define atheme_run /var/run/atheme
|
%define atheme_run /var/run/atheme
|
||||||
#
|
#
|
||||||
URL: http://www.atheme.net/
|
URL: http://www.atheme.net/
|
||||||
Source: http://www.atheme.net/releases/atheme-%{version}.tar.gz
|
Source: http://distfiles.atheme.org/atheme-%{version}.tar.gz
|
||||||
Source1: atheme.init
|
Source1: atheme.init
|
||||||
Patch: atheme-2.1.1_restart.patch
|
|
||||||
#
|
#
|
||||||
Summary: A portable, secure set of open source, modular IRC services
|
Summary: A portable, secure set of open source, modular IRC services
|
||||||
%description
|
%description
|
||||||
@ -51,11 +50,10 @@ Authors:
|
|||||||
%debug_package
|
%debug_package
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{pkg_name}-%{version}
|
%setup -n %{pkg_name}-%{version}
|
||||||
%patch
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} > 1000
|
%if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030
|
||||||
export CFLAGS="%{optflags} -fstack-protector-all"
|
export CFLAGS="%{optflags} -fstack-protector"
|
||||||
%endif
|
%endif
|
||||||
%configure \
|
%configure \
|
||||||
--sysconfdir=%{_sysconfdir}/%{pkg_name} \
|
--sysconfdir=%{_sysconfdir}/%{pkg_name} \
|
||||||
@ -111,7 +109,7 @@ export CFLAGS="%{optflags} -fstack-protector-all"
|
|||||||
%{_sysconfdir}/%{pkg_name}/example.conf
|
%{_sysconfdir}/%{pkg_name}/example.conf
|
||||||
%{_sysconfdir}/%{pkg_name}/example.motd
|
%{_sysconfdir}/%{pkg_name}/example.motd
|
||||||
%{_sysconfdir}/%{pkg_name}/example.userserv.conf
|
%{_sysconfdir}/%{pkg_name}/example.userserv.conf
|
||||||
%{_sbindir}/%{pkg_name}
|
%{_sbindir}/atheme-services
|
||||||
%{_libdir}/%{pkg_name}
|
%{_libdir}/%{pkg_name}
|
||||||
%{_datadir}/%{pkg_name}
|
%{_datadir}/%{pkg_name}
|
||||||
%doc %{_docdir}/%{name}
|
%doc %{_docdir}/%{name}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user