Updated the homepage URL
Syslog-ng data directory in %{_datadir}/%{name} Include the main library header files in the devel subpackage
This commit is contained in:
parent
d64b71b05f
commit
01047b720f
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
Name: syslog-ng
|
Name: syslog-ng
|
||||||
Version: 3.2.4
|
Version: 3.2.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Next-generation syslog server
|
Summary: Next-generation syslog server
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: http://www.balabit.com/products/syslog_ng/
|
Url: http://www.balabit.com/network-security/syslog-ng
|
||||||
Source0: http://www.balabit.com/downloads/files?path=/syslog-ng/sources/%{version}/source/%{name}_%{version}.tar.gz
|
Source0: http://www.balabit.com/downloads/files?path=/syslog-ng/sources/%{version}/source/%{name}_%{version}.tar.gz
|
||||||
Source1: syslog-ng.conf
|
Source1: syslog-ng.conf
|
||||||
Source2: syslog-ng.service
|
Source2: syslog-ng.service
|
||||||
@ -84,6 +84,7 @@ developing applications that use %{name}.
|
|||||||
--includedir=%{_includedir} \
|
--includedir=%{_includedir} \
|
||||||
--sysconfdir=%{_sysconfdir}/%{name} \
|
--sysconfdir=%{_sysconfdir}/%{name} \
|
||||||
--localstatedir=%{_sharedstatedir}/%{name} \
|
--localstatedir=%{_sharedstatedir}/%{name} \
|
||||||
|
--datadir=%{_datadir}/%{name} \
|
||||||
--with-module-dir=/%{_lib}/%{name} \
|
--with-module-dir=/%{_lib}/%{name} \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-tcp-wrapper \
|
--enable-tcp-wrapper \
|
||||||
@ -123,6 +124,11 @@ make DESTDIR=%{buildroot} install
|
|||||||
# create the local state dir
|
# create the local state dir
|
||||||
%{__install} -d -m 755 %{buildroot}/%{_sharedstatedir}/%{name}
|
%{__install} -d -m 755 %{buildroot}/%{_sharedstatedir}/%{name}
|
||||||
|
|
||||||
|
# install the main library header files
|
||||||
|
%{__install} -d -m 755 %{buildroot}%{_includedir}/%{name}
|
||||||
|
%{__install} -p -m 644 config.h %{buildroot}%{_includedir}/%{name}
|
||||||
|
%{__install} -p -m 644 lib/*.h %{buildroot}%{_includedir}/%{name}
|
||||||
|
|
||||||
# install vim files
|
# install vim files
|
||||||
%{__install} -d -m 755 %{buildroot}%{_datadir}/%{name}
|
%{__install} -d -m 755 %{buildroot}%{_datadir}/%{name}
|
||||||
%{__install} -p -m 644 contrib/syslog-ng.vim %{buildroot}%{_datadir}/%{name}
|
%{__install} -p -m 644 contrib/syslog-ng.vim %{buildroot}%{_datadir}/%{name}
|
||||||
@ -135,7 +141,7 @@ done
|
|||||||
|
|
||||||
ldconfig -N -n %{buildroot}/%{_lib}
|
ldconfig -N -n %{buildroot}/%{_lib}
|
||||||
|
|
||||||
find %{buildroot} -name *.la -exec rm -f '{}' \;
|
find %{buildroot} -name "*.la" -exec rm -f {} \;
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -219,25 +225,34 @@ fi
|
|||||||
%{_bindir}/update-patterndb
|
%{_bindir}/update-patterndb
|
||||||
%{_libdir}/lib%{name}.so.*
|
%{_libdir}/lib%{name}.so.*
|
||||||
%{_libdir}/%{name}/*.so
|
%{_libdir}/%{name}/*.so
|
||||||
%{_datadir}/%{name}
|
|
||||||
|
%dir %{_datadir}/%{name}
|
||||||
|
%{_datadir}/%{name}/syslog-ng.vim
|
||||||
|
%ghost %{_datadir}/vim/
|
||||||
|
|
||||||
# uhm, some better places for those?
|
# uhm, some better places for those?
|
||||||
%{_datadir}/xsd
|
%{_datadir}/%{name}/xsd/
|
||||||
|
|
||||||
%{_mandir}/man1/loggen.1*
|
%{_mandir}/man1/loggen.1*
|
||||||
%{_mandir}/man1/pdbtool.1*
|
%{_mandir}/man1/pdbtool.1*
|
||||||
%{_mandir}/man1/syslog-ng-ctl.1*
|
%{_mandir}/man1/syslog-ng-ctl.1*
|
||||||
%{_mandir}/man5/syslog-ng.conf.5*
|
%{_mandir}/man5/syslog-ng.conf.5*
|
||||||
%{_mandir}/man8/syslog-ng.8*
|
%{_mandir}/man8/syslog-ng.8*
|
||||||
%ghost %{_datadir}/vim/
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libsyslog-ng.so
|
%{_libdir}/libsyslog-ng.so
|
||||||
%{_datadir}/include/scl
|
%{_includedir}/%{name}/
|
||||||
|
# scl files
|
||||||
|
%{_datadir}/%{name}/include/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 16 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 3.2.4-3
|
||||||
|
- Updated the homepage URL
|
||||||
|
- Syslog-ng data directory in %%{_datadir}/%%{name}
|
||||||
|
- Include the main library header files in the devel subpackage
|
||||||
|
|
||||||
* Thu May 12 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 3.2.4-2
|
* Thu May 12 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 3.2.4-2
|
||||||
- No need to create the directory /etc/syslog-ng in the install section
|
- No need to create the directory /etc/syslog-ng in the install section
|
||||||
- Enable the test suite (but excluding the SQL and SSL tests)
|
- Enable the test suite (but excluding the SQL and SSL tests)
|
||||||
|
Loading…
Reference in New Issue
Block a user