diff options
Diffstat (limited to 'esniper.spec')
-rw-r--r-- | esniper.spec | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/esniper.spec b/esniper.spec new file mode 100644 index 0000000..84e21fe --- /dev/null +++ b/esniper.spec @@ -0,0 +1,70 @@ +Name: esniper +Version: 2.24.0 +Release: 6%{?dist} +Summary: A lightweight console application for sniping eBay auctions + +Group: Applications/Internet +License: BSD +URL: http://esniper.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-2-24-0.tgz + +BuildRequires: curl-devel + +%description +Esniper is a lightweight console application for sniping eBay auctions. + + +%prep +%setup -q -n %{name}-2-24-0 + +# Encode manpage to utf-8 +iconv -f iso8859-1 -t utf-8 esniper.1 > esniper.1.conv \ + && touch -r esniper.1 esniper.1.conv \ + && mv esniper.1.conv esniper.1 + + +%build +%configure +make %{?_smp_mflags} + + +%install +make install INSTALL="install -p" DESTDIR=%{buildroot} + +# Install frontend script +install -p -m 755 frontends/snipe %{buildroot}/%{_bindir} + + +%files +%defattr(-,root,root,-) +%doc frontends/README COPYING ChangeLog AUTHORS sample_config.txt sample_auction.txt +%{_bindir}/%{name} +%{_bindir}/snipe +%{_mandir}/man1/%{name}.1.* + + +%changelog +* Fri Feb 25 2011 Volker Fröhlich <volker27@gmx.at> - 2.24.0-6 +- Added the INSTALL definition, that should have been there in the last release + +* Fri Feb 25 2011 Volker Fröhlich <volker27@gmx.at> - 2.24.0-5 +- Preserve timestamp on man page +- Defined INSTALL for make + +* Thu Feb 24 2011 Volker Fröhlich <volker27@gmx.at> - 2.24.0-4 +- Added sample aution file +- More specific files section + +* Fri Dec 03 2010 Volker Fröhlich <volker27@gmx.at> - 2.24.0-3 +- Added sample configuration to docs +- Install frontend script +- Shortened file list syntax + +* Thu Dec 02 2010 Volker Fröhlich <volker27@gmx.at> - 2.24.0-2 +- Dropped clean section and rm command from install section, + as it's no longer necessary +- Replaced .gz with * for man-file +- Adapted source link + +* Sun Nov 28 2010 Volker Fröhlich <volker27@gmx.at> - 2.24.0-1 +- Inital packaging |