2007-01-01 12:14:37 +00:00
|
|
|
|
2010-03-22 18:44:40 +00:00
|
|
|
Name: libpreludedb
|
2010-04-30 17:30:36 +00:00
|
|
|
Epoch: 1
|
2010-03-22 18:44:40 +00:00
|
|
|
Version: 1.0.0
|
2013-03-10 14:26:52 +00:00
|
|
|
Release: 16%{?dist}
|
2007-01-01 16:11:27 +00:00
|
|
|
Summary: Provide the framework for easy access to the Prelude database
|
2007-01-01 12:14:37 +00:00
|
|
|
Group: System Environment/Libraries
|
2008-07-04 17:33:33 +00:00
|
|
|
License: GPLv2+
|
2007-01-01 12:14:37 +00:00
|
|
|
URL: http://prelude-ids.org/
|
2008-08-27 20:51:55 +00:00
|
|
|
Source0: http://prelude-ids.org/download/releases/%{name}/%{name}-%{version}.tar.gz
|
2012-08-08 12:42:02 +00:00
|
|
|
# Adjust bundled gnulib to pass compilation with glibc-2.16.6, bug #839607
|
|
|
|
Patch0: libprelude-1.0.0-Fix-building-with-glibc-2.16.6.patch
|
2007-01-01 12:14:37 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2010-03-22 18:44:40 +00:00
|
|
|
BuildRequires: libprelude-devel python-devel perl-devel
|
|
|
|
BuildRequires: sqlite-devel mysql-devel, postgresql-devel
|
2012-08-08 12:42:02 +00:00
|
|
|
# For libprelude-1.0.0-Fix-building-with-glibc-2.16.6.patch:
|
|
|
|
BuildRequires: autoconf, automake
|
2012-09-06 13:36:46 +00:00
|
|
|
# This package uses gnulib. It was granted an exception
|
|
|
|
# https://fedorahosted.org/fpc/ticket/174
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The PreludeDB Library provides an abstraction layer upon the type and the
|
2008-01-14 20:43:27 +00:00
|
|
|
format of the database used to store IDMEF alerts. It allows developers
|
|
|
|
to use the Prelude IDMEF database easily and efficiently without
|
|
|
|
worrying about SQL, and to access the database independently of the
|
|
|
|
type/format of the database.
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and headers for PreludeDB
|
|
|
|
Group: System Environment/Libraries
|
2010-05-02 13:34:58 +00:00
|
|
|
Requires: libpreludedb = %{epoch}:%{version}-%{release}, libprelude-devel, automake
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The PreludeDB Library provides an abstraction layer upon the type
|
|
|
|
and the format of the database used to store IDMEF alerts. It
|
|
|
|
allows developers to use the Prelude IDMEF database easily and
|
2010-03-22 18:44:40 +00:00
|
|
|
efficiently without worrying about SQL, and to access the
|
2007-01-01 12:14:37 +00:00
|
|
|
database independently of the type/format of the database.
|
|
|
|
|
|
|
|
%package mysql
|
|
|
|
Summary: Plugin to use prelude with a mysql database
|
|
|
|
Group: System Environment/Libraries
|
2010-05-02 13:34:58 +00:00
|
|
|
Requires: libpreludedb = %{epoch}:%{version}-%{release}, mysql, mysql-server
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%description mysql
|
2010-03-22 18:44:40 +00:00
|
|
|
This plugin allows prelude to store alerts into a mysql database.
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%package pgsql
|
|
|
|
Summary: Plugin to use prelude with a pgsql database
|
|
|
|
Group: System Environment/Libraries
|
2010-05-02 13:34:58 +00:00
|
|
|
Requires: libpreludedb = %{epoch}:%{version}-%{release}, postgresql-server
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%description pgsql
|
2010-03-22 18:44:40 +00:00
|
|
|
This plugin allows prelude to store alerts into a pgsql database.
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%package sqlite
|
|
|
|
Summary: Plugin to use prelude with a sqlite database
|
|
|
|
Group: System Environment/Libraries
|
2010-05-02 13:34:58 +00:00
|
|
|
Requires: libpreludedb = %{epoch}:%{version}-%{release}, sqlite
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%description sqlite
|
2010-03-22 18:44:40 +00:00
|
|
|
This plugin allows prelude to store alerts into a sqlite database.
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%package python
|
|
|
|
Summary: Python bindings for libpreludedb
|
|
|
|
Group: System Environment/Libraries
|
2010-05-02 13:34:58 +00:00
|
|
|
Requires: libpreludedb = %{epoch}:%{version}-%{release}
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%description python
|
|
|
|
Python bindings for libpreludedb.
|
|
|
|
|
|
|
|
%package perl
|
|
|
|
Summary: Perl bindings for libpreludedb
|
|
|
|
Group: System Environment/Libraries
|
2010-05-02 13:34:58 +00:00
|
|
|
Requires: libpreludedb = %{epoch}:%{version}-%{release}
|
2008-07-04 17:33:33 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%description perl
|
|
|
|
Perl bindings for libpreludedb.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-08-08 12:42:02 +00:00
|
|
|
# For libprelude-1.0.0-Fix-building-with-glibc-2.16.6.patch
|
|
|
|
%patch0 -p1
|
2013-03-10 14:26:52 +00:00
|
|
|
autoreconf -i
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
|
2008-06-25 16:26:57 +00:00
|
|
|
--with-perl-installdirs=vendor \
|
2007-01-01 12:14:37 +00:00
|
|
|
--disable-static
|
|
|
|
|
|
|
|
# removing rpath
|
|
|
|
sed -i.rpath -e 's|LD_RUN_PATH=""||' bindings/Makefile
|
2008-07-04 17:33:33 +00:00
|
|
|
sed -i.rpath -e 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
|
2007-01-01 12:14:37 +00:00
|
|
|
|
2009-08-25 15:59:49 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL="%{__install} -c -p"
|
|
|
|
cp -p ChangeLog README NEWS COPYING LICENSE.README HACKING.README \
|
2008-07-04 17:33:33 +00:00
|
|
|
%{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
2007-01-01 12:14:37 +00:00
|
|
|
rm -f %{buildroot}/%{_libdir}/%{name}.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/%{name}/plugins/formats/classic.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/%{name}/plugins/sql/mysql.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/%{name}/plugins/sql/pgsql.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/%{name}/plugins/sql/sqlite3.la
|
2008-07-04 17:33:33 +00:00
|
|
|
chmod 755 %{buildroot}%{python_sitearch}/_preludedb.so
|
|
|
|
find %{buildroot} -type f \( -name .packlist -o -name perllocal.pod \) -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/preludedb-admin
|
|
|
|
%dir %{_libdir}/%{name}/
|
|
|
|
%{_libdir}/%{name}*.so.*
|
|
|
|
%dir %{_libdir}/%{name}/plugins/
|
|
|
|
%dir %{_libdir}/%{name}/plugins/formats/
|
|
|
|
%{_libdir}/%{name}/plugins/formats/*
|
|
|
|
%dir %{_defaultdocdir}/%{name}-%{version}/
|
|
|
|
%doc %{_defaultdocdir}/%{name}-%{version}/[A-Z]*
|
|
|
|
%dir %{_libdir}/%{name}/plugins/sql/
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/classic/
|
2008-01-14 20:43:27 +00:00
|
|
|
%{_mandir}/man1/preludedb-admin.1.gz
|
2007-01-01 12:14:37 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}-config
|
|
|
|
%{_libdir}/%{name}*.so
|
|
|
|
%dir %{_includedir}/%{name}/
|
|
|
|
%{_includedir}/%{name}/*
|
|
|
|
%{_datadir}/aclocal/libpreludedb.m4
|
|
|
|
%doc %{_defaultdocdir}/%{name}-%{version}/html/
|
|
|
|
|
|
|
|
%files python
|
2008-07-04 17:33:33 +00:00
|
|
|
%defattr(-,root,root)
|
2007-01-01 12:14:37 +00:00
|
|
|
%{python_sitearch}/*
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
%defattr(0755,root,root)
|
2008-07-04 17:33:33 +00:00
|
|
|
%{perl_vendorarch}/auto/PreludeDB/
|
2007-01-01 12:14:37 +00:00
|
|
|
%attr(0644,root,root) %{perl_vendorarch}/PreludeDB.pm
|
|
|
|
|
|
|
|
%files mysql
|
|
|
|
%defattr(0755,root,root)
|
|
|
|
%{_libdir}/%{name}/plugins/sql/mysql.so
|
|
|
|
%attr(0644,root,root) %{_datadir}/%{name}/classic/mysql*.sql
|
|
|
|
%attr(0755,root,root) %{_datadir}/%{name}/classic/*.sh
|
|
|
|
|
|
|
|
%files sqlite
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/%{name}/plugins/sql/sqlite3.so
|
|
|
|
%{_datadir}/%{name}/classic/sqlite*
|
|
|
|
|
|
|
|
%files pgsql
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/%{name}/plugins/sql/pgsql.so
|
|
|
|
%{_datadir}/%{name}/classic/pgsql*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-03-10 14:26:52 +00:00
|
|
|
* Sun Mar 10 2013 Steve Grubb <sgrubb@redhat.com> - 1:1.0.0-16
|
|
|
|
- Add -i to autoreconf to add missing test-driver
|
|
|
|
|
2013-02-14 05:06:37 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-09-06 13:36:46 +00:00
|
|
|
* Thu Sep 06 2012 Steve Grubb <sgrubb@redhat.com> - 1:1.0.0-14
|
|
|
|
- Add provides bundled gnulib
|
|
|
|
|
2012-08-08 12:42:02 +00:00
|
|
|
* Wed Aug 08 2012 Petr Pisar <ppisar@redhat.com> - 1:1.0.0-13
|
|
|
|
- Fix building with glibc-2.16.6 (bug #839607)
|
|
|
|
|
2012-07-19 20:55:50 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-10 20:57:55 +00:00
|
|
|
* Sun Jun 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.0.0-11
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 08:18:46 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-17 19:13:46 +00:00
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.0.0-9
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-06-10 11:33:36 +00:00
|
|
|
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:1.0.0-8
|
|
|
|
- Perl 5.14 mass rebuild
|
|
|
|
|
2011-03-23 18:27:02 +00:00
|
|
|
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 1:1.0.0-7
|
|
|
|
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
|
|
|
|
|
2011-02-09 20:45:08 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-22 02:17:07 +00:00
|
|
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1:1.0.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2010-06-01 18:37:14 +00:00
|
|
|
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.0.0-4
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-05-02 13:34:58 +00:00
|
|
|
* Sun May 02 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0-3
|
|
|
|
- Fix requires
|
|
|
|
|
2010-04-30 17:30:36 +00:00
|
|
|
* Fri Apr 30 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0-2
|
2010-03-22 18:44:40 +00:00
|
|
|
- new upstream release
|
|
|
|
|
2010-01-30 14:34:39 +00:00
|
|
|
* Sat Jan 30 2010 Steve Grubb <sgrubb@redhat.com> 1.0.0rc1-1
|
|
|
|
- new upstream bugfix release
|
|
|
|
|
2009-12-17 20:46:11 +00:00
|
|
|
* Thu Dec 17 2009 Steve Grubb <sgrubb@redhat.com> 0.9.15.3-1
|
|
|
|
- new upstream bugfix release
|
|
|
|
|
2009-12-07 18:19:12 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.9.15.1-6
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-08-25 15:59:49 +00:00
|
|
|
* Tue Aug 25 2009 Steve Grubb <sgrubb@redhat.com> - 0.9.15.1-5
|
|
|
|
- rebuild for new openssl
|
|
|
|
|
2009-02-25 17:36:09 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.15.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-24 16:55:40 +00:00
|
|
|
* Sat Jan 24 2009 Caolán McNamara <caolanm@redhat.com> - 0.9.15.1-3
|
|
|
|
- rebuild for dependencies
|
|
|
|
|
2008-11-29 16:48:04 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9.15.1-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-14 12:11:15 +00:00
|
|
|
* Sun Sep 14 2008 Steve Grubb <sgrubb@redhat.com> 0.9.15.1-1
|
|
|
|
- new upstream bugfix release
|
|
|
|
|
2008-08-27 20:51:55 +00:00
|
|
|
* Wed Aug 27 2008 Steve Grubb <sgrubb@redhat.com> 0.9.15-1
|
|
|
|
- new upstream release
|
|
|
|
|
2008-07-04 17:33:33 +00:00
|
|
|
* Fri Jul 04 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.14.1-4
|
|
|
|
- Fix perl bindings (#453935)
|
|
|
|
|
2008-06-25 12:22:37 +00:00
|
|
|
* Wed Jun 25 2008 Tomas Mraz <tmraz@redhat.com> - 0.9.14.1-3
|
|
|
|
- rebuild with new gnutls
|
2008-06-25 16:26:57 +00:00
|
|
|
- fix install of perl bindings
|
2008-06-25 12:22:37 +00:00
|
|
|
|
2008-02-20 05:54:26 +00:00
|
|
|
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.14.1-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-14 20:43:27 +00:00
|
|
|
* Mon Jan 14 2008 Steve Grubb <sgrubb@redhat.com> 0.9.14.1-1
|
|
|
|
- new upstream version 0.9.14.1
|
|
|
|
|
2007-12-09 09:43:35 +00:00
|
|
|
* Sun Dec 09 2007 <alexlan at fedoraproject dot org> - 0.9.11.1-4
|
|
|
|
- Add missing BR: perl-devel
|
|
|
|
|
2007-12-06 19:48:27 +00:00
|
|
|
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.9.11.1-3
|
|
|
|
- Rebuild for deps
|
|
|
|
|
2007-01-05 21:01:32 +00:00
|
|
|
* Fri Jan 05 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.11.1-2
|
2007-01-05 18:56:55 +00:00
|
|
|
- moved to new upstream version 0.9.11.1
|
|
|
|
|
2007-01-01 12:49:05 +00:00
|
|
|
* Mon Jan 01 2007 Thorsten Scherf <tscherf@redhat.com> 0.9.11-4
|
2007-01-01 16:11:27 +00:00
|
|
|
- added x86_64-sqlite3.patch to resolve x86_86 build problems
|
2007-01-01 12:49:05 +00:00
|
|
|
|
2007-01-01 12:14:37 +00:00
|
|
|
* Sun Dec 31 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.11-3
|
|
|
|
- resolved macro problem in changelog
|
|
|
|
- changed several dirowner
|
|
|
|
- moved html docs into -devel
|
|
|
|
|
|
|
|
* Sat Dec 30 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.11-2
|
|
|
|
- corrected file list entries
|
|
|
|
- added new BuildReqs to the devel-package
|
|
|
|
- changed dirowner
|
|
|
|
- fixed x86_86 arch build problem with %%python_sitearch
|
|
|
|
|
|
|
|
* Fri Dec 29 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.11-1
|
|
|
|
- resolved rpath issue
|
|
|
|
- added python_sitearch and python_sitelib
|
|
|
|
- fixed permissions problem
|
|
|
|
- moved to new upstream version 0.9.11
|
|
|
|
|
|
|
|
* Mon Nov 20 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.10-2
|
|
|
|
- Some minor fixes in requirements
|
|
|
|
|
|
|
|
* Tue Oct 24 2006 Thorsten Scherf <tscherf@redhat.com> 0.9.10-1
|
|
|
|
- New fedora build based on release 0.9.10
|
2007-01-01 16:11:27 +00:00
|
|
|
- New fedora build based on release 0.9.10
|
2007-01-01 12:14:37 +00:00
|
|
|
|