From 0ae28736ee24e773aa54a1ea6bfd10aa765c911b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:08:41 +0100 Subject: [PATCH] automatic version update by autodist [release 8.0-1mamba;Tue Apr 02 2019] --- midori.spec | 80 ++++++++++++++++++----------------------------------- 1 file changed, 27 insertions(+), 53 deletions(-) diff --git a/midori.spec b/midori.spec index de0d48f..f75c11c 100644 --- a/midori.spec +++ b/midori.spec @@ -1,6 +1,6 @@ %define majver %(echo %version|cut -d. -f1-2) Name: midori -Version: 0.5.11 +Version: 8.0 Release: 1mamba Summary: A lightweight web browser Group: Graphical Desktop/Applications/Internet @@ -8,7 +8,8 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.midori-browser.org -Source: http://www.midori-browser.org/downloads/midori_%{version}_all_.tar.bz2 +Source: https://github.com/midori-browser/core.git/v%{version}/core-%{version}.tar.bz2 +#Source: http://www.midori-browser.org/downloads/midori_%{version}_all_.tar.bz2 Patch0: midori-0.2.4-docdir.patch Patch1: midori-0.5.0-openmamba_homepage.patch License: LGPL @@ -50,6 +51,7 @@ BuildRequires: vala BuildRequires: vala-tools BuildRequires: libzeitgeist-devel BuildRequires: libgranite-devel +BuildRequires: libpeas-devel Requires: ca-certificates BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -85,20 +87,20 @@ Midori is a lightweight web browser. This package contains %{name} API documentation. %prep -%setup -q +%setup -q -n core-%{version} #%patch0 -p1 -%patch1 -p1 +#%patch1 -p1 for w in $(find . -name "wscript*"); do - sed -i 's|#!/usr/bin/python|#!%{__python}|' $w - sed -i 's|#!/usr/bin/env python|#!%{__python}|' $w - sed -i 's|#! /usr/bin/env python|#!%{__python}|' $w - sed -i 's|#!python|#!%{__python}|' $w - sed -i 's|#!/usr/local/bin/python2.1|#!%{__python}|' $w - sed -i 's|#!/usr/local/bin/python|#!%{__python}|' $w + sed -i 's|#!/usr/bin/python|#!%{__python36}|' $w + sed -i 's|#!/usr/bin/env python|#!%{__python36}|' $w + sed -i 's|#! /usr/bin/env python|#!%{__python36}|' $w + sed -i 's|#!python|#!%{__python36}|' $w + sed -i 's|#!/usr/local/bin/python2.1|#!%{__python36}|' $w + sed -i 's|#!/usr/local/bin/python|#!%{__python36}|' $w done -sed -i 's|#! /usr/bin/env python|#!%{__python}|' tools/check-style +#sed -i 's|#! /usr/bin/env python|#!%{__python36}|' tools/check-style %build %cmake -d build \ @@ -148,52 +150,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root) -%{_sysconfdir}/xdg/midori/extensions/adblock/config -%{_sysconfdir}/xdg/midori/search +#%{_sysconfdir}/xdg/midori/extensions/adblock/config +#%{_sysconfdir}/xdg/midori/search %{_bindir}/midori %{_libdir}/libmidori-core.so %{_libdir}/libmidori-core.so.* -%{_libdir}/midori/libabout.so -%{_libdir}/midori/libadblock.so -%{_libdir}/midori/libaddons.so -%{_libdir}/midori/libapps.so -%{_libdir}/midori/libcolorful-tabs.so -%{_libdir}/midori/libcookie-manager.so -%{_libdir}/midori/libcookie-permissions.so -%{_libdir}/midori/libcopy-tabs.so -%{_libdir}/midori/libdelayed-load.so -%{_libdir}/midori/libdevpet.so -%{_libdir}/midori/libdomain-keys.so -%{_libdir}/midori/libexternal-download-manager.so -%{_libdir}/midori/libfeed-panel.so -%{_libdir}/midori/libflummi.so -%{_libdir}/midori/libformhistory.so -%{_libdir}/midori/libhistory-list.so -%{_libdir}/midori/libmouse-gestures.so -%{_libdir}/midori/libnojs.so -%{_libdir}/midori/libnotes.so -%{_libdir}/midori/libnsplugin-manager.so -#%{_libdir}/midori/libpage-holder.so -%{_libdir}/midori/libopen-with.so -%{_libdir}/midori/libshortcuts.so -%{_libdir}/midori/libstatus-clock.so -%{_libdir}/midori/libstatusbar-features.so -%{_libdir}/midori/libtab-panel.so -%{_libdir}/midori/libtabby.so -%{_libdir}/midori/libtabs-minimized.so -%{_libdir}/midori/libtoolbar-editor.so -%{_libdir}/midori/libtransfers.so -%{_libdir}/midori/libwebmedia-now-playing.so -%{_datadir}/appdata/midori.appdata.xml -%{_datadir}/applications/midori.desktop -%{_datadir}/applications/midori-private.desktop +%{_libdir}/midori/lib*.so +%{_libdir}/girepository-1.0/Midori-*.typelib +%dir %{_libdir}/midori +%{_libdir}/midori/*.plugin +%{_datadir}/applications/org.midori_browser.Midori.desktop +%{_datadir}/gir-1.0/Midori-*.gir +%{_datadir}/metainfo/midori.appdata.xml %{_datadir}/icons/hicolor/*x*/*/*.png %{_datadir}/icons/hicolor/scalable/*/*.svg -%{_datadir}/icons/hicolor/*/status/*svg -%dir %{_datadir}/midori -%dir %{_datadir}/midori/res -%{_datadir}/midori/res/* -%doc AUTHORS COPYING +%doc COPYING #%files devel #%defattr(-,root,root) @@ -206,9 +177,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %dir %{_docdir}/midori %{_docdir}/midori/* #%{_datadir}/gtk-doc/html/midori/* -%doc ChangeLog README TODO +#%doc ChangeLog README TODO %changelog +* Tue Apr 02 2019 Automatic Build System 8.0-1mamba +- automatic version update by autodist + * Fri Oct 09 2015 Automatic Build System 0.5.11-1mamba - automatic version update by autodist