Compare commits

..

32 commits

Author SHA1 Message Date
Kevin Fenzi
1ad6f2c127 upstream gone, python2 only 2019-08-15 18:05:23 -07:00
Fedora Release Engineering
6638181da4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:25:22 +00:00
Fedora Release Engineering
4d32a6efa5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:40:17 +00:00
d3a9105c31 Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 06:17:38 +01:00
28ff6e2029 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:54 +01:00
Kevin Fenzi
64e7245176 Fix FTBFS bug #1606671 2018-07-22 11:23:33 -07:00
Fedora Release Engineering
3aaa5b6964 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:48:48 +00:00
Jason Tibbitts
8dc16ad30e Remove needless use of %defattr 2018-07-10 01:37:54 -05:00
800e187764
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:58:46 +01:00
acf271a2c1 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:48:32 +01:00
Fedora Release Engineering
55f55ae1e0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:53:42 +00:00
Iryna Shcherbina
f50e3a8363 Update Python 2 dependency declarations to new packaging standards 2018-02-05 05:02:03 +01:00
Fedora Release Engineering
953f108390 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:34:58 +00:00
Fedora Release Engineering
06deb421d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:21:04 +00:00
Fedora Release Engineering
c881bc0f87 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 13:09:17 +00:00
Fedora Release Engineering
3f99af3603 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:00:09 +00:00
Dennis Gilmore
911958e2c7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:22:57 +00:00
Dennis Gilmore
10f26e8933 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:27:54 -05:00
Dennis Gilmore
92e377b8c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:50:18 -05:00
Dennis Gilmore
83a99467ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 21:05:21 -06:00
Dennis Gilmore
bb2f43b896 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 22:30:41 -05:00
Dennis Gilmore
f2ff6d07e7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 02:16:51 -06:00
Kevin Fenzi
eaa9c0dc17 Drop upstreamed patch. 2011-10-26 13:46:56 -06:00
Christoph Wickert
d902ecbb78 Update to 0.2.14
Require xdg-utils for xdg-screensaver calls
Run update-desktop-database in %post and %postun
2011-03-01 03:02:35 +01:00
Dennis Gilmore
010ae8b663 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 20:26:44 -06:00
David Malcolm
a13d03fe26 Fix crash on startup with python 2.7 (rhbz#652368) 2010-12-30 13:21:19 -05:00
Fedora Release Engineering
6e11189c56 dist-git conversion 2010-07-29 15:17:26 +00:00
dmalcolm
789dc8772a - Rebuilt for
https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-22 07:13:32 +00:00
Bill Nottingham
e14361411c Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:43:12 +00:00
2b565469da add playnext patch (fixes #539608) 2009-11-21 15:05:03 +00:00
Christoph Wickert
6e78f2009c add review # 2009-10-13 16:43:54 +00:00
Christoph Wickert
2703050bf3 Initial import of whaawmp. Rewiev at
https://bugzilla.redhat.com/show_bug.cgi?id=513420
2009-10-13 16:42:52 +00:00
5 changed files with 1 additions and 120 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
whaawmp-0.2.12.1.tar.bz2

1
dead.package Normal file
View file

@ -0,0 +1 @@
upstream gone, python2 only

View file

@ -1 +0,0 @@
259b61cfa87bbba54dcd9579a815a421 whaawmp-0.2.12.1.tar.bz2

View file

@ -1,17 +0,0 @@
--- src/gui/main.py 2009-07-15 08:21:08.000000000 +0200
+++ src/gui/main.py2 2009-11-21 14:40:20.736483935 +0100
@@ -370,9 +370,11 @@
def playNext(self, widget=None, stop=True):
## Plays the next file in the queue (if it exists).
if (self.wTree.get_object("mnuiRandom").get_active()):
- # If random is set, pick a random item from the queue.
- # -1 because randint includes boundaries.
- filename = queue.getTrackRemove(randint(0, queue.length()-1))
+ # If queue is empty randint(0,-1) will crash
+ if queue:
+ # If random is set, pick a random item from the queue.
+ # -1 because randint includes boundaries.
+ filename = queue.getTrackRemove(randint(0, queue.length()-1))
else:
# Otherwise just get the next item.
filename = queue.getNextTrackRemove()

View file

@ -1,101 +0,0 @@
# Review: https://bugzilla.redhat.com/show_bug.cgi?id=513420
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: whaawmp
Version: 0.2.12.1
Release: 3%{?dist}
Summary: Lightweight Media Player
Group: Applications/Multimedia
License: GPLv3+
URL: http://home.gna.org/whaawmp/
Source0: http://download.gna.org/whaawmp/%{version}/whaawmp-%{version}.tar.bz2
# fedora bug #539608
Patch0: %{name}-playnext.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: desktop-file-utils
BuildRequires: gettext intltool
Requires: python >= 2.5, pygtk2-libglade >= 2.10, pyxdg
Requires: dbus-python
Requires: gstreamer-python >= 0.10, gstreamer-plugins-good >= 0.10
%description
Whaaw! Media Player is a lightweight media player that supports fullscreen
mode, seeking, changing video colour settings and more. It will play any audio
or video files that GStreamer can play. It is intended to be a basic media
player without any GNOME dependencies.
%prep
%setup -q
%patch0
# remove shebangs
for Files in src/thumbnailer.py src/whaawmp.py; do
%{__sed} -i.orig -e 1d ${Files}
touch -r ${Files}.orig ${Files}
%{__rm} ${Files}.orig
done
# fix desktop file
sed -i 's!audio/x-wav;audio/x-wav;!audio/x-wav;!' %{name}.desktop
sed -i 's!False!false!' %{name}.desktop
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
desktop-file-install \
--delete-original \
--remove-key=Encoding \
--remove-category=Application \
--add-category=GTK \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc COPYING README TODO
%{_bindir}/%{name}
%{_bindir}/whaaw-thumbnailer
%{python_sitelib}/%{name}*.egg-info
%{python_sitelib}/%{name}/
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.svg
# We need to own this dir although it's already owned by Thunar
%dir %{_datadir}/thumbnailers/
%{_datadir}/thumbnailers/whaaw-thumbnailer.desktop
%changelog
* Sat Nov 21 2009 Thomas Spura <tomspur@fedoraproject.org> - 0.2.12.1-3
- add playnext patch (fixes #539608)
* Sun Sep 06 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.12.1-2
- Rework summary and description
* Thu Jul 16 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.12.1-1
- Update to 0.2.12.1
* Sat Dec 20 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.10.1-1
- Update to 0.2.10.1
* Sun Jun 22 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.2.10-1
- Initial Fedora Package