Package not found: openSUSE:Factory:Staging:adi:26/konqueror

File gnome-subtitles.spec of Package gnome-subtitles

#
# spec file for package gnome-subtitles
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           gnome-subtitles
Version:        1.7.2
Release:        0
Summary:        Subtitle editor for GNOME
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Video/Editors and Convertors
URL:            http://gnomesubtitles.org/
Source0:        https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE gnome-subtitles-gtk-sharp-build-fix.patch mgorse@suse.com -- fix build against new gtk-sharp.
Patch0:         gnome-subtitles-gtk-sharp-build-fix.patch
BuildRequires:  enchant-devel > 2.0
BuildRequires:  fdupes
BuildRequires:  gtk-doc
BuildRequires:  intltool >= 0.50
BuildRequires:  pkgconfig
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0) >= 1.0
BuildRequires:  pkgconfig(gstreamer-video-1.0) >= 1.0
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.12
BuildRequires:  pkgconfig(gtk-sharp-3.0) >= 2.99.3
BuildRequires:  pkgconfig(mono) >= 4.0
Requires:       gstreamer-plugins-base
Requires:       hicolor-icon-theme
Requires:       mono-core

%description
Gnome Subtitles is a subtitle editor for the GNOME desktop. It supports
the most common text-based subtitle formats and allows for subtitle
editing, translation and synchronization.

%lang_package

%prep
%autosetup -p1

%build
%configure \
	--enable-gtk-doc \
	%{nil}
# Disable parallel build - mono fails too often with it
make -j1

%install
%make_install
find %{buildroot}%{_libdir} -type f -name "*.la" -delete
%find_lang %{name} %{?no_lang_C}
%find_lang org.gnome.GnomeSubtitles %{?no_lang_C}

%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/%{name}
%{_libdir}/%{name}/
%{_mandir}/man1/gnome-subtitles.1%{ext_man}
%{_datadir}/glib-2.0/schemas/org.gnome.GnomeSubtitles.gschema.xml
%{_datadir}/icons/hicolor/*/apps/gnome-subtitles.svg
%{_datadir}/applications/org.gnome.GnomeSubtitles.desktop
%{_datadir}/help/C/gnome-subtitles/
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.gnome.GnomeSubtitles.appdata.xml

%files lang -f %{name}.lang -f org.gnome.GnomeSubtitles.lang

%changelog
openSUSE Build Service is sponsored by