diff --git a/.cvsignore b/.cvsignore index e69de29..019e395 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ketchup-0.9.8.tar.bz2 diff --git a/ketchup.spec b/ketchup.spec new file mode 100644 index 0000000..853c4d7 --- /dev/null +++ b/ketchup.spec @@ -0,0 +1,55 @@ +Name: ketchup +Version: 0.9.8 +Release: 1%{?dist} +Group: Development/Tools +Summary: Linux Kernel source switch/update tool +License: GPL +URL: http://www.selenic.com/ketchup/wiki/ +Source: http://www.selenic.com/ketchup/%{name}-%{version}.tar.bz2 +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch + +Requires: wget +Requires: gnupg + +%description +Ketchup is a tool for updating or switching between versions of the +Linux kernel source. It can: +- Find the latest versions of numerous KernelTrees; +- Calculate which patches are needed to move to that version; +- Download any patches or tarballs that aren't cached; +- Check GPG signatures where available; +- Apply and unapply patches to get the desired result. + +%prep +%setup -q + +%build + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 +mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib +install -p -m755 %{name} -D $RPM_BUILD_ROOT%{_bindir}/%{name} +install -p -m644 ketchup.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/ketchup.1 +install -p -m755 contrib/* -D $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_bindir}/ketchup +%{_mandir}/man1/ketchup.1.* +%{_datadir}/%{name} + +%changelog +* Thu Jun 21 2007 Benjamin Krill 0.9.8-1 +- initial release for fedora + +* Thu May 04 2006 Leonardo Chiquitto Filho 0.9.8-1mdk +- update to 0.9.8 + +* Fri Mar 31 2006 Leonardo Chiquitto Filho 0.9.6-1mdk +- initial release diff --git a/sources b/sources index e69de29..c2b9c21 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1818bc18eba09c8e0f65fd6ad5011151 ketchup-0.9.8.tar.bz2