Cleanup and build the last packages for Fedora 37

This commit is contained in:
2022-11-25 11:36:16 +01:00
parent 9754e4d04a
commit cee9ca5ba4
44 changed files with 1284 additions and 1878 deletions

View File

@@ -0,0 +1,70 @@
#
# spec file for package mediaelch
#
%define quavers 0.7.6
Name: MediaElch
Summary: A Media Manager for XBMC
Url: http://www.mediaelch.de/
Version: 2.6.0
Release: 1%{?dist}
License: GPL-3.0+
Group: Productivity/Multimedia/Other
Source0: mediaelch-%{version}.tar.gz
Source1: quazip-%{quavers}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qtwebkit-devel
BuildRequires: qt5-qttools-devel
BuildRequires: libmediainfo-devel
BuildRequires: zlib-devel
BuildRequires: libzen-devel
BuildRequires: libcurl-devel
Requires: qt5-qtscript
%description
MediaElch is your Media Manager for handling Movies, TV Shows and Concerts/Music Videos
in XBMC. It is designed to gather information from various movie databases on the internet
and store these information directly to XBMCs database or in nfo files. MediaElch is also
downloading movie posters, backdrops, fan arts and pictures of the actors as well as
trailers.
%global debug_package %{nil}
%prep
echo %{BuildRoot}
%setup -qn MediaElch-%{version}
pushd third_party
rm -rf quazip
tar xzf %{S:1}
ln -s quazip-%{quavers} quazip
popd
%build
qmake-qt5
export CFLAGS="$RPM_OPT_FLAGS -Wall"
make
%install
export INSTALL_ROOT="$RPM_BUILD_ROOT"
make install
%files
%defattr(-,root,root,-)
%doc COPYING README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog
* Sat May 4 2019 Daniel Steiner <daniel.steiner@greenmail.ch>
- Update to 2.6.0.
* Tue Jan 3 2017 Daniel Steiner <elpito@bluewin.ch>
- Initial setup.