File rpmchangelog.spec of Package rpmchangelog

Name:           rpmchangelog
Version:        0.0.1
Release:        1
License:        Apache License Version 2.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/Packages
Summary:        Utility to display the changes made to the system during the last update  
Source:         http://suncoe.campus02.at/projects/rpmchangelog/svn/release/rpmchangelog-0.0.1.tar.gz

BuildArch:      noarch

Requires: update-alternatives
Requires: java
Requires: ant
Requires: rpm  

%description
RPM packages have a nice change log attached. I always wanted to have a tool which simply displays all the new change logs after an update. All packages should be shown not only the one I specify.So this is a small utility doing exactly that.

%prep
%setup

%build

%install

install -d $RPM_BUILD_ROOT/usr/share/java/rpmchangelog/lib
install -p lib/* $RPM_BUILD_ROOT/usr/share/java/rpmchangelog/lib
cp rpmchangelog-0.0.1.jar $RPM_BUILD_ROOT/usr/share/java/rpmchangelog/rpmchangelog.jar
cp logging.properties $RPM_BUILD_ROOT/usr/share/java/rpmchangelog/


install -d $RPM_BUILD_ROOT/usr/bin
cp bin/rpmchangelog $RPM_BUILD_ROOT/usr/bin/
chmod +x $RPM_BUILD_ROOT/usr/bin/*

%clean
rm -rf "$RPM_BUILD_ROOT"

%post
%{run_ldconfig}

%postun
%{run_ldconfig}

%files
%defattr(-,root,root)
/usr/*

%changelog
* Sun Nov 2 2007 Alexander Egger <alexander.egger@campus02.at> 
- created SPEC

openSUSE Build Service is sponsored by