clamz/clamz.spec

62 lines
1.9 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.5-2mamba
- remove unpackageable file %{_datadir}/applications/mimeinfo.cache
* Sun Feb 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
- package created by silvan using the webbuild interface