Compare commits
7 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b69482540 | ||
|
|
1107e0d403 | ||
|
|
89d2be0dfd | ||
|
|
cc9f10affa | ||
|
|
a7aae70325 | ||
|
|
15e5677b59 | ||
| 5058f81bf1 |
6 changed files with 161 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
webkitkde-0.0.2-svn.tar.bz2
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: webkitkde
|
||||
# $Id$
|
||||
NAME := webkitkde
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
a4a7e6bb355a15a21f2949986567e3c1 webkitkde-0.0.2-svn.tar.bz2
|
||||
10
webkitkde-remove-kdelauncher.patch
Normal file
10
webkitkde-remove-kdelauncher.patch
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- webkitkde-0.0.1-svn/CMakeLists.txt 2009-11-09 15:48:59.000000000 +0200
|
||||
+++ webkitkde-0.0.1-svn/CMakeLists.txt 2009-11-09 16:25:23.000000000 +0200
|
||||
@@ -14,7 +14,6 @@
|
||||
add_subdirectory(icons)
|
||||
add_subdirectory(kdewebkit)
|
||||
add_subdirectory(part)
|
||||
-add_subdirectory(kdelauncher)
|
||||
find_package(Msgfmt REQUIRED)
|
||||
find_package(Gettext REQUIRED)
|
||||
add_subdirectory( po )
|
||||
149
webkitkde.spec
Normal file
149
webkitkde.spec
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
Name: webkitkde
|
||||
Version: 0.0.2
|
||||
Release: 0.1.20091109svn%{?dist}
|
||||
Summary: QtWebKit bindings to KDE
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://techbase.kde.org/Projects/WebKit
|
||||
|
||||
# To create a tarball from svn use create_tarball.rb script
|
||||
#
|
||||
# http://websvn.kde.org/trunk/KDE/kdesdk/scripts/createtarball/
|
||||
#
|
||||
# To use it you will need the script itself and a config.ini in the same directory
|
||||
# config.ini contents:
|
||||
#
|
||||
# [webkitkde]
|
||||
# mainmodule = playground
|
||||
# submodule = libs
|
||||
# kde_release = no
|
||||
# version = 0.0.2-svn
|
||||
# docs = no
|
||||
#
|
||||
# To create a new checkout use it with anonymous svn access
|
||||
# ./create_tarball.rb -n -a webkitkde
|
||||
Source0: %{name}-%{version}-svn.tar.bz2
|
||||
Patch0: webkitkde-remove-kdelauncher.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: cmake gettext
|
||||
BuildRequires: kdelibs4-devel
|
||||
|
||||
%description
|
||||
This project aims to integrate WebKit (QtWebKit) into KDE.
|
||||
The project is made up of the following components:
|
||||
- WebKitKDE: The binding between KDE and QtWebKit
|
||||
- WebKitPart: A KPart based on it
|
||||
The WebKitKDE library sits on top of QtWebKit, providing
|
||||
KDE integration (for example, WebActions using KDE icons
|
||||
and shortcuts, downloading using KIO, etc).
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: kdelibs4-devel
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for the %{name}.
|
||||
|
||||
%package -n webkitpart
|
||||
Summary: A KPart based on WebKitKDE library
|
||||
Group: System Environment/Libraries
|
||||
%description -n webkitpart
|
||||
WebKitPart is a KPart that allows KPart-based applications,
|
||||
for example Konqueror, to make use of WebKit for viewing
|
||||
web pages.
|
||||
|
||||
%package -n webkitpart-devel
|
||||
Summary: Development files for webkitpart
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel = %{version}-%{release}
|
||||
Requires: webkitpart = %{version}-%{release}
|
||||
%description -n webkitpart-devel
|
||||
Development files for the webkitpart.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-svn
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
mkdir -p %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kde4} ..
|
||||
popd
|
||||
|
||||
make %{?_smp_mflags} -C %{_target_platform}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
|
||||
mkdir $RPM_BUILD_ROOT%{_kde4_appsdir}/webkitpart/kpartplugins
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n webkitpart
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
||||
|
||||
%posttrans -n webkitpart
|
||||
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
||||
|
||||
%postun -n webkitpart
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
||||
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||:
|
||||
fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING.LIB
|
||||
%{_kde4_libdir}/libkdewebkit.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{_kde4_includedir}/KDE/KdeWebKit
|
||||
%{_kde4_includedir}/kdewebkit
|
||||
%{_kde4_libdir}/libkdewebkit.so
|
||||
%{_kde4_appsdir}/cmake/modules/FindKdeWebKit.cmake
|
||||
|
||||
%files -n webkitpart
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING.LIB
|
||||
%{_kde4_libdir}/kde4/webkitkdepart.so
|
||||
%{_kde4_libdir}/libwebkitkde.so.*
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/webkit.png
|
||||
%{_kde4_appsdir}/webkitpart
|
||||
%{_kde4_datadir}/kde4/services/webkitpart.desktop
|
||||
|
||||
%files -n webkitpart-devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{_kde4_includedir}/KDE/WebKitPart
|
||||
%{_kde4_includedir}/webkitkde
|
||||
%{_kde4_libdir}/libwebkitkde.so
|
||||
%{_kde4_appsdir}/cmake/modules/FindWebKitPart.cmake
|
||||
|
||||
%changelog
|
||||
* Mon Nov 9 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.0.2-0.1.20091109svn
|
||||
- version changed to 0.0.2 for new API
|
||||
|
||||
* Mon Nov 9 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.0.1-0.6.20091109svn
|
||||
- removed kdelauncher from CMakeLists because it not installs
|
||||
|
||||
* Mon Nov 9 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.0.1-0.5.20091109svn
|
||||
- snapshot 1046552 with new API
|
||||
|
||||
* Sun Sep 27 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.0.1-0.2.20090924svn
|
||||
- webkitpart should owns kpartplugins in webkitpart apps dir
|
||||
|
||||
* Thu Sep 24 2009 Alexey Kurov <nucleo@fedoraproject.org> - 0.0.1-0.1.20090924svn
|
||||
- Initial RPM release
|
||||
Loading…
Add table
Add a link
Reference in a new issue