]> git.pld-linux.org Git - packages/gitg.git/blobdiff - gitg.spec
- up to 3.26.0
[packages/gitg.git] / gitg.spec
index 39007aa8d8e86941dfd81808967c9e8d91c10d19..0c97ffb88fab2ab83dfcd08df2efbed2bfea6bb4 100644 (file)
--- a/gitg.spec
+++ b/gitg.spec
@@ -2,26 +2,28 @@
 # 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
+Version:       3.26.0
 Release:       1
 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.26/%{name}-%{version}.tar.xz
+# Source0-md5: 099dad2d598e1420bbe451adb0e97fd5
+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: gnome-common
 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+3-devel >= 3.20.0
+BuildRequires: gtk-webkit4-devel >= 2.2
 BuildRequires: gtksourceview3-devel >= 3.10
 BuildRequires: gtkspell3-devel >= 3.0.3
 BuildRequires: intltool >= 0.40.0
@@ -29,29 +31,36 @@ 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.25.0
 BuildRequires: libpeas-devel >= 1.5.0
 BuildRequires: libpeas-gtk-devel >= 1.5.0
+BuildRequires: libsecret-devel
+BuildRequires: libsoup-devel >= 2.4
 BuildRequires: libtool >= 2:2.2
+BuildRequires: libxml2-devel >= 1:2.9.0
 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
 BuildRequires: rpmbuild(macros) >= 1.596
 BuildRequires: tar >= 1:1.22
-BuildRequires: vala >= 2:0.20.1.23
+BuildRequires: vala >= 2:0.32.0
+BuildRequires: vala-libgee >= 0.8
+BuildRequires: vala-libgit2-glib >= 0.25.0
+BuildRequires: vala-libsecret
 BuildRequires: xz
 Requires(post,postun): desktop-file-utils
 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+3 >= 3.20.0
+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.25.0
+Requires:      libxml2 >= 1:2.9.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -71,9 +80,9 @@ Summary(pl.UTF-8):    Pliki nagłówkowe biblioteki libgitg
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.38
-Requires:      gtk+3-devel >= 3.12.0
+Requires:      gtk+3-devel >= 3.20.0
 Requires:      libgit2-devel >= 0.20.0-3
-Requires:      libgit2-glib-devel >= 0.0.20
+Requires:      libgit2-glib-devel >= 0.25.0
 
 %description devel
 libgitg header files.
@@ -109,10 +118,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
@@ -127,7 +136,10 @@ Summary:   Vala API for Gitg libraries
 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
+Requires:      vala >= 2:0.32
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description -n vala-gitg
 Vala API for Gitg libraries.
@@ -137,16 +149,17 @@ API języka Vala do bibliotek Gitg.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
 %{__intltoolize}
-%{__aclocal} -I m4 -I libgd
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
-       %{!?with_glade:--disable-glade-catalog} \
+       %{?with_glade:--enable-glade-catalog} \
        --disable-silent-rules \
        %{?with_static_libs:--enable-static}
 %{__make}
@@ -201,7 +214,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.52214 seconds and 4 git commands to generate.