diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..721ba50 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/webkit2-sharp-a59fd76.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index b198dde..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -webkit2gtk3 is gone diff --git a/sources b/sources new file mode 100644 index 0000000..7ca8087 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (webkit2-sharp-a59fd76.tar.gz) = aa78f44e89aff176ae142d3c1bb7d8828846f282b908c904afc7107428e3c7f0451f30bfccd3a689011edfc851a335d81c5df914e36becbaad7bda10face681b diff --git a/webkit2-sharp-a59fd76-fix_libdir.patch b/webkit2-sharp-a59fd76-fix_libdir.patch new file mode 100644 index 0000000..19297c0 --- /dev/null +++ b/webkit2-sharp-a59fd76-fix_libdir.patch @@ -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@ diff --git a/webkit2-sharp.spec b/webkit2-sharp.spec new file mode 100644 index 0000000..fe5263d --- /dev/null +++ b/webkit2-sharp.spec @@ -0,0 +1,137 @@ +%global commit a59fd76dd730432c76b12ee6347ea66567107ab9 +%global snapshotdate 20170219 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: webkit2-sharp +Version: 0 +Release: 0.17%{?snapshotdate:.%{snapshotdate}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: webkit2gtk3 +BuildRequires: make +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 +# No parallel make, race condition with monodoc +make + + +%install +%make_install + +find %{buildroot} -name '*.la' -delete + + +%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 +* Sat Jan 21 2023 Fedora Release Engineering - 0-0.17.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0-0.16.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0-0.15.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0-0.14.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0-0.13.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0-0.12.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 0-0.11.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 0-0.10.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 03 2019 Fedora Release Engineering - 0-0.9.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0-0.8.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Robert-André Mauchin - 0-0.7.20170219gita59fd76 +- Remove ldconfig + +* Fri Feb 09 2018 Fedora Release Engineering - 0-0.6.20170219gita59fd76 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sun Jan 14 2018 Robert-André Mauchin - 0-0.5.20170219gita59fd76 +- Disable parallel make + +* Fri Jan 12 2018 Tomas Popela - 0-0.4.20170219gita59fd76 +- Adapt to the webkitgtk4 rename + +* Mon Sep 25 2017 Robert-André Mauchin - 0-0.3.20170219gita59fd76 +- Disable static libraries + +* Sun Sep 24 2017 Luya Tshimbalanga - 0-0.2.20170219gita59fd76 +- Improve spec file + +* Sun Sep 24 2017 Robert-André Mauchin - 0-0.1.20170219gita59fd76 +- Initial package