]> git.pld-linux.org Git - packages/gxml.git/blobdiff - gxml.spec
- updated to 0.14.3
[packages/gxml.git] / gxml.spec
index 32c086ed4a102c4807a6ff06abb7e78333fce218..046cee0aeee340a99b4712364d743a7dbd82dfbe 100644 (file)
--- a/gxml.spec
+++ b/gxml.spec
@@ -6,14 +6,13 @@
 Summary:       GXml - GObject API that wraps around libxml2
 Summary(pl.UTF-8):     GXml - API GObject obudowujące libxml2
 Name:          gxml
-Version:       0.12.0
+Version:       0.14.3
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/gxml/0.12/%{name}-%{version}.tar.xz
-# Source0-md5: 203922473ca4c37dc7fef54b32764b91
-Patch0:                %{name}-missing.patch
-Patch1:                %{name}-normalize.patch
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/gxml/0.14/%{name}-%{version}.tar.xz
+# Source0-md5: 1c30d72ca8b7294072268ca125c9a50b
+Patch0:                %{name}-normalize.patch
 URL:           https://github.com/GNOME/gxml
 BuildRequires: autoconf >= 2.65
 BuildRequires: automake >= 1:1.11
@@ -21,14 +20,14 @@ BuildRequires:      gettext-tools >= 0.18.1
 BuildRequires: glib2-devel >= 1:2.32.0
 BuildRequires: gobject-introspection-devel >= 1.32.0
 BuildRequires: intltool >= 0.35.0
-BuildRequires: libgee-devel >= 0.10.5
+BuildRequires: libgee-devel >= 0.18.0
 BuildRequires: libtool >= 2:2
 BuildRequires: libxml2-devel >= 1:2.7
 BuildRequires: pkgconfig >= 1:0.21
 BuildRequires: sed >= 4.0
 BuildRequires: tar >= 1:1.22
-BuildRequires: vala >= 2:0.26
-%{?with_apidocs:BuildRequires: valadoc >= 0.3.1}
+BuildRequires: vala >= 2:0.34.6
+%{?with_apidocs:BuildRequires: valadoc >= 0.30}
 BuildRequires: xz
 BuildRequires: yelp-tools
 Requires:      glib2 >= 1:2.32.0
@@ -46,7 +45,7 @@ Summary(pl.UTF-8):    Pliki nagłówkowe biblioteki GXml
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.32.0
-Requires:      libgee-devel >= 0.10.5
+Requires:      libgee-devel >= 0.18.0
 Requires:      libxml2-devel >= 1:2.7
 
 %description devel
@@ -72,8 +71,8 @@ Summary:      Vala API for GXml library
 Summary(pl.UTF-8):     API języka Vala dla biblioteki GXml
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
-Requires:      vala >= 2:0.26
-Requires:      vala-libgee >= 0.10.5
+Requires:      vala >= 2:0.34.6
+Requires:      vala-libgee >= 0.18.0
 %if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
 %endif
@@ -98,7 +97,6 @@ Dokumentacja API biblioteki GXml.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__intltoolize}
@@ -108,11 +106,10 @@ Dokumentacja API biblioteki GXml.
 %{__autoheader}
 %{__automake}
 %configure \
+       %{!?with_apidocs:--disable-docs} \
        --disable-silent-rules \
-       %{?with_static_libs:--enable-static} \
-       %{?with_apidocs:--enable-docs --enable-gtk-docs --enable-valadoc}
-# --enable-devhelp-docs is almost the same as gtk-docs html, but built with valadoc(?) and installed to devhelp dirs
-# --enable-gir-docs ???
+       %{?with_static_libs:--enable-static}
+
 %{__make}
 
 %install
@@ -123,7 +120,7 @@ rm -rf $RPM_BUILD_ROOT
        gxmlgtkdocdir=%{_gtkdocdir}/gxml
 
 # obsoleted by pkg-config
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgxml-0.12.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgxml-0.14.la
 # packaged as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/doc
 
@@ -131,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} -r $RPM_BUILD_ROOT%{_gtkdocdir}/gxml/*.{bottom,top,stamp,txt,types,xml}
 cp -p docs/valadoc/gtk-doc/gtk-doc/gxml/html/* $RPM_BUILD_ROOT%{_gtkdocdir}/gxml
 
+# similar to gtk-doc?
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/devhelp
+
 # "GXml" gettext domain, "gxml" gnome help
 %find_lang GXml --with-gnome --all-name
 
@@ -143,27 +143,27 @@ rm -rf $RPM_BUILD_ROOT
 %files -f GXml.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libgxml-0.12.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgxml-0.12.so.12
-%{_libdir}/girepository-1.0/GXml-0.12.typelib
+%attr(755,root,root) %{_libdir}/libgxml-0.14.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgxml-0.14.so.14
+%{_libdir}/girepository-1.0/GXml-0.14.typelib
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgxml-0.12.so
-%{_includedir}/gxml-0.12
-%{_datadir}/gir-1.0/GXml-0.12.gir
-%{_pkgconfigdir}/gxml-0.12.pc
+%attr(755,root,root) %{_libdir}/libgxml-0.14.so
+%{_includedir}/gxml-0.14
+%{_datadir}/gir-1.0/GXml-0.14.gir
+%{_pkgconfigdir}/gxml-0.14.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libgxml-0.12.a
+%{_libdir}/libgxml-0.14.a
 %endif
 
 %files -n vala-gxml
 %defattr(644,root,root,755)
-%{_datadir}/vala/vapi/gxml-0.12.deps
-%{_datadir}/vala/vapi/gxml-0.12.vapi
+%{_datadir}/vala/vapi/gxml-0.14.deps
+%{_datadir}/vala/vapi/gxml-0.14.vapi
 
 %if %{with apidocs}
 %files apidocs
This page took 0.055471 seconds and 4 git commands to generate.