add autoupdate script; specfile fixes [release 3.2-2mamba;Tue Jun 01 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:20:53 +01:00
parent 157131c52a
commit 136a8ce8d6
2 changed files with 35 additions and 68 deletions

8
mplayer-skins-autoupdate Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
VERSION=$1
rm -rf mplayer-skins-$VERSION
mkdir mplayer-skins-$VERSION
cd mplayer-skins-$VERSION
wget -r N -l 1 -np -nd -A "*.bz2" http://ftp.mplayerhq.hu/MPlayer/skins/
tar -cj *.bz2 > ../mplayer-skins-$VERSION.tar.bz2

View File

@ -1,100 +1,59 @@
%define skindir %{_datadir}/mplayer/Skin
Name: mplayer-skins
Version: 1.7
Version: 3.2
Release: 2mamba
Summary: Collection of skins for MPlayer
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://mplayerhq.hu/
Source0: ftp://ftp.mplayerhq.hu/MPlayer/skins/Abyss-1.7.tar.bz2
Source1: ftp://ftp.mplayerhq.hu/MPlayer/skins/AlienMind-1.2.tar.bz2
Source2: ftp://ftp.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
Source3: ftp://ftp.mplayerhq.hu/MPlayer/skins/Blue-small-1.4.tar.bz2
Source4: ftp://ftp.mplayerhq.hu/MPlayer/skins/BlueHeart-1.5.tar.bz2
Source5: ftp://ftp.mplayerhq.hu/MPlayer/skins/Canary-1.2.tar.bz2
Source6: ftp://ftp.mplayerhq.hu/MPlayer/skins/Corelian-1.1.tar.bz2
Source7: ftp://ftp.mplayerhq.hu/MPlayer/skins/CornerMP-1.2.tar.bz2
Source8: ftp://ftp.mplayerhq.hu/MPlayer/skins/CornerMP-aqua-1.4.tar.bz2
Source9: ftp://ftp.mplayerhq.hu/MPlayer/skins/Cyrus-1.2.tar.bz2
Source10: ftp://ftp.mplayerhq.hu/MPlayer/skins/DVDPlayer-1.1.tar.bz2
Source11: ftp://ftp.mplayerhq.hu/MPlayer/skins/Dushku-1.2.tar.bz2
Source12: ftp://ftp.mplayerhq.hu/MPlayer/skins/Industrial-1.0.tar.bz2
Source13: ftp://ftp.mplayerhq.hu/MPlayer/skins/JiMPlayer-1.4.tar.bz2
Source14: ftp://ftp.mplayerhq.hu/MPlayer/skins/KDE-0.3.tar.bz2
Source15: ftp://ftp.mplayerhq.hu/MPlayer/skins/MidnightLove-1.6.tar.bz2
Source16: ftp://ftp.mplayerhq.hu/MPlayer/skins/OSX-Brushed-2.3.tar.bz2
Source17: ftp://ftp.mplayerhq.hu/MPlayer/skins/OSX-Mod-1.1.tar.bz2
Source18: ftp://ftp.mplayerhq.hu/MPlayer/skins/Orange-1.3.tar.bz2
Source19: ftp://ftp.mplayerhq.hu/MPlayer/skins/PowerPlayer-1.1.tar.bz2
Source20: ftp://ftp.mplayerhq.hu/MPlayer/skins/QPlayer-1.2.tar.bz2
Source21: ftp://ftp.mplayerhq.hu/MPlayer/skins/Terminator3-1.1.tar.bz2
Source22: ftp://ftp.mplayerhq.hu/MPlayer/skins/WMP6-2.2.tar.bz2
Source23: ftp://ftp.mplayerhq.hu/MPlayer/skins/XFce4-1.0.tar.bz2
Source24: ftp://ftp.mplayerhq.hu/MPlayer/skins/Ater-1.2.tar.bz2
Source25: ftp://ftp.mplayerhq.hu/MPlayer/skins/avifile-1.6.tar.bz2
Source26: ftp://ftp.mplayerhq.hu/MPlayer/skins/bluecurve-1.3.tar.bz2
Source27: ftp://ftp.mplayerhq.hu/MPlayer/skins/standard-1.9.tar.bz2
Source28: ftp://ftp.mplayerhq.hu/MPlayer/skins/disappearer-1.1.tar.bz2
Source29: ftp://ftp.mplayerhq.hu/MPlayer/skins/divxplayer-1.3.tar.bz2
Source30: ftp://ftp.mplayerhq.hu/MPlayer/skins/gnome-1.1.tar.bz2
Source31: ftp://ftp.mplayerhq.hu/MPlayer/skins/handheld-1.0.tar.bz2
Source32: ftp://ftp.mplayerhq.hu/MPlayer/skins/hayraphon-1.0.tar.bz2
Source33: ftp://ftp.mplayerhq.hu/MPlayer/skins/hwswskin-1.1.tar.bz2
Source34: ftp://ftp.mplayerhq.hu/MPlayer/skins/iTunes-1.1.tar.bz2
Source35: ftp://ftp.mplayerhq.hu/MPlayer/skins/iTunes-mini-1.1.tar.bz2
Source36: ftp://ftp.mplayerhq.hu/MPlayer/skins/krystal-1.1.tar.bz2
Source37: ftp://ftp.mplayerhq.hu/MPlayer/skins/mentalic-1.2.tar.bz2
Source38: ftp://ftp.mplayerhq.hu/MPlayer/skins/mini-0.1.tar.bz2
Source39: ftp://ftp.mplayerhq.hu/MPlayer/skins/moonphase-1.0.tar.bz2
Source40: ftp://ftp.mplayerhq.hu/MPlayer/skins/neutron-1.5.tar.bz2
Source41: ftp://ftp.mplayerhq.hu/MPlayer/skins/new-age-1.0.tar.bz2
Source42: ftp://ftp.mplayerhq.hu/MPlayer/skins/phony-1.1.tar.bz2
Source43: ftp://ftp.mplayerhq.hu/MPlayer/skins/plastic-1.2.tar.bz2
Source44: ftp://ftp.mplayerhq.hu/MPlayer/skins/proton-1.2.tar.bz2
Source45: ftp://ftp.mplayerhq.hu/MPlayer/skins/sessene-1.0.tar.bz2
Source46: ftp://ftp.mplayerhq.hu/MPlayer/skins/slim-1.2.tar.bz2
Source47: ftp://ftp.mplayerhq.hu/MPlayer/skins/softgrip-1.1.tar.bz2
Source48: ftp://ftp.mplayerhq.hu/MPlayer/skins/trium-1.3.tar.bz2
Source49: ftp://ftp.mplayerhq.hu/MPlayer/skins/tvisor-1.1.tar.bz2
Source50: ftp://ftp.mplayerhq.hu/MPlayer/skins/ultrafina-1.1.tar.bz2
Source51: ftp://ftp.mplayerhq.hu/MPlayer/skins/xanim-1.6.tar.bz2
Source52: ftp://ftp.mplayerhq.hu/MPlayer/skins/xine-lcd-1.2.tar.bz2
Source53: ftp://ftp.mplayerhq.hu/MPlayer/skins/xmmplayer-1.5.tar.bz2
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://mplayerhq.hu/
Source0: mplayer-skins-%{version}.tar.bz2
Source1: mplayer-skins-autoupdate
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: mplayer >= 1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# To get the list from the files in the PWD :
# LANG=C i=0; for file in *.bz2; do
# echo "Source${i}: ftp://ftp.mplayerhq.hu/MPlayer/skins/$file"; i=$(($i+1))
# done
%description
This package contains a collection of additional skins for the GUI version of MPlayer, the movie player for Linux.
Install this package if you wish to change the appeareance of MPlayer.
%prep
%setup -q -c %{name}-%{version} -a0 -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a33 -a34 -a35 -a36 -a37 -a38 -a39 -a40 -a41 -a42 -a43 -a44 -a45 -a46 -a47 -a48 -a49 -a50 -a51 -a52 -a53
%setup -q -c -a0
%build
mkdir build
cd build
for f in ../*.tar.bz2; do
tar xf ${f}
done
%install
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
%{__mkdir_p} %{buildroot}%{skindir}
# As the default is now "Blue", move the old "default" to "classic"
#%{__mv} default classic
cd build
%{__cp} -a * %{buildroot}%{skindir}/
# Remmove default theme already in mplayer-gui
rm -rf %{buildroot}%{skindir}/Blue
%clean
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
%files
%defattr(0644, root, root, 0755)
%{skindir}/*
%defattr(-,root,root)
%dir %{skindir}/*
%{skindir}/*/*
%changelog
* Tue Jun 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-2mamba
- add autoupdate script; specfile fixes
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
- automatic version update by autodist
* Wed Jul 10 2013 Automatic Build System <autodist@mambasoft.it> 1.7-2mamba
- automatic version update by autodist
@ -107,5 +66,5 @@ Install this package if you wish to change the appeareance of MPlayer.
* Tue Jun 28 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.5-2qilnx
- rebuild and moved from devel-contrib repository to devel repository
* Mon Sep 20 2004 Matteo Bernasconi <voyagernm@virgilio.it>1.5-1qilnx
* Mon Sep 20 2004 Matteo Bernasconi <voyagernm@virgilio.it> 1.5-1qilnx
- First Build