New spec files added for mediaelch and bpm tools
This commit is contained in:
39
fedora/SPECS/bpm-tools.spec
Normal file
39
fedora/SPECS/bpm-tools.spec
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
Name: bpm-tools
|
||||||
|
Version: 0.3
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: MP3 tempo analyzis tool
|
||||||
|
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
License: GPL-v2
|
||||||
|
URL: http://www.pogo.org.uk/~mark/bpm-tools/
|
||||||
|
Source0: %{name}-%{version}.tgz
|
||||||
|
|
||||||
|
%description
|
||||||
|
The bpm-tools software is the result of some experiments I did into automatically
|
||||||
|
calculating and tagging the tempo (in beats-per-minute) of music files.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %name
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install PREFIX=%{buildroot}%{_prefix}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README COPYING
|
||||||
|
%{_bindir}/bpm
|
||||||
|
%{_bindir}/bpm-graph
|
||||||
|
%{_bindir}/bpm-tag
|
||||||
|
%{_mandir}/man1/bpm*.1.gz
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Mar 18 2017 Daniel Steiner <daniel.steiner@greenmail.ch>
|
||||||
|
- Initial package built.
|
||||||
|
|
||||||
106
fedora/SPECS/libcec.spec
Normal file
106
fedora/SPECS/libcec.spec
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
%if 0%{?fedora}
|
||||||
|
%global with_python 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%define vvv 3
|
||||||
|
|
||||||
|
Name: libcec
|
||||||
|
Version: 4.0.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Library and utilities for HDMI-CEC device control
|
||||||
|
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://libcec.pulse-eight.com/
|
||||||
|
Source0: https://github.com/Pulse-Eight/%{name}/archive/%{name}-%{name}-%{version}-%{vvv}.tar.gz
|
||||||
|
Patch0: libcec-pythonlib.patch
|
||||||
|
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: lockdev-devel
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: platform-devel
|
||||||
|
%if 0%{?with_python}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: swig
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
libCEC allows you in combination with the right hardware to control your device
|
||||||
|
with your TV remote control over your existing HDMI cabling.
|
||||||
|
|
||||||
|
libCEC is an enabling platform for the CEC bus in HDMI, it allows developers to
|
||||||
|
interact with other HDMI devices without having to worry about the communication
|
||||||
|
overhead, handshaking, and the various ways of send messages for each vendor.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development package for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: pkgconfig
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Files for development with %{name}.
|
||||||
|
|
||||||
|
%if 0%{?with_python}
|
||||||
|
%package -n python3-libcec
|
||||||
|
Summary: A Python 3 interface to libcec
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n python3-libcec
|
||||||
|
Python 3 bindings for libcec
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{name}-%{version}-%{vvv}
|
||||||
|
%patch0 -p1 -b .python
|
||||||
|
|
||||||
|
# Remove non linux binaries
|
||||||
|
rm -rf support
|
||||||
|
rm -rf driver
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake .
|
||||||
|
|
||||||
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot} INSTALL='install -p'
|
||||||
|
|
||||||
|
#Remove libtool archives.
|
||||||
|
find %{buildroot} -name '*.la' -delete
|
||||||
|
|
||||||
|
# Remove versioned binaries
|
||||||
|
rm %{buildroot}/%{_bindir}/cec-client %{buildroot}/%{_bindir}/cecc-client
|
||||||
|
mv %{buildroot}/%{_bindir}/cec-client-%{version} %{buildroot}/%{_bindir}/cec-client
|
||||||
|
mv %{buildroot}/%{_bindir}/cecc-client-%{version} %{buildroot}/%{_bindir}/cecc-client
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS ChangeLog
|
||||||
|
%{_bindir}/cec-client
|
||||||
|
%{_bindir}/cecc-client
|
||||||
|
%{_libdir}/libcec.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/libcec
|
||||||
|
%{_libdir}/pkgconfig/libcec.pc
|
||||||
|
%{_libdir}/libcec.so
|
||||||
|
|
||||||
|
%if 0%{?with_python}
|
||||||
|
%files -n python3-libcec
|
||||||
|
%{_bindir}/pyCecClient.py
|
||||||
|
%{python3_sitearch}/cec/
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Dec 3 2016 Daniel Steiner <dsteiner@redhat.com>
|
||||||
|
- Build for Fedora 25.
|
||||||
|
|
||||||
85
fedora/SPECS/makemkv.spec
Normal file
85
fedora/SPECS/makemkv.spec
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
#
|
||||||
|
# spec file for package makemkv
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: makemkv
|
||||||
|
Version: 1.10.4
|
||||||
|
Release: 0%{?dist}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Summary: One click DVD and Blu-ray converter
|
||||||
|
Url: http://www.makemkv.com
|
||||||
|
Source0: %{name}-oss-%{version}.tar.gz
|
||||||
|
Source1: %{name}-bin-%{version}.tar.gz
|
||||||
|
# patch to disable the eula asking (interactive!)
|
||||||
|
Source2: makemkv_eula.patch
|
||||||
|
License: Comercial
|
||||||
|
Group: Unspecified
|
||||||
|
BuildRequires: qt5-devel
|
||||||
|
Provides: libdriveio.so.0()(64bit)
|
||||||
|
Provides: libmakemkv.so.1()(64bit)
|
||||||
|
Provides: libmmbd.so.0()(64bit)
|
||||||
|
# requires rpmfusion-free-updates repository!
|
||||||
|
Requires: ffmpeg-libs
|
||||||
|
|
||||||
|
%description
|
||||||
|
MakeMKV is your one-click solution to convert video that you own into free
|
||||||
|
and patents-unencumbered format that can be played everywhere.
|
||||||
|
MakeMKV is a format converter, otherwise called "transcoder".
|
||||||
|
It converts the video clips from proprietary (and usually encrypted)
|
||||||
|
disc into a set of MKV files, preserving most information but not
|
||||||
|
changing it in any way. The MKV format can store multiple video/audio
|
||||||
|
tracks with all meta-information and preserve chapters.
|
||||||
|
There are many players that can play MKV files nearly on all platforms,
|
||||||
|
and there are tools to convert MKV files to many formats,
|
||||||
|
including DVD and Blu-ray discs.
|
||||||
|
|
||||||
|
Additionally MakeMKV can instantly stream decrypted video without
|
||||||
|
intermediate conversion to wide range of players,
|
||||||
|
so you may watch Blu-ray and DVD discs with your favorite
|
||||||
|
player on your favorite OS or on your favorite device.
|
||||||
|
|
||||||
|
* Reads DVD and Blu-ray discs
|
||||||
|
* Reads Blu-ray discs protected with latest versions of AACS and BD+
|
||||||
|
* Preserves all video and audio tracks, including HD audio
|
||||||
|
* Preserves chapters information
|
||||||
|
* Preserves all meta-information (track language, audio type)
|
||||||
|
* Fast conversion - converts as fast as your drive can read data.
|
||||||
|
* No additional software is required for conversion or decryption.
|
||||||
|
* Available for Windows, Mac OS X and Linux
|
||||||
|
* Functionality to open DVD discs is free and will always stay free.
|
||||||
|
* All features (including Blu-ray decryption and processing) are free during BETA.
|
||||||
|
|
||||||
|
Attention: To make it work, you need rpmfusion-free-updates repository configured!
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-oss-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%define debug_package %{nil}
|
||||||
|
%{configure}
|
||||||
|
%{__make}
|
||||||
|
|
||||||
|
pushd %{_builddir}
|
||||||
|
tar xzf %{S:1}
|
||||||
|
patch -p0 < %{S:2}
|
||||||
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{make_install}
|
||||||
|
|
||||||
|
pushd %{_builddir}/%{name}-bin-%{version}
|
||||||
|
%{__make}
|
||||||
|
%{make_install}
|
||||||
|
popd
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_prefix}/lib/*
|
||||||
|
%{_datarootdir}/icons/hicolor/*/apps/makemkv.png
|
||||||
|
%{_datarootdir}/applications/makemkv.desktop
|
||||||
|
%{_datarootdir}/MakeMKV/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jan 3 2017 Daniel Steiner <elpito@bluewin.ch>
|
||||||
|
- Initial setup.
|
||||||
59
fedora/SPECS/mediaelch.spec
Normal file
59
fedora/SPECS/mediaelch.spec
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
#
|
||||||
|
# spec file for package mediaelch
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: MediaElch
|
||||||
|
Summary: A Media Manager for XBMC
|
||||||
|
Url: http://www.mediaelch.de/
|
||||||
|
Version: 2.4.2
|
||||||
|
Release: 0%{?dist}
|
||||||
|
License: GPL-3.0+
|
||||||
|
Group: Productivity/Multimedia/Other
|
||||||
|
Source0: mediaelch-%{version}.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}
|
||||||
|
qmake-qt5
|
||||||
|
|
||||||
|
%build
|
||||||
|
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
|
||||||
|
* Tue Jan 3 2017 Daniel Steiner <elpito@bluewin.ch>
|
||||||
|
- Initial setup.
|
||||||
|
|
||||||
Reference in New Issue
Block a user