|
|
3712e08 |
Name: gnome-subtitles
|
|
|
fe0b902 |
Version: 1.7.2
|
|
|
4ed682d |
Release: %autorelease
|
|
|
3712e08 |
Summary: Subtitle editor for Gnome
|
|
|
3712e08 |
|
|
|
cd22c52 |
#Files under src/External/NCharDet are MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
cd22c52 |
License: GPLv2+ and (MPLv1.1 or GPLv2+ or LGPLv2+)
|
|
Richard Hughes |
4da5e3e |
URL: http://gnome-subtitles.sourceforge.net/
|
|
|
3712e08 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
3712e08 |
|
|
|
3712e08 |
BuildRequires: desktop-file-utils
|
|
|
3712e08 |
BuildRequires: gnome-doc-utils
|
|
|
4ed682d |
BuildRequires: gcc
|
|
|
e1ca536 |
BuildRequires: libappstream-glib
|
|
|
e1ca536 |
BuildRequires: pkgconfig(mono)
|
|
|
e1ca536 |
BuildRequires: pkgconfig(gstreamer-video-1.0)
|
|
|
e1ca536 |
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
|
|
|
e1ca536 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
e1ca536 |
BuildRequires: pkgconfig(gtk-sharp-3.0)
|
|
|
cd22c52 |
BuildRequires: intltool
|
|
|
43ea56a |
BuildRequires: itstool
|
|
|
4ed682d |
BuildRequires: make
|
|
|
3712e08 |
BuildRequires: mono-devel
|
|
|
b22dcd6 |
BuildRequires: mono-web
|
|
|
3712e08 |
BuildRequires: perl(XML::Parser)
|
|
|
3712e08 |
|
|
|
3cc10b8 |
Requires: enchant
|
|
|
3a67035 |
Requires: gstreamer1-plugins-good-gtk
|
|
|
43ea56a |
Requires: hicolor-icon-theme
|
|
|
75e9032 |
Requires: mono-locale-extras
|
|
|
75e9032 |
|
|
|
a3f9bc0 |
# Mono only available on these:
|
|
|
9f31815 |
ExclusiveArch: %mono_arches
|
|
|
3712e08 |
|
|
|
3712e08 |
%description
|
|
|
3712e08 |
Gnome Subtitles is a subtitle editor for the GNOME desktop. It supports the
|
|
|
3712e08 |
most common text-based subtitle formats and allows for subtitle editing,
|
|
|
3712e08 |
translation and synchronization.
|
|
|
3712e08 |
|
|
|
3712e08 |
%prep
|
|
|
d96cac6 |
%autosetup -p1
|
|
|
3712e08 |
|
|
|
3712e08 |
|
|
|
3712e08 |
%build
|
|
|
43ea56a |
%configure
|
|
|
e1ca536 |
%make_build
|
|
|
3712e08 |
|
|
|
3712e08 |
|
|
|
3712e08 |
%install
|
|
|
e1ca536 |
%make_install
|
|
|
43ea56a |
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.GnomeSubtitles.desktop
|
|
|
e1ca536 |
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.appdata.xml
|
|
Richard Hughes |
2c4445d |
|
|
|
4ed682d |
%find_lang org.gnome.GnomeSubtitles
|
|
|
3712e08 |
|
|
|
3712e08 |
|
|
|
4ed682d |
%files -f org.gnome.GnomeSubtitles.lang
|
|
|
cd22c52 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
4e6520e |
%{_bindir}/%{name}
|
|
|
4e6520e |
%{_libdir}/%{name}
|
|
|
43ea56a |
%{_datadir}/applications/org.gnome.GnomeSubtitles.desktop
|
|
|
e1ca536 |
%{_datadir}/glib-2.0/schemas/org.gnome.GnomeSubtitles.gschema.xml
|
|
|
43ea56a |
%{_datadir}/help/*/%{name}
|
|
|
43ea56a |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
4e6520e |
%{_mandir}/man1/%{name}.1*
|
|
|
43ea56a |
%{_metainfodir}/org.gnome.GnomeSubtitles.appdata.xml
|
|
|
3712e08 |
|
|
|
3712e08 |
|
|
|
3712e08 |
%changelog
|
|
|
4ed682d |
%autochangelog
|