Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
gedit
gedit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gedit.spec of Package gedit
# # spec file for package gedit # # Copyright (c) 2014 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 http://bugs.opensuse.org/ # %define _with_gi_python 1 Name: gedit Version: 3.10.4 Release: 0 Summary: Small and lightweight UTF-8 text editor License: GPL-2.0+ Group: Productivity/Text/Editors Url: http://www.gnome.org Source: http://download.gnome.org/sources/gedit/3.10/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE gedit-desktop.patch -- adds more MIME types and change icon Patch0: gedit-desktop.patch BuildRequires: enchant-devel BuildRequires: fdupes BuildRequires: gettext BuildRequires: gtk-doc BuildRequires: intltool >= 0.50.1 BuildRequires: iso-codes-devel BuildRequires: python >= 3.2.3 BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: yelp-tools BuildRequires: pkgconfig(gio-2.0) >= 2.37.5 BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.9 BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.9.91 BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libpeas-1.0) >= 1.7.0 BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 1.7.0 BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0 BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0 BuildRequires: pkgconfig(sm) >= 1.0.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(zeitgeist-2.0) >= 0.9.12 Requires: python3-cairo %if %{_with_gi_python} # See bnc#847114 - plugins generally depend on it Requires: python3-gedit %endif Requires: python3-gobject Recommends: %{name}-lang Recommends: iso-codes Provides: gedit2 = %{version} Obsoletes: gedit2 < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description Gedit is a small and lightweight UTF-8 text editor for the GNOME environment. %package plugin-zeitgeist Summary: Zeitgeist dataprovider for gedit Group: Productivity/Text/Editors Requires: %{name} Supplements: packageand(%{name}:zeitgeist) %description plugin-zeitgeist The zeitgeist plugin for gedit provides a zeitgeist dataprovider that logs access and leave event for documents used with gedit. %if %{_with_gi_python} %package -n python3-gedit Summary: Python bindings for gedit Group: Development/Languages/Python %description -n python3-gedit Gedit is a small and lightweight UTF-8 text editor for the GNOME environment. This package provides the python bindings, based on gobject-introspection. %endif %package devel Summary: Small and lightweight UTF-8 text editor Group: Productivity/Text/Editors Requires: %{name} = %{version} Requires: gtksourceview-devel %if %{_with_gi_python} Requires: python3-gedit %endif Provides: gedit2-devel = %{version} Obsoletes: gedit2-devel < %{version} Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} %description devel Gedit is a small and lightweight UTF-8 text editor for the GNOME environment. %lang_package %prep %setup -q translation-update-upstream %patch0 -p0 %build %configure \ --enable-python make %{?_smp_mflags} V=1 %install %make_install find %{buildroot} -type f -name '*.la' -delete -print %suse_update_desktop_file gedit %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot} %clean rm -rf %{buildroot} %post /sbin/ldconfig %desktop_database_post %glib2_gsettings_schema_post %postun /sbin/ldconfig %desktop_database_postun %glib2_gsettings_schema_postun %files %defattr(-, root, root) %doc AUTHORS BUGS ChangeLog COPYING MAINTAINERS NEWS README %doc %{_datadir}/help/C/%{name}/ %{_bindir}/gedit %{_bindir}/gnome-text-editor %dir %{_datadir}/appdata %{_datadir}/appdata/gedit.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.gnome.gedit.service %{_datadir}/GConf/gsettings/gedit.convert # %{_datadir}/gedit/gir-1.0/ lives in -devel %exclude %{_datadir}/gedit/gir-1.0/ %{_datadir}/gedit/ %{_datadir}/glib-2.0/schemas/org.gnome.gedit.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.externaltools.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.filebrowser.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.filebrowser.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.pythonconsole.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.time.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.time.gschema.xml %dir %{_libdir}/gedit/ %{_libdir}/gedit/libgedit-private.so %{_libdir}/gedit/girepository-1.0/ %dir %{_libdir}/gedit/plugins/ # Explicitly list plugins so we know when we miss one %{_libdir}/gedit/plugins/changecase.plugin %{_libdir}/gedit/plugins/libchangecase.so %{_libdir}/gedit/plugins/docinfo.plugin %{_libdir}/gedit/plugins/libdocinfo.so %{_libdir}/gedit/plugins/externaltools/ %{_libdir}/gedit/plugins/externaltools.plugin %{_libdir}/gedit/plugins/filebrowser.plugin %{_libdir}/gedit/plugins/libfilebrowser.so %{_libdir}/gedit/plugins/modelines.plugin %{_libdir}/gedit/plugins/libmodelines.so %{_libdir}/gedit/plugins/pythonconsole/ %{_libdir}/gedit/plugins/pythonconsole.plugin %{_libdir}/gedit/plugins/quickopen/ %{_libdir}/gedit/plugins/quickopen.plugin %{_libdir}/gedit/plugins/snippets/ %{_libdir}/gedit/plugins/snippets.plugin %{_libdir}/gedit/plugins/sort.plugin %{_libdir}/gedit/plugins/libsort.so %{_libdir}/gedit/plugins/spell.plugin %{_libdir}/gedit/plugins/libspell.so %{_libdir}/gedit/plugins/time.plugin %{_libdir}/gedit/plugins/libtime.so %if "%{_libdir}" != "%{_libexecdir}" %dir %{_libexecdir}/gedit %endif %{_libexecdir}/gedit/gedit-bugreport.sh %doc %{_mandir}/man1/gedit* %files lang -f %{name}.lang %files plugin-zeitgeist %defattr(-, root, root) %{_libdir}/gedit/plugins/zeitgeist.plugin %{_libdir}/gedit/plugins/libzeitgeistplugin.so %if %{_with_gi_python} %files -n python3-gedit %defattr(-,root,root) %{python3_sitearch}/gi/overrides/Gedit* %{python3_sitearch}/gi/overrides/__pycache__/ %endif %files devel %defattr(-, root, root) %doc %{_datadir}/gtk-doc/html/gedit/ %{_datadir}/gedit/gir-1.0/ %{_includedir}/* %{_libdir}/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor