Commit d70b39bb authored by abfonly's avatar abfonly

Log: Finished it_ITA translation

add rosa packaging
parent e0389ecc
######################################################
# SpecFile: MistiQ.spec
# Generato: http://www.mandrivausers.ro/
######
%define oname MystiQ
Summary: Audio/Video converter
Name: mystiq
Version: 0.4.0
Release: 1
License: LGPLv3
Group: Video
Url: https://github.com/llamaret/MystiQ
Source0: https://github.com/llamaret/MystiQ/archive/v%{version}.tar.gz
Patch0: rosa-data.patch
BuildRequires: qt5-devel
BuildRequires: qt5-tools
BuildRequires: qt5-linguist-tools
BuildRequires: pkgconfig(libavresample)
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(sox)
BuildRequires: desktop-file-utils
BuildRequires: imagemagick
BuildRequires: appstream-util
BuildRequires: pkgconfig(Qt5Declarative)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5QuickWidgets)
Requires: ffmpeg
Requires: sox
Requires: mplayer
%description
MystiQ is a GUI for FFmpeg, a powerful media converter.
FFmpeg can read audio and video files in various
formats and convert them into other formats.
MystiQ features an intuitive graphical
interface and a rich set of presets to help you
convert media files within a few clicks.
Advanced users can also adjust conversion parameters in detail.
%files
%doc LICENSE README.md CONTRIBUTING.md
%{_bindir}/%{name}
%{_datadir}/%{name}/translations
%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
%{_datadir}/applications/*.desktop
%{_mandir}/man1/*.1.xz
#-----------------------------------------------------------------------------
%prep
%setup -qn %{oname}-%{version}
%patch0 -p0
chmod -x mystiq.desktop icons/mystiq.svg
lrelease-qt5 *.pro
%build
%qmake_qt5 DEFINES+=NO_NEW_VERSION_CHECK
%make
%install
%makeinstall_qt
# man
mkdir -p %{buildroot}%{_mandir}/man1
cp -R man/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz
#lang
mkdir -p %{buildroot}%{_datadir}/%{name}
cp -pR translations %{buildroot}%{_datadir}/%{name}/translations
--- mystiq.pro 2020-01-05 00:46:57.482150534 +0100
+++ patched-mystiq.pro 2020-01-06 09:30:52.769281003 +0100
@@ -154,9 +154,9 @@ unix {
target.path = /usr/bin/
desktop.path = /usr/share/applications/
desktop.files += mystiq.desktop
- desktop.uninstall += rm ${INSTALL_ROOT}/usr/share/icons/mystiq.svg
- desktop.extra += mkdir -p ${INSTALL_ROOT}/usr/share/icons && \
- cp icons/mystiq.svg ${INSTALL_ROOT}/usr/share/icons/mystiq.svg
+ desktop.uninstall += rm ${INSTALL_ROOT}/usr/share/icons/hicolor/scalable/apps/mystiq.svg
+ desktop.extra += mkdir -p ${INSTALL_ROOT}/usr/share/icons/hicolor/scalable/apps && \
+ cp icons/mystiq.svg ${INSTALL_ROOT}/usr/share/icons/hicolor/scalable/apps/mystiq.svg
INSTALLS += target desktop
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment