]> git.pld-linux.org Git - packages/seed.git/blobdiff - seed.spec
- added array-filename patch (fix Seed.js exception message depending on gi version)
[packages/seed.git] / seed.spec
index 225021f306cd5d793882a82d27be1708b121b856..d12ced8c1a17a5c54f52b931fd3db56d0a7c4327 100644 (file)
--- a/seed.spec
+++ b/seed.spec
@@ -1,24 +1,26 @@
 #
 # Conditional build:
 %bcond_without apidocs         # do not build and package API docs
-#
+
 Summary:       JavaScript interpreter
 Summary(pl.UTF-8):     Interpreter JavaScriptu
 Name:          seed
 Version:       3.8.1
-Release:       2
+Release:       8
 License:       LGPL v2+
 Group:         Development/Languages
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/seed/3.8/%{name}-%{version}.tar.xz
 # Source0-md5: f5afeb04343e0cb56d2396f0d0458988
 Patch0:                format-security.patch
-URL:           http://live.gnome.org/Seed
+Patch1:                gtkdoc.patch
+Patch2:                %{name}-array-filename.patch
+URL:           https://wiki.gnome.org/Seed
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.7
 BuildRequires: cairo-devel
 BuildRequires: dbus-glib-devel
 BuildRequires: docbook-dtd412-xml
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
 BuildRequires: gnome-js-common
 BuildRequires: gobject-introspection-devel >= 0.10.0
 BuildRequires: gtk+3-devel >= 3.0.0
@@ -82,6 +84,9 @@ Summary:      seed library API documentation
 Summary(pl.UTF-8):     Dokumentacja API biblioteki seed
 Group:         Documentation
 Requires:      gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 API documentation for seed library.
@@ -92,8 +97,11 @@ Dokumentacja API biblioteki seed.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
+%{__gtkdocize}
 %{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
@@ -110,11 +118,10 @@ Dokumentacja API biblioteki seed.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} -j1 install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv -f $RPM_BUILD_ROOT%{_docdir}/seed{,-%{version}}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/seed{,-%{version}}
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/seed-gtk3/libseed*.{a,la} \
        $RPM_BUILD_ROOT%{_libdir}/*.la
This page took 0.046753 seconds and 4 git commands to generate.