Sophie

Sophie

distrib > Mageia > 9 > aarch64 > by-pkgid > a4cac3945d94ebc4b41abd18d342a188 > files > 1

artefetcher-0.8.0-3.mga9.src.rpm

%define uname   arteFetcher

Name:           artefetcher
Version:        0.8.0
Release:        %mkrel 3
Summary:        Fetch videos from German and French Arte+7 website
License:        GPLv3+
Group:          Video/Utilities
Url:            https://sourceforge.net/projects/artefetcher
Source:         https://downloads.sf.net/artefetcher/%{name}_%{version}.tar.gz

BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Network)
BuildRequires:  pkgconfig(Qt5Script)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5XmlPatterns)
BuildRequires:  qttools5

%description
This application will list the videos available in the French-German TV channel Arte.
You can choose the movie of your choice in the list, and download it in high quality.

%prep
%autosetup -p1 -n %{name}

%build
%{_qt5_bindir}/lrelease %{uname}_de.ts %{uname}_fr.ts
%qmake_qt5
%make_build

%install
%qmakeinstall_std

gzip -d %{uname}.1.gz
install -D -m644 %{uname}.1 %{buildroot}%{_mandir}/man1/%{uname}.1

install -D -m644 img/%{uname}.png %{buildroot}%{_datadir}/pixmaps/%{uname}.png

# Write custom desktop file as the upstream one is not so good
install -d %{buildroot}%{_datadir}/applications
cat << EOF > %{buildroot}%{_datadir}/applications/%{uname}.desktop
[Desktop Entry]
Name=Arte Fetcher
GenericName=Video fetcher
GenericName[fr]=Télécharger des vidéos
Comment=Get videos from Arte TV channel
Comment[fr]=Récupérez les vidéos de la chaîne Arte
Exec=arteFetcher
Icon=arteFetcher
Type=Application
Categories=AudioVideo;Video;TV;
EOF

%files
%{_bindir}/%{uname}
%{_datadir}/applications/%{uname}.desktop
%{_datadir}/pixmaps/%{uname}.png
%{_mandir}/man1/%{uname}.1*


%changelog
* Tue Apr 05 2022 umeabot <umeabot> 0.8.0-3.mga9
+ Revision: 1844303
- Mageia 9 Mass Rebuild

* Wed Dec 16 2020 umeabot <umeabot> 0.8.0-2.mga8
+ Revision: 1658134
- Rebuild for new Qt5

* Sat Oct 17 2020 akien <akien> 0.8.0-1.mga8
+ Revision: 1636571
- Version 0.8.0

* Sat Feb 15 2020 umeabot <umeabot> 0.7.0-5.mga8
+ Revision: 1524406
- Mageia 8 Mass Rebuild

* Sat Mar 30 2019 umeabot <umeabot> 0.7.0-4.mga7
+ Revision: 1381263
- Qt5 Rebuild

* Fri Sep 21 2018 umeabot <umeabot> 0.7.0-3.mga7
+ Revision: 1294580
- Mageia 7 Mass Rebuild

* Sat Feb 13 2016 umeabot <umeabot> 0.7.0-2.mga6
+ Revision: 959540
- Mageia 6 Mass Rebuild

* Sun Nov 01 2015 akien <akien> 0.7.0-1.mga6
+ Revision: 897166
- imported package artefetcher