diff --git a/.cvsignore b/.cvsignore index e69de29..85deef3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +servicelog-1.1.7.tar.gz diff --git a/servicelog.spec b/servicelog.spec new file mode 100644 index 0000000..9a85537 --- /dev/null +++ b/servicelog.spec @@ -0,0 +1,57 @@ +Name: servicelog +Version: 1.1.7 +Release: 1%{?dist} +Summary: Servicelog Tools + +Group: System Environment/Base +License: GPLv2 +URL: http://linux-diag.sourceforge.net/servicelog +Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#Requires(pre): shadow-utils + +BuildRequires: libservicelog-devel >= 1.1.9-2 +BuildRequires: autoconf libtool librtas-devel + +# because of librtas-devel in libservicelog +ExclusiveArch: ppc ppc64 + +%description +Command-line interfaces for viewing and manipulating the contents of +the servicelog database. Contains entries that are useful +for performing system service operations, and for providing a history +of service operations that have been performed on the system. + +%prep +%setup -q -n %{name}-1.1 + +%build +autoreconf -fiv +%configure +%{__make} %{?_smp_mflags} + + +%install +%{__rm} -rf $RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/servicelog +%{_bindir}/v1_servicelog +%{_bindir}/v29_servicelog +%{_bindir}/servicelog_notify +%{_bindir}/log_repair_action +%{_sbindir}/slog_common_event +%{_bindir}/servicelog_manage +%{_mandir}/man[18]/*.[18]* + +%changelog +* Tue May 18 2010 Roman Rakus - 1.1.7-1 +- Initial packaging + diff --git a/sources b/sources index e69de29..6c927b6 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +553be28e96aa2029690c08faa122e170 servicelog-1.1.7.tar.gz