remove unpackageable file %{_datadir}/applications/mimeinfo.cache [release 0.5-2mamba;Tue Feb 19 2013]
This commit is contained in:
parent
1a3f8b941f
commit
c3d7f23418
@ -1,2 +1,4 @@
|
|||||||
# clamz
|
# 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.
|
||||||
|
|
||||||
|
61
clamz.spec
Normal file
61
clamz.spec
Normal file
@ -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 <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
|
Loading…
Reference in New Issue
Block a user