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