X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gitg.spec;h=e5de70f49689bfec1ccacb38a5b39605ef6af346;hb=d161932d0634aa16d261aad0aead6cae18afdb06;hp=a9f2e23dab14c8d9405f51d71edd29ff1b2ea71f;hpb=edd6347fe629a17a8b2c8afcdc816aa5fb940d4a;p=packages%2Fgitg.git diff --git a/gitg.spec b/gitg.spec index a9f2e23..e5de70f 100644 --- a/gitg.spec +++ b/gitg.spec @@ -2,16 +2,17 @@ # 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.16.1 -Release: 2 +Version: 3.20.0 +Release: 1 License: GPL v2 Group: Development/Tools -Source0: http://ftp.gnome.org/pub/GNOME/sources/gitg/3.16/%{name}-%{version}.tar.xz -# Source0-md5: ea69e7d33d8d05fa86a9ba43769aa2cd +Source0: http://ftp.gnome.org/pub/GNOME/sources/gitg/3.20/%{name}-%{version}.tar.xz +# Source0-md5: 84a9ffee50c9a49aa781beffa18c835b +Patch0: %{name}-build.patch URL: http://live.gnome.org/Gitg BuildRequires: autoconf >= 2.64 BuildRequires: automake >= 1:1.11 @@ -20,7 +21,7 @@ BuildRequires: gettext-tools >= 0.17 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+3-devel >= 3.20.0 BuildRequires: gtk-webkit4-devel >= 2.2 BuildRequires: gtksourceview3-devel >= 3.10 BuildRequires: gtkspell3-devel >= 3.0.3 @@ -29,10 +30,11 @@ 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.22.0 +BuildRequires: libgit2-glib-devel >= 0.24.0 BuildRequires: libpeas-devel >= 1.5.0 BuildRequires: libpeas-gtk-devel >= 1.5.0 BuildRequires: libsecret-devel +BuildRequires: libsoup-devel BuildRequires: libtool >= 2:2.2 BuildRequires: pkgconfig BuildRequires: python3-devel >= 1:3.2.3 @@ -41,18 +43,18 @@ 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: 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+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.22.0 +Requires: libgit2-glib >= 0.24.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -72,9 +74,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.22.0 +Requires: libgit2-glib-devel >= 0.24.0 %description devel libgitg header files. @@ -110,10 +112,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} +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 @@ -129,6 +131,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. @@ -138,11 +143,12 @@ 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}