]> git.pld-linux.org Git - packages/dotnet-webkitgtk-sharp.git/commitdiff
- updated descriptions, cleanup auto/th/dotnet-webkitgtk-sharp-2.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Jul 2014 14:29:47 +0000 (16:29 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Jul 2014 14:29:47 +0000 (16:29 +0200)
dotnet-webkitgtk-sharp.spec

index a44c3aea24cdfd4a255073be6f63d93cbaf7f5a3..c87f8e3fd5d3755c4b0d180ca36a2b4c373d5808 100644 (file)
@@ -1,33 +1,27 @@
-# TODO
-# - fix docs build
-# - update descs (this is dor gtk3)
-# - cleanup/update deps
-#
-# Conditional build:
-%bcond_with    doc             # build with tests
-
 %include       /usr/lib/rpm/macros.mono
 Summary:       C# bindings for WebKitGTK+ 3.0 using GObject Introspection
-Summary(pl.UTF-8):     WebKit# - wiązanie WebKit dla Mono
+Summary(pl.UTF-8):     Wiązania C# do biblioteki WebKitGTK+ 3.0 wykorzystujące GObject Introspection
 Name:          dotnet-webkitgtk-sharp
 Version:       2.0.0
-Release:       0.5
+Release:       1
 License:       LGPL v3
 Group:         Libraries
 Source0:       https://github.com/xDarkice/webkitgtk-sharp/releases/download/%{version}/webkitgtk-sharp-%{version}.tar.gz
 # Source0-md5: 259d1b85975a93b878fa1bdc4254e83f
 Patch0:                pkgconfig.patch
 URL:           https://github.com/xDarkice/webkitgtk-sharp/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: dotnet-gtk-sharp3-devel >= 2.99.2
 BuildRequires: dotnet-soup-sharp-devel
 BuildRequires: gtk-webkit3-devel >= 2.0
+BuildRequires: libtool >= 2:2
 BuildRequires: mono-csharp >= 1.1.0
 BuildRequires: mono-devel
 BuildRequires: monodoc >= 2.6
 BuildRequires: pkgconfig
-BuildRequires: sed >= 4.0
+BuildRequires: rpmbuild(monoautodeps)
+Requires:      gtk-webkit3 >= 2.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,7 +29,7 @@ WebKit is a web content engine, derived from KHTML and KJS from KDE,
 and used primarily in Apple's Safari browser. It is made to be
 embedded in other applications, such as mail readers, or web browsers.
 
-This package provides Mono bindings for WebKit libraries.
+This package provides Mono bindings for WebKitGTK+ 3.0 libraries.
 
 %description -l pl.UTF-8
 WebKit to silnik przeglądarki internetowej, wywodzący się z projektów
@@ -43,35 +37,35 @@ KHTML i KJS dla platformy KDE, używany głównie w przeglądarce Safari
 firmy Apple. Stworzony został aby móc osadzać go w innych aplikacjach,
 takich jak czytniki poczty czy przeglądarki stron internetowych.
 
-Ten pakiet dostarcza dowiązań Mono do bibliotek WebKit.
+Ten pakiet dostarcza dowiązań Mono do bibliotek WebKitGTK+ 3.0.
 
 %package devel
-Summary:       WebKit# development files
-Summary(pl.UTF-8):     Pliki programistyczne WebKit#
+Summary:       WebKitGTK# 3 development files
+Summary(pl.UTF-8):     Pliki programistyczne WebKitGTK# 3
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      monodoc >= 2.6
 
 %description devel
-WebKit# development files.
+WebKitGTK# 3 development files.
 
 %description devel -l pl.UTF-8
-Pliki programistyczne WebKit#.
+Pliki programistyczne WebKitGTK# 3.
 
 %prep
 %setup -q -n webkitgtk-sharp-%{version}
 %patch0 -p1
 
-%{__sed} -i -e '/SUBDIRS/ s/doc//' Makefile.am
+install -d doc/en
 
 %build
+%{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
 %configure \
        --disable-static
 %{__make}
-%{?with_doc:%{__make} -C doc}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -83,17 +77,17 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog
-%{_prefix}/lib/mono/gac/webkitgtk-sharp
 %attr(755,root,root) %{_libdir}/libwebkitgtksharpglue-1.10.2.so
-# -devel or runtime resource?
-%{_datadir}/gapi-3.0/webkitgtk-sharp-api.xml
+%{_prefix}/lib/mono/gac/webkitgtk-sharp
 
 %files devel
 %defattr(644,root,root,755)
 %{_prefix}/lib/mono/webkitgtk-sharp
+%{_datadir}/gapi-3.0/webkitgtk-sharp-api.xml
 %{_pkgconfigdir}/webkitgtk-sharp-3.0.pc
-# docs subpackage?
-%{?with_doc:%{_prefix}/lib/monodoc/sources/webkit-sharp-docs*}
+%{_prefix}/lib/monodoc/sources/webkitgtk-sharp-docs.*
This page took 0.052565 seconds and 4 git commands to generate.