diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ed421f6..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/albumart-1.6.6.tar.gz diff --git a/albumart-1.6.6-PIL.patch b/albumart-1.6.6-PIL.patch deleted file mode 100644 index 1ab91a7..0000000 --- a/albumart-1.6.6-PIL.patch +++ /dev/null @@ -1,84 +0,0 @@ -diff -ur ../albumart-1.6.6.orig/lib/albumart/albumart_dialog.py ./lib/albumart/albumart_dialog.py ---- ../albumart-1.6.6.orig/lib/albumart/albumart_dialog.py 2014-01-05 21:57:39.384503096 +1100 -+++ ./lib/albumart/albumart_dialog.py 2014-01-05 21:58:13.164253184 +1100 -@@ -20,7 +20,7 @@ - import time - import urllib - import tempfile --import Image -+from PIL import Image - import ConfigParser - import cPickle as pickle - import codecs -diff -ur ../albumart-1.6.6.orig/lib/albumart/albumart_source_amazon.py ./lib/albumart/albumart_source_amazon.py ---- ../albumart-1.6.6.orig/lib/albumart/albumart_source_amazon.py 2014-01-05 21:57:39.389503059 +1100 -+++ ./lib/albumart/albumart_source_amazon.py 2014-01-05 21:59:14.418800084 +1100 -@@ -6,7 +6,7 @@ - import amazon - import albumart - import tempfile --import Image -+from PIL import Image - - defaultConfig = { - "enabled": 1, -diff -ur ../albumart-1.6.6.orig/lib/albumart/albumart_target_freedesktop.py ./lib/albumart/albumart_target_freedesktop.py ---- ../albumart-1.6.6.orig/lib/albumart/albumart_target_freedesktop.py 2014-01-05 21:57:39.387503074 +1100 -+++ ./lib/albumart/albumart_target_freedesktop.py 2014-01-05 21:58:54.075950598 +1100 -@@ -3,7 +3,7 @@ - """Save image in Freedesktop.org's desktop file standard (for KDE, GNOME, etc.)""" - - import albumart --import Image -+from PIL import Image - import ConfigParser - import os - -diff -ur ../albumart-1.6.6.orig/lib/albumart/albumart_target_generic.py ./lib/albumart/albumart_target_generic.py ---- ../albumart-1.6.6.orig/lib/albumart/albumart_target_generic.py 2014-01-05 21:57:39.384503096 +1100 -+++ ./lib/albumart/albumart_target_generic.py 2014-01-05 21:57:58.725360004 +1100 -@@ -3,7 +3,7 @@ - """Save the image to an arbitrary file.""" - - import albumart --import Image -+from PIL import Image - import os - - scales = { -diff -ur ../albumart-1.6.6.orig/lib/albumart/albumart_target_id3v2.py ./lib/albumart/albumart_target_id3v2.py ---- ../albumart-1.6.6.orig/lib/albumart/albumart_target_id3v2.py 2014-01-05 21:57:39.386503081 +1100 -+++ ./lib/albumart/albumart_target_id3v2.py 2014-01-05 21:58:29.653131201 +1100 -@@ -7,7 +7,7 @@ - import os - import id3 # PyID3, see http://icepick.info/projects/pyid3/ - import tempfile --import Image -+from PIL import Image - - # all defined APIC picture types - pictureTypes = id3.ID3v2Frames.AttachedPicture.picturetypes -diff -ur ../albumart-1.6.6.orig/lib/albumart/albumart_target_windows.py ./lib/albumart/albumart_target_windows.py ---- ../albumart-1.6.6.orig/lib/albumart/albumart_target_windows.py 2014-01-05 21:57:39.387503074 +1100 -+++ ./lib/albumart/albumart_target_windows.py 2014-01-05 21:58:43.088031814 +1100 -@@ -3,7 +3,7 @@ - """Set image for Windows Media Player, Windows Explorer, etc.""" - - import albumart --import Image -+from PIL import Image - import os - - scales = { -diff -ur ../albumart-1.6.6.orig/lib/albumart/process.py ./lib/albumart/process.py ---- ../albumart-1.6.6.orig/lib/albumart/process.py 2014-01-05 21:57:39.388503066 +1100 -+++ ./lib/albumart/process.py 2014-01-05 21:59:03.276882474 +1100 -@@ -1,7 +1,7 @@ - from qt import * - from event import * - import albumart --import Image -+from PIL import Image - import version - import traceback - import sys diff --git a/albumart-desktop-file-binary.patch b/albumart-desktop-file-binary.patch deleted file mode 100644 index 114f329..0000000 --- a/albumart-desktop-file-binary.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -ur ./bin/albumart-qt ../albumart-1.6.6/bin/albumart-qt ---- ./bin/albumart-qt 2008-08-19 02:35:28.000000000 +1000 -+++ ../albumart-1.6.6/bin/albumart-qt 2013-02-27 15:46:19.311754550 +1100 -@@ -35,13 +35,13 @@ - # @returns the directory for library files - # - def getLibDir(): -- return os.path.join(getBaseDir(), "lib", "albumart") -+ return os.path.join(getBaseDir(), "/", "usr", "lib", "python2.7", "site-packages" , "albumart") - - # - # @returns the directory for shared data files - # - def getShareDir(): -- return os.path.join(getBaseDir(), "share", "albumart") -+ return os.path.join(getBaseDir(), "/", "usr", "share", "albumart") - - # find out where our program and data files are and set up sys.path accordingly. - sys.path = [getBaseDir(), getLibDir()] + sys.path -Only in ../albumart-1.6.6/lib/albumart: albumart.py.new -diff -ur ./share/applnk/Multimedia/albumart.desktop ../albumart-1.6.6/share/applnk/Multimedia/albumart.desktop ---- ./share/applnk/Multimedia/albumart.desktop 2008-07-06 07:21:43.000000000 +1000 -+++ ../albumart-1.6.6/share/applnk/Multimedia/albumart.desktop 2013-02-27 14:16:37.692189012 +1100 -@@ -1,15 +1,12 @@ - [Desktop Entry] --Encoding=iso-8859-1 - Exec=albumart-qt --TerminalOptions= --Path= - Type=Application - MimeType= --Terminal=0 -+Terminal=false - Icon=albumart - GenericName=Album Cover Art Downloader - GenericName[fi]=Albumikansikuvien noutaja - Name=AlbumArt - X-KDE-StartupNotify=true - X-DCOP-ServiceType=Unique --Categories=Qt;KDE;AudioVideo;Graphics -+Categories=Qt;KDE;AudioVideo;Graphics; diff --git a/albumart.appdata.xml b/albumart.appdata.xml deleted file mode 100644 index eef4a27..0000000 --- a/albumart.appdata.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - albumart.desktop - CC0 - -

- A program that will semi-automatically download album cover images for your - music collection. All you have to do is point it at the root of your music - directory and for each directory, the program will download a set of - corresponding (well, best guess) album covers from the Internet, from which you - can choose one that suits your fancy. -

-

- Currently supported image providers: -

- - -

- At least the following programs make use of the cover images: -

- -

- In addition, some portable music players can show the cover image if it is embedded in the MP3 file. -

-
-http://www.unrealvoodoo.org/hiteck/projects/albumart/ - - http://www.unrealvoodoo.org/hiteck/projects/albumart/screenshot.png - -sami.kyostila@unrealvoodoo.org -
- diff --git a/albumart.spec b/albumart.spec deleted file mode 100644 index 23c0551..0000000 --- a/albumart.spec +++ /dev/null @@ -1,133 +0,0 @@ -Name: albumart -Version: 1.6.6 -Release: 6%{?dist} -Summary: Album Cover Art Downloader - -License: GPLv2+ -URL: http://www.unrealvoodoo.org/hiteck/projects/%{name}/ -Source0: http://www.unrealvoodoo.org/hiteck/projects/%{name}/dist/%{name}-%{version}.tar.gz -Source1: %{name}.appdata.xml - -# Some desktop file fixes -Patch0: albumart-desktop-file-binary.patch -Patch1: albumart-1.6.6-PIL.patch - -BuildArch: noarch -BuildRequires: python2-devel PyQt desktop-file-utils -Requires: PyQt -Requires: python-urllib3 - -%description -A program that will semi-automatically download album cover images for your -music collection. All you have to do is point it at the root of your music -directory and for each directory, the program will download a set of -corresponding (well, best guess) album covers from the Internet, from which you -can choose one that suits your fancy. - -See how the program works from a flash demonstration video. - -Note that due to the latest changes in Amazon's Product Advertising API, Album -Cover Art Downloader is unable to download any images from Amazon for the time -being. - -%package konqueror -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: kde-baseapps -Summary: Service menu addition for %{name} - -%description konqueror -Konqueror service menu for %{name} - - -%prep -%setup -q -%patch0 -p2 -%patch1 - - -%build -%{__python2} setup.py build - - -%install -%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT - -# The build system always installs to lib for some reason. -# Tried the various options, but they don't work as required -mkdir -p -m 0755 $RPM_BUILD_ROOT/%{python2_sitelib}/%{name} -mv $RPM_BUILD_ROOT/usr/lib/%{name}/* $RPM_BUILD_ROOT/%{python2_sitelib}/%{name}/ - -desktop-file-validate --warn-kde $RPM_BUILD_ROOT/%{_datadir}/applnk/Multimedia/%{name}.desktop - -# Do not follow freedesktop guidelines and do not need to be validated -# desktop-file-validate --warn-kde $RPM_BUILD_ROOT/%%{_datadir}/apps/konqueror/servicemenus/albumart_set_cover_image.desktop - -chmod -x $RPM_BUILD_ROOT/%{python2_sitelib}/albumart/yahoo/search/webservices.py -chmod -x $RPM_BUILD_ROOT/%{python2_sitelib}/albumart/yahoo/search/domparsers.py -chmod -x $RPM_BUILD_ROOT/%{python2_sitelib}/albumart/process.py - -sed -i 's/\r//' $RPM_BUILD_ROOT/%{python2_sitelib}/albumart/process.py -sed -i 's/\r//' $RPM_BUILD_ROOT/%{python2_sitelib}/albumart/event.py -sed -i 's/\r//' $RPM_BUILD_ROOT/%{python2_sitelib}/albumart/albumart.py - -mkdir -p %{buildroot}/%{_datadir}/appdata/ -cp %{SOURCE1} %{buildroot}/%{_datadir}/appdata/ -v - -pushd $RPM_BUILD_ROOT/%{python2_sitelib}/albumart/ - sed '1{\@^#!/usr/bin/python@d}' albumart.py > albumart.py.new && - touch -r albumart.py albumart.py.new && - mv albumart.py.new albumart.py -popd - -mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/ -cp debian/albumart-qt.1 $RPM_BUILD_ROOT/%{_mandir}/man1/ - -%files -%{_bindir}/%{name}-qt -%{_docdir}/%{name}/ -%{_datadir}/applnk/Multimedia/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png -%{_mandir}/man1/%{name}* - -%{python2_sitelib}/%{name}-%{version}-py?.?.egg-info -%{python2_sitelib}/%{name}/ - -%{_datadir}/appdata/ -%{_datadir}/appdata/%{name}.appdata.xml - -%files konqueror -%{_datadir}/apps/konqueror/servicemenus/albumart_set_cover_image.desktop - - -%changelog -* Fri Feb 10 2017 Fedora Release Engineering - 1.6.6-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-5 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 03 2016 Fedora Release Engineering - 1.6.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jun 16 2015 Fedora Release Engineering - 1.6.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.6.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue Jan 07 2014 Ankur Sinha 1.6.6-1 -- Add appdata file before committing to SCM - -* Sun Jan 05 2014 Ankur Sinha 1.6.6-1 -- Update as per review comments -- Patch for PIL support - -* Fri Nov 22 2013 Ankur Sinha 1.6.6-1 -- python -> python2 -- Add man page -- Add konqueror subpackage -- Update license to GPLv2+ - -* Wed Feb 27 2013 Ankur Sinha 1.6.6-1 -- initial rpm build - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a960740 --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2017-04-05: Retired because it depends on PyQt, which was +retired, because it was orphaned for more than six weeks. + diff --git a/sources b/sources deleted file mode 100644 index 4843ca7..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -445a487eea4b8e41e85b47134edb330a albumart-1.6.6.tar.gz