From: Jakub Bogusz Date: Sun, 20 Jul 2014 14:29:47 +0000 (+0200) Subject: - updated descriptions, cleanup X-Git-Tag: auto/th/dotnet-webkitgtk-sharp-2.0.0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=a63a83848ce70a492d161ca90a6850f7a40aa1a8;p=packages%2Fdotnet-webkitgtk-sharp.git - updated descriptions, cleanup --- diff --git a/dotnet-webkitgtk-sharp.spec b/dotnet-webkitgtk-sharp.spec index a44c3ae..c87f8e3 100644 --- a/dotnet-webkitgtk-sharp.spec +++ b/dotnet-webkitgtk-sharp.spec @@ -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.*