diff --git a/.liblognorm.metadata b/.liblognorm.metadata new file mode 100644 index 0000000..63e809b --- /dev/null +++ b/.liblognorm.metadata @@ -0,0 +1 @@ +b1e183fa62a22d4c7edf40c8a6373e0b38ef840d SOURCES/liblognorm-0.3.7.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/liblognorm-0.3.4-pc-file.patch b/SOURCES/liblognorm-0.3.4-pc-file.patch new file mode 100644 index 0000000..6361ae2 --- /dev/null +++ b/SOURCES/liblognorm-0.3.4-pc-file.patch @@ -0,0 +1,9 @@ +--- x/lognorm.pc.in 2012-09-20 17:19:10.901594600 +0530 ++++ y/lognorm.pc.in 2012-09-20 17:20:22.076596296 +0530 +@@ -6,5 +6,5 @@ + Name: lognorm + Description: fast samples-based log normalization library + Version: @VERSION@ +-Libs: -L${libdir} -llognorm -lee -lestr ++Libs: -L${libdir} -llognorm + Cflags: -I${includedir} diff --git a/SPECS/liblognorm.spec b/SPECS/liblognorm.spec new file mode 100644 index 0000000..be6666c --- /dev/null +++ b/SPECS/liblognorm.spec @@ -0,0 +1,93 @@ +Name: liblognorm +Version: 0.3.7 +Release: 1%{?dist} +Summary: Fast samples-based log normalization library + +License: LGPLv2+ +URL: http://www.liblognorm.com +Source0: http://www.liblognorm.com/files/download/%{name}-%{version}.tar.gz +Patch1: liblognorm-0.3.4-pc-file.patch + +BuildRequires: libestr-devel, libee-devel, chrpath + +%description +Briefly described, liblognorm is a tool to normalize log data. + +People who need to take a look at logs often have a common problem. Logs from +different machines (from different vendors) usually have different formats for +their logs. Even if it is the same type of log (e.g. from firewalls), the log +entries are so different, that it is pretty hard to read these. This is where +liblognorm comes into the game. With this tool you can normalize all your logs. +All you need is liblognorm and its dependencies and a sample database that fits +the logs you want to normalize. + +%package devel +Summary: Development tools for programs using liblognorm library +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libee-devel%{?_isa} libestr-devel%{?_isa} + +%description devel +The liblognorm-devel package includes header files, libraries necessary for +developing programs which use liblognorm library. + +%package utils +Summary: Lognormalizer utility for normalizing log files +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description utils +The lognormalizer is the core of liblognorm, it is a utility for normalizing +log files. + +%prep +%setup -q +%patch1 -p1 -b .pc-file.patch + +%build +%configure +V=1 make + +%install +make install INSTALL="install -p" DESTDIR=%{buildroot} +rm -f %{buildroot}/%{_libdir}/*.{a,la} +chrpath -d %{buildroot}/%{_bindir}/lognormalizer +chrpath -d %{buildroot}/%{_libdir}/liblognorm.so.0.0.0 + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc AUTHORS ChangeLog COPYING NEWS README +%{_libdir}/lib*.so.* + +%files devel +%{_libdir}/lib*.so +%{_includedir}/*.h +%{_libdir}/pkgconfig/*.pc + +%files utils +%{_bindir}/lognormalizer + + +%changelog +* Wed Jul 31 2013 Tomas Heinrich - 0.3.7-1 +- rebase to 0.3.7 + +* Wed Dec 12 2012 Mahaveer Darade - 0.3.5-1 +- upgrade to upstream version 0.3.5 +- drop patch0, merged upstream + liblognorm-0.3.4-rename-to-lognormalizer.patch +- remove trailing whitespace + +* Fri Oct 05 2012 mdarade - 0.3.4-4 +- Modified description of main & util package + +* Thu Sep 20 2012 Mahaveer Darade - 0.3.4-3 +- Renamed normalizer binary to lognormalizer +- Updated pc file to exclude lee and lestr + +* Mon Aug 27 2012 mdarade - 0.3.4-2 +- Updated BuildRequires to contain libestr-devel + +* Wed Aug 1 2012 Milan Bartos - 0.3.4-1 +- initial port