Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
gitg
gitg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gitg.spec of Package gitg
# # spec file for package gitg # # Copyright (c) 2016 SUSE LINUX 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/ # Name: gitg Version: 3.20.3 Release: 0 Summary: Git repository viewer License: GPL-2.0+ Group: Development/Tools/Version Control Url: http://trac.novowork.com/gitg/ Source0: http://download.gnome.org/sources/gitg/3.20/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: intltool BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: vala BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gladeui-2.0) >= 3.2 BuildRequires: pkgconfig(glib-2.0) >= 2.38 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1 BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gtk+-3.0) >= 3.20.0 BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.10 BuildRequires: pkgconfig(gtkspell3-3.0) >= 3.0.3 BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libgit2-glib-1.0) >= 0.24.0 BuildConflicts: pkgconfig(libgit2-glib-1.0) >= 0.25.0 BuildRequires: pkgconfig(libpeas-1.0) >= 1.5.0 BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 1.5.0 BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libxml-2.0) >= 2.9.0 BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0 #BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.2 # Those dependencies cannot (yet) be auto-detected, as they are actually compiled inside a binary... # ./gitg-3.16.1/gitg/gitg-plugins-engine.vala: repo.require("Peas", "1.0", 0); Requires: typelib-1_0-Peas-1_0 # ./gitg-3.16.1/gitg/gitg-plugins-engine.vala: repo.require("PeasGtk", "1.0", 0); Requires: typelib-1_0-PeasGtk-1_0 Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. %package -n libgitg-1_0-0 Summary: Git repository viewer -- Library Group: System/Libraries %description -n libgitg-1_0-0 gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. %package -n libgitg-ext-1_0-0 Summary: Git repository viewer -- Library Group: System/Libraries %description -n libgitg-ext-1_0-0 gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. %package -n typelib-1_0-Gitg-1_0 Summary: Git repository viewer -- Library Group: System/Libraries %description -n typelib-1_0-Gitg-1_0 gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. %package -n typelib-1_0-GitgExt-1_0 Summary: Git repository viewer -- Library Group: System/Libraries %description -n typelib-1_0-GitgExt-1_0 gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. %package -n glade-catalog-gitg Summary: Git repository viewer -- Catalog for Glade Group: Development/Tools/GUI Builders Requires: glade Requires: libgitg-1_0-0 = %{version} Supplements: packageand(glade:%{name}-devel) %description -n glade-catalog-gitg gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. This package provides a catalog for Glade, to allow the use the gitg widgets in Glade. %package -n libgitg-devel Summary: Git repository viewer -- Development Files Group: Development/Libraries/GNOME Requires: libgitg-1_0-0 = %{version} Requires: libgitg-ext-1_0-0 = %{version} Requires: python3-GitgExt = %{version} Requires: typelib-1_0-Gitg-1_0 = %{version} Requires: typelib-1_0-GitgExt-1_0 = %{version} %description -n libgitg-devel gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. %package -n python3-GitgExt Summary: Git repository viewer -- Python bindings Group: Development/Libraries/GNOME %description -n python3-GitgExt gitg is a GitX clone for GNOME/gtk+. It aims at being a small, fast and convenient tool to visualize git history and actions that benefit from a graphical presentation. %lang_package %prep %setup -q translation-update-upstream %build %configure --disable-static \ --enable-glade-catalog \ --disable-maintainer-mode make V=1 %{?jobs:-j%jobs} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %suse_update_desktop_file -G "Git repository viewer" %{name} RevisionControl %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot}%{_datadir} %if 0%{?suse_version} > 1130 %post %glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post %endif %if 0%{?suse_version} > 1130 %postun %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun %endif %post -n libgitg-1_0-0 -p /sbin/ldconfig %postun -n libgitg-1_0-0 -p /sbin/ldconfig %post -n libgitg-ext-1_0-0 -p /sbin/ldconfig %postun -n libgitg-ext-1_0-0 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS README NEWS COPYING %{_bindir}/gitg %dir %{_datadir}/appdata %{_datadir}/appdata/gitg.appdata.xml %{_datadir}/gitg/ %{_datadir}/applications/gitg.desktop %{_datadir}/glib-2.0/schemas/org.gnome.gitg.gschema.xml %{_datadir}/icons/hicolor/ %{_libdir}/gitg/ %{_mandir}/man1/gitg.1%{?ext_man} %files -n libgitg-1_0-0 %defattr(-,root,root) %{_libdir}/libgitg-1.0.so.* %files -n libgitg-ext-1_0-0 %defattr(-,root,root) %{_libdir}/libgitg-ext-1.0.so.* %files -n glade-catalog-gitg %defattr(-,root,root) %{_datadir}/glade/catalogs/gitg-glade.xml %files -n typelib-1_0-Gitg-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/Gitg-1.0.typelib %files -n typelib-1_0-GitgExt-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/GitgExt-1.0.typelib %files -n libgitg-devel %defattr(-,root,root) %{_datadir}/gir-1.0/Gitg-1.0.gir %{_datadir}/gir-1.0/GitgExt-1.0.gir %{_datadir}/vala/vapi/libgitg-1.0.vapi %{_datadir}/vala/vapi/libgitg-ext-1.0.vapi %{_includedir}/libgitg-1.0/ %{_includedir}/libgitg-ext-1.0/ %{_libdir}/libgitg-1.0.so %{_libdir}/libgitg-ext-1.0.so %{_libdir}/pkgconfig/libgitg-1.0.pc %{_libdir}/pkgconfig/libgitg-ext-1.0.pc %files -n python3-GitgExt %defattr(-,root,root) %{python3_sitearch}/gi/overrides/ %files lang -f %{name}.lang %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