Files
rpms/fedora/SPECS/archive/mediaelch.spec

71 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mediaelch
#
2019-05-10 18:41:55 +02:00
%define quavers 0.7.6
Name: MediaElch
Summary: A Media Manager for XBMC
Url: http://www.mediaelch.de/
2019-05-10 18:41:55 +02:00
Version: 2.6.0
Release: 1%{?dist}
License: GPL-3.0+
Group: Productivity/Multimedia/Other
Source0: mediaelch-%{version}.tar.gz
2019-05-10 18:41:55 +02:00
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}
2019-05-10 18:41:55 +02:00
%setup -qn MediaElch-%{version}
pushd third_party
rm -rf quazip
tar xzf %{S:1}
ln -s quazip-%{quavers} quazip
popd
%build
2019-05-10 18:41:55 +02:00
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
2019-05-10 18:41:55 +02:00
* 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.