File gnome-subtitles.spec of Package gnome-subtitles

# spec file for package gnome-subtitles
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

Name:           gnome-subtitles
Version:        1.3
Release:        0
Summary:        Subtitle editor for GNOME
License:        GPL-2.0+
Group:          Productivity/Multimedia/Video/Editors and Convertors
BuildRequires:  fdupes
BuildRequires:  gconf-sharp2
BuildRequires:  gconf2-devel
BuildRequires:  glade-sharp2
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gstreamer-devel
BuildRequires:  gstreamer-plugins-base-devel
BuildRequires:  gtk-sharp2
BuildRequires:  gtk3-devel
BuildRequires:  gtkspell
BuildRequires:  intltool
BuildRequires:  mono-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Requires:       glade-sharp2
Requires:       gnome-sharp2
Requires:       gstreamer-plugins-base
Requires:       gtkspell
Requires:       mono-core
Recommends:     %{name}-lang

BuildRoot:      %{_tmppath}/%{name}-%{version}-build


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.

%setup -q

%{configure} --disable-scrollkeeper \
# Disable parallel build - mono fails to often with it

%{__rm} %{buildroot}%{_libdir}/%{name}/
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%fdupes -s %{buildroot}

%{__rm} -rf '%{buildroot}'

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun



%files -f %{name}.schemas_list
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by