This commit is contained in:
parent
b6d66d7f09
commit
9b7dcc3c1f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 27 16:37:02 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 11:37:30 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
@ -22,7 +22,7 @@ Release: 0
|
||||
Summary: A text-based subtitle editor
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Multimedia/Video/Editors and Convertors
|
||||
URL: https://invent.kde.org/kde/subtitlecomposer
|
||||
URL: https://invent.kde.org/multimedia/subtitlecomposer
|
||||
Source0: https://github.com/maxrd2/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
# No longer part of mpv >= 0.33
|
||||
Source1: https://raw.githubusercontent.com/mpv-player/mpv/v0.32.0/libmpv/qthelper.hpp
|
||||
@ -30,24 +30,24 @@ Source1: https://raw.githubusercontent.com/mpv-player/mpv/v0.32.0/libmpv/
|
||||
Patch0: 0001-Use-a-local-qthelper.cpp-copy.patch
|
||||
BuildRequires: cmake >= 3.10
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: kauth-devel
|
||||
BuildRequires: kcodecs-devel
|
||||
BuildRequires: kconfig-devel
|
||||
BuildRequires: kconfigwidgets-devel
|
||||
BuildRequires: kcoreaddons-devel
|
||||
BuildRequires: ki18n-devel
|
||||
BuildRequires: kio-devel
|
||||
BuildRequires: kross-devel
|
||||
BuildRequires: ktextwidgets-devel
|
||||
BuildRequires: kwidgetsaddons-devel
|
||||
BuildRequires: kxmlgui-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: sonnet-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(Qt5Core) >= 5.6
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Test)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: cmake(KF5Auth)
|
||||
BuildRequires: cmake(KF5Codecs)
|
||||
BuildRequires: cmake(KF5Config)
|
||||
BuildRequires: cmake(KF5ConfigWidgets)
|
||||
BuildRequires: cmake(KF5CoreAddons)
|
||||
BuildRequires: cmake(KF5I18n)
|
||||
BuildRequires: cmake(KF5KIO)
|
||||
BuildRequires: cmake(KF5Kross)
|
||||
BuildRequires: cmake(KF5Sonnet)
|
||||
BuildRequires: cmake(KF5TextWidgets)
|
||||
BuildRequires: cmake(KF5WidgetsAddons)
|
||||
BuildRequires: cmake(KF5XmlGui)
|
||||
BuildRequires: cmake(Qt5Core) >= 5.6
|
||||
BuildRequires: cmake(Qt5Gui)
|
||||
BuildRequires: cmake(Qt5Test)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(gstreamer-1.0)
|
||||
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
@ -60,10 +60,6 @@ BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(mpv)
|
||||
BuildRequires: pkgconfig(phonon4qt5)
|
||||
Recommends: %{name}-lang = %{version}
|
||||
%if 0%{?suse_version} < 1500
|
||||
Requires(post): shared-mime-info
|
||||
Requires(postun): shared-mime-info
|
||||
%endif
|
||||
|
||||
%description
|
||||
A text-based subtitles editor that supports basic operations. It supports
|
||||
@ -95,7 +91,7 @@ sed -i 's,#!/usr/bin/env ruby,#!%{_bindir}/ruby,' \
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
%make_jobs
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
@ -115,28 +111,20 @@ perl -pi -e "s|'api'|'%{_docdir}/subtitlecomposer/api'|" %{buildroot}%{_kf5_apps
|
||||
|
||||
%{kf5_post_install}
|
||||
|
||||
%if 0%{?suse_version} < 1500
|
||||
%post
|
||||
%mime_database_post
|
||||
|
||||
%postun
|
||||
%mime_database_postun
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc ChangeLog README.md files_for_doc/api
|
||||
%license LICENSE
|
||||
%{_kf5_applicationsdir}/%{name}.desktop
|
||||
%{_kf5_appsdir}/%{name}/
|
||||
%{_kf5_bindir}/%{name}
|
||||
%config(noreplace) %{_kf5_configdir}/%{name}rc
|
||||
%dir %{_kf5_iconsdir}/hicolor/256x256
|
||||
%dir %{_kf5_iconsdir}/hicolor/256x256/apps
|
||||
%{_datadir}/mime/packages/%{name}.xml
|
||||
%{_kf5_applicationsdir}/%{name}.desktop
|
||||
%{_kf5_appsdir}/%{name}/
|
||||
%{_kf5_appstreamdir}/%{name}.desktop.appdata.xml
|
||||
%{_kf5_bindir}/%{name}
|
||||
%{_kf5_iconsdir}/hicolor/*/*/*
|
||||
%{_kf5_kxmlguidir}/%{name}/
|
||||
%{_kf5_libdir}/%{name}/
|
||||
%{_datadir}/mime/packages/%{name}.xml
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user