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