diff --git a/README.md b/README.md index e954aca..138f0a4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # clamz +Clamz is a little command-line program to download MP3 files from Amazon.com's music store. It is intended to serve as a substitute for Amazon's official MP3 Downloader, which is not free software (and therefore is only available in binary form for a limited set of platforms.) Clamz can be used to download either individual songs or complete albums that you have purchased from Amazon. + diff --git a/clamz.spec b/clamz.spec new file mode 100644 index 0000000..84942f2 --- /dev/null +++ b/clamz.spec @@ -0,0 +1,61 @@ +Name: clamz +Version: 0.5 +Release: 2mamba +Summary: A little command-line program to download MP3 files from Amazon.com's music store +Group: Applications/Multimedia +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://code.google.com/p/clamz/ +Source: https://clamz.googlecode.com/files/clamz-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libcurl-devel +BuildRequires: libexpat-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgpg-error-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Clamz is a little command-line program to download MP3 files from Amazon.com's music store. It is intended to serve as a substitute for Amazon's official MP3 Downloader, which is not free software (and therefore is only available in binary form for a limited set of platforms.) Clamz can be used to download either individual songs or complete albums that you have purchased from Amazon. + +%debug_package + +%prep +%setup -q + +%build +%configure \ + UPDATE_MIME_DATABASE=/bin/true + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +rm -f %{buildroot}%{_datadir}/applications/mimeinfo.cache + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +update-mime-database %{_datadir}/mime &> /dev/null || : + +%postun +update-mime-database %{_datadir}/mime &> /dev/null || : + +%files +%defattr(-,root,root) +%{_bindir}/clamz +%{_datadir}/applications/clamz.desktop +%{_datadir}/mime/packages/clamz.xml +%{_mandir}/man1/clamz.1.gz + +%changelog +* Tue Feb 19 2013 Silvan Calarco 0.5-2mamba +- remove unpackageable file %{_datadir}/applications/mimeinfo.cache + +* Sun Feb 17 2013 Silvan Calarco 0.5-1mamba +- package created by silvan using the webbuild interface