]> git.pld-linux.org Git - packages/gitg.git/blobdiff - gitg.spec
noarch vala subpackage
[packages/gitg.git] / gitg.spec
index 9d3eba8f35e5f56ce8c6e825aec0e84f6a40d177..e72ed054b9e6522e0dd286044d93d7a7f60ad93d 100644 (file)
--- a/gitg.spec
+++ b/gitg.spec
@@ -2,26 +2,27 @@
 # Conditional build:
 %bcond_without static_libs     # static libraries
 %bcond_without glade           # Glade catalog
-#
+
 Summary:       GTK+ git repository viewer
 Summary(pl.UTF-8):     Przeglądarka repozytoriów git oparta na GTK+
 Name:          gitg
-Version:       3.14.1
-Release:       2
+Version:       3.18.0
+Release:       3
 License:       GPL v2
 Group:         Development/Tools
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gitg/3.14/%{name}-%{version}.tar.xz
-# Source0-md5: d4d7aae3cfb46cfff1c09894378ef4e0
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gitg/3.18/%{name}-%{version}.tar.xz
+# Source0-md5: 9d656124955e01e6c3c07fd40415a779
+Patch0:                %{name}-build.patch
 URL:           http://live.gnome.org/Gitg
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.11
-BuildRequires: gettext-devel >= 0.17
+BuildRequires: gettext-tools >= 0.17
 %{?with_glade:BuildRequires:   glade-devel >= 3.2}
 BuildRequires: glib2-devel >= 1:2.38
 BuildRequires: gobject-introspection-devel >= 0.10.1
 BuildRequires: gsettings-desktop-schemas-devel
 BuildRequires: gtk+3-devel >= 3.12.0
-BuildRequires: gtk-webkit3-devel >= 2.2
+BuildRequires: gtk-webkit4-devel >= 2.2
 BuildRequires: gtksourceview3-devel >= 3.10
 BuildRequires: gtkspell3-devel >= 3.0.3
 BuildRequires: intltool >= 0.40.0
@@ -29,12 +30,13 @@ BuildRequires:      json-glib-devel
 BuildRequires: libgee-devel >= 0.8
 # libgit2 with threading support
 BuildRequires: libgit2-devel >= 0.20.0-3
-BuildRequires: libgit2-glib-devel >= 0.0.20
+BuildRequires: libgit2-glib-devel >= 0.23.5
 BuildRequires: libpeas-devel >= 1.5.0
 BuildRequires: libpeas-gtk-devel >= 1.5.0
+BuildRequires: libsecret-devel
 BuildRequires: libtool >= 2:2.2
 BuildRequires: pkgconfig
-BuildRequires: python3-devel >= 3.2.3
+BuildRequires: python3-devel >= 1:3.2.3
 BuildRequires: python3-pygobject3-devel >= 3.0.0
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(find_lang) >= 1.23
@@ -47,11 +49,11 @@ Requires(post,preun):       glib2 >= 1:2.38
 Requires(post,postun): gtk-update-icon-cache
 Requires:      glib2 >= 1:2.38
 Requires:      gtk+3 >= 3.12.0
-Requires:      gtk-webkit3 >= 2.2
+Requires:      gtk-webkit4 >= 2.2
 Requires:      gtksourceview3 >= 3.10
 Requires:      gtkspell3 >= 3.0.3
 Requires:      libgit2 >= 0.20.0-3
-Requires:      libgit2-glib >= 0.0.20
+Requires:      libgit2-glib >= 0.23.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -73,7 +75,7 @@ Requires:     %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.38
 Requires:      gtk+3-devel >= 3.12.0
 Requires:      libgit2-devel >= 0.20.0-3
-Requires:      libgit2-glib-devel >= 0.0.20
+Requires:      libgit2-glib-devel >= 0.23.5
 
 %description devel
 libgitg header files.
@@ -109,10 +111,10 @@ Plik katalogu libgitg dla Glade.
 %package -n python3-gitg
 Summary:       Python 3.x binding to GitgExt library
 Summary(pl.UTF-8):     Wiązanie Pythona 3.x do biblioteki GitgExt
-Group:         Python/Libraries
-Requires:      %{name} = %{version}-%{release}
-BuildRequires: python3-libs >= 3.2.3
+Group:         Libraries/Python
+BuildRequires: python3-libs >= 1:3.2.3
 BuildRequires: python3-pygobject3 >= 3.0.0
+Requires:      %{name} = %{version}-%{release}
 
 %description -n python3-gitg
 Python 3.x binding to GitgExt library, allowing to write Gitg plugins
@@ -128,6 +130,9 @@ Summary(pl.UTF-8):  API języka Vala do bibliotek Gitg
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      vala >= 2:0.20.1.23
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n vala-gitg
 Vala API for Gitg libraries.
@@ -137,6 +142,7 @@ API języka Vala do bibliotek Gitg.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -201,7 +207,8 @@ fi
 %{_datadir}/glib-2.0/schemas/org.gnome.gitg.gschema.xml
 %{_desktopdir}/gitg.desktop
 %{_mandir}/man1/gitg.1*
-%{_iconsdir}/hicolor/*/apps/gitg.*
+%{_iconsdir}/hicolor/*x*/apps/gitg.png
+%{_iconsdir}/hicolor/scalable/apps/gitg-symbolic.svg
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.224052 seconds and 4 git commands to generate.