Initial import (#1494981)
This commit is contained in:
parent
78d86b222c
commit
237a16ff97
5 changed files with 107 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/webkit2-sharp-a59fd76.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# webkit2-sharp
|
||||
|
||||
The webkit2-sharp package
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
SHA512 (webkit2-sharp-a59fd76.tar.gz) = aa78f44e89aff176ae142d3c1bb7d8828846f282b908c904afc7107428e3c7f0451f30bfccd3a689011edfc851a335d81c5df914e36becbaad7bda10face681b
|
||||
11
webkit2-sharp-a59fd76-fix_libdir.patch
Normal file
11
webkit2-sharp-a59fd76-fix_libdir.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
diff -up webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in.fix_libdir webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in
|
||||
--- webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in.fix_libdir 2017-02-19 13:11:26.000000000 +0100
|
||||
+++ webkit2-sharp-a59fd76dd730432c76b12ee6347ea66567107ab9/webkit2-sharp-4.0.pc.in 2017-09-24 14:56:56.764174429 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=${prefix}
|
||||
-libdir=@libdir@
|
||||
+libdir=${prefix}/lib
|
||||
|
||||
Name: @ASSEMBLY_TITLE@
|
||||
Description: @ASSEMBLY_DESCRIPTION@
|
||||
94
webkit2-sharp.spec
Normal file
94
webkit2-sharp.spec
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
%global commit a59fd76dd730432c76b12ee6347ea66567107ab9
|
||||
%global commitdate 20170219
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: webkit2-sharp
|
||||
Version: 0
|
||||
Release: 0.3%{?commitdate:.%{commitdate}git%{shortcommit}}%{?dist}
|
||||
Summary: C# bindings for WebKit 2 with GTK+ 3
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/hbons/%{name}
|
||||
%{?shortcommit:
|
||||
Source0: %url/archive/%{commit}/%{name}-%{shortcommit}.tar.gz}
|
||||
%{!?shortcommit:
|
||||
Source0: %url/archive/%{commit}/%{name}-%{version}.tar.gz}
|
||||
|
||||
Patch0: %{name}-a59fd76-fix_libdir.patch
|
||||
|
||||
Requires: webkitgtk4
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
BuildRequires: pkgconfig(mono)
|
||||
BuildRequires: pkgconfig(gtk-sharp-3.0)
|
||||
BuildRequires: pkgconfig(gapi-3.0)
|
||||
BuildRequires: pkgconfig(monodoc)
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libtool
|
||||
BuildRequires: gettext
|
||||
|
||||
ExclusiveArch: %mono_arches
|
||||
|
||||
#https://fedoraproject.org/wiki/Packaging:Mono#Empty_debuginfo
|
||||
%global debug_package %{nil}
|
||||
|
||||
|
||||
%description
|
||||
C# bindings for WebKit 2 with GTK+ 3
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for WebKit2-sharp
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
|
||||
%description devel
|
||||
Development files for WebKit2-sharp
|
||||
|
||||
|
||||
%prep
|
||||
%{?shortcommit:
|
||||
%autosetup -n %{name}-%{commit}}
|
||||
%{!?shortcommit:
|
||||
%autosetup -n %{name}-%{version}}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure --disable-static
|
||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
sed -i 's/\r$//' COPYING
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md
|
||||
%{_prefix}/lib/mono/
|
||||
%{_datadir}/gapi-3.0/webkit2-sharp-api.xml
|
||||
%{_libdir}/libwebkit2sharpglue-2.10.9.so
|
||||
|
||||
%files devel
|
||||
%{_libdir}/pkgconfig/webkit2-sharp-4.0.pc
|
||||
%{_prefix}/lib/monodoc/sources/webkit2-sharp*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 25 2017 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.3.20170219gita59fd76
|
||||
- Disable static libraries
|
||||
|
||||
* Sun Sep 24 2017 Luya Tshimbalanga <luya@fedoraproject.org> - 0-0.2.20170219gita59fd76
|
||||
- Improve spec file
|
||||
|
||||
* Sun Sep 24 2017 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20170219gita59fd76
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue