SPECS: google-gadgets-for-linux.spec - cleanups, verbose files, whining on ...
glen
glen at pld-linux.org
Wed Dec 17 00:46:59 CET 2008
Author: glen Date: Tue Dec 16 23:46:59 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cleanups, verbose files, whining on shadik, descs from suse src.rpm, but all qt/gtk linked stuff to their pkgs
---- Files affected:
SPECS:
google-gadgets-for-linux.spec (1.22 -> 1.23)
---- Diffs:
================================================================
Index: SPECS/google-gadgets-for-linux.spec
diff -u SPECS/google-gadgets-for-linux.spec:1.22 SPECS/google-gadgets-for-linux.spec:1.23
--- SPECS/google-gadgets-for-linux.spec:1.22 Wed Dec 17 00:18:57 2008
+++ SPECS/google-gadgets-for-linux.spec Wed Dec 17 00:46:54 2008
@@ -1,25 +1,22 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without gtk # without gtk support
+%bcond_without qt # without qt support
+%bcond_without gadgets # without gadgets
+
# use this to get latest rev:
# svn export http://google-gadgets-for-linux.googlecode.com/svn/trunk/ google-gadgets-for-linux
# TODO:
+# - smjs - spidermonkey js runtime (default) is broken with cmake build. revert or fix cmake build!
+# besides, qtjs seems not broken, at least for google calendar widget
# - add gtk BRs
-# - update desc
-# Conditional build:
-#% bcond_with debug # build with debug
-#% bcond_without gtk # without gtk support
-#% bcond_without qt # without qt support
-#% bcond_without gadgets # without gadgets
-
-%define realname google-gadgets
-%define rev r1028
-
Summary: google-gadgets-for-linux
Name: google-gadgets-for-linux
Version: 0.10.4
-Release: 1
+Release: 1.1
License: Apache License v2.0
Group: X11/Applications
-#Source0: %{name}-%{version}-%{rev}.tar.bz2
Source0: http://google-gadgets-for-linux.googlecode.com/files/%{name}-%{version}.tar.bz2
# Source0-md5: 0ef0a62e0a575388084a77759b646718
Source1: %{name}-gtk.desktop
@@ -28,10 +25,12 @@
Patch1: %{name}-link_with_qtnetwork.patch
Patch2: %{name}-js.patch
URL: http://code.google.com/p/google-gadgets-for-linux/
+%if %{with qt}
BuildRequires: QtCore-devel >= 4.4.3
BuildRequires: QtNetwork-devel >= 4.4.3
BuildRequires: QtScript-devel >= 4.4.3
BuildRequires: QtWebKit-devel >= 4.4.3
+%endif
BuildRequires: cmake >= 2.6.1-2
BuildRequires: curl-devel >= 7.18.2
BuildRequires: dbus-devel >= 1.0.2
@@ -47,7 +46,10 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-google-gadgets-for-linux.
+Google Gadgets for Linux provides a platform for running desktop
+gadgets under Linux, catering to the unique needs of Linux users. It's
+compatible with the gadgets written for Google Desktop for Windows as
+well as the Universal Gadgets on iGoogle.
%package gadgets
Summary: google-gadgets set
@@ -68,30 +70,20 @@
Requires: %{name} = %{version}-%{release}
%description devel
-Header files for google-gadgets library.
+This package contains the development files assoicated with
+libggadget, it is needed to write programs that utilise libggadget.
%description devel -l pl.UTF-8
Pliki nagłówkowe biblioteki google-gadgets.
-%package static
-Summary: Static google-gadgets libraries
-Summary(pl.UTF-8): Statyczne biblioteki google-gadgets
-Group: Development/Libraries
-Requires: %{name}-devel = %{version}-%{release}
-
-%description static
-Static google-gadgets libraries.
-
-%description static -l pl.UTF-8
-Statyczne biblioteki google-gadgets.
-
%package qt
Summary: Qt Runtime Environment
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
%description qt
-Qt runtime environment.
+This package contains the QT Google Gadgets library, it is required to
+run the QT version of Google Gadgets.
%package gtk
Summary: GTK Runtime Environment
@@ -99,11 +91,11 @@
Requires: %{name} = %{version}-%{release}
%description gtk
-GTK runtime environment.
+This package contains the GTK+ Google Gadgets library, it is required
+to run the GTK+ version of Google Gadgets.
%prep
%setup -q
-find -name '.svn' | xargs rm -rf
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -145,65 +137,95 @@
%files
%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libggadget-1.0.so.0
+%attr(755,root,root) %{_libdir}/libggadget-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libggadget-dbus-1.0.so.0
+%attr(755,root,root) %{_libdir}/libggadget-dbus-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libggadget-js-1.0.so.0
+%attr(755,root,root) %{_libdir}/libggadget-js-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libggadget-npapi-1.0.so.0
+%attr(755,root,root) %{_libdir}/libggadget-npapi-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libggadget-xdg-1.0.so.0
+%attr(755,root,root) %{_libdir}/libggadget-xdg-1.0.so.*.*.*
+%attr(755,root,root) %{_libdir}/google-gadgets/gtkmoz-browser-child
+%dir %{_libdir}/google-gadgets
+%dir %{_libdir}/google-gadgets/modules
+%dir %{_datadir}/google-gadgets
+%{_datadir}/google-gadgets/*.gg
%{_datadir}/mime/packages/google-gadgets.xml
-%dir %{_datadir}/%{realname}
-%{_datadir}/%{realname}/*.gg
%{_desktopdir}/ggl-designer.desktop
%{_iconsdir}/*/*/*/*.png
-%{_pixmapsdir}/%{realname}.png
-%attr(755,root,root) %{_libdir}/*.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/*.so.0
-%attr(755,root,root) %{_libdir}/%{realname}/gtkmoz-browser-child
-%dir %{_libdir}/%{realname}
-%dir %{_libdir}/%{realname}/modules
+%{_pixmapsdir}/google-gadgets.png
%files qt
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ggl-qt
+%attr(755,root,root) %ghost %{_libdir}/libggadget-qt-1.0.so.0
+%attr(755,root,root) %{_libdir}/libggadget-qt-1.0.so.*.*.*
+%{_libdir}/google-gadgets/modules/qt-edit-element.so
+%{_libdir}/google-gadgets/modules/qt-script-runtime.so
+%{_libdir}/google-gadgets/modules/qt-system-framework.so
+%{_libdir}/google-gadgets/modules/qt-xml-http-request.so
+%{_libdir}/google-gadgets/modules/qtwebkit-browser-element.so
%{_desktopdir}/ggl-qt.desktop
%files gtk
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ggl-gtk
+%attr(755,root,root) %ghost %{_libdir}/libggadget-gtk-1.0.so.0
+%attr(755,root,root) %{_libdir}/libggadget-gtk-1.0.so.*.*.*
+%{_libdir}/google-gadgets/modules/gtk-edit-element.so
+%{_libdir}/google-gadgets/modules/gtk-flash-element.so
+%{_libdir}/google-gadgets/modules/gtk-system-framework.so
%{_desktopdir}/ggl-gtk.desktop
%files gadgets
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{realname}/modules/*.so
+%{_libdir}/google-gadgets/modules/analytics-usage-collector.so
+%{_libdir}/google-gadgets/modules/curl-xml-http-request.so
+%{_libdir}/google-gadgets/modules/dbus-script-class.so
+%{_libdir}/google-gadgets/modules/default-framework.so
+%{_libdir}/google-gadgets/modules/default-options.so
+%{_libdir}/google-gadgets/modules/google-gadget-manager.so
+%{_libdir}/google-gadgets/modules/gst-audio-framework.so
+%{_libdir}/google-gadgets/modules/gst-video-element.so
+%{_libdir}/google-gadgets/modules/gtkmoz-browser-element.so
+%{_libdir}/google-gadgets/modules/libxml2-xml-parser.so
+%{_libdir}/google-gadgets/modules/linux-system-framework.so
+%{_libdir}/google-gadgets/modules/smjs-script-runtime.so
%files devel
%defattr(644,root,root,755)
-%dir %{_libdir}/%{realname}/include
-%dir %{_libdir}/%{realname}/include/ggadget
-%{_libdir}/%{realname}/include/ggadget/*.h
-%dir %{_includedir}/%{realname}
-%dir %{_includedir}/%{realname}/ggadget
-%{_includedir}/%{realname}/ggadget/*.h
-%dir %{_includedir}/%{realname}/ggadget/dbus
-%{_includedir}/%{realname}/ggadget/dbus/*.h
-%dir %{_includedir}/%{realname}/ggadget/gtk
-%{_includedir}/%{realname}/ggadget/gtk/*.h
-%dir %{_includedir}/%{realname}/ggadget/npapi
-%{_includedir}/%{realname}/ggadget/npapi/*.h
-%dir %{_includedir}/%{realname}/ggadget/qt
-%{_includedir}/%{realname}/ggadget/qt/*.h
-%dir %{_includedir}/%{realname}/ggadget/js
-%{_includedir}/%{realname}/ggadget/js/*.h
-%dir %{_includedir}/%{realname}/ggadget/xdg
-%{_includedir}/%{realname}/ggadget/xdg/*.h
+%dir %{_libdir}/google-gadgets/include
+%dir %{_libdir}/google-gadgets/include/ggadget
+%{_libdir}/google-gadgets/include/ggadget/*.h
+%dir %{_includedir}/google-gadgets
+%dir %{_includedir}/google-gadgets/ggadget
+%{_includedir}/google-gadgets/ggadget/*.h
+%dir %{_includedir}/google-gadgets/ggadget/dbus
+%{_includedir}/google-gadgets/ggadget/dbus/*.h
+%dir %{_includedir}/google-gadgets/ggadget/gtk
+%{_includedir}/google-gadgets/ggadget/gtk/*.h
+%dir %{_includedir}/google-gadgets/ggadget/npapi
+%{_includedir}/google-gadgets/ggadget/npapi/*.h
+%dir %{_includedir}/google-gadgets/ggadget/qt
+%{_includedir}/google-gadgets/ggadget/qt/*.h
+%dir %{_includedir}/google-gadgets/ggadget/js
+%{_includedir}/google-gadgets/ggadget/js/*.h
+%dir %{_includedir}/google-gadgets/ggadget/xdg
+%{_includedir}/google-gadgets/ggadget/xdg/*.h
%attr(755,root,root) %{_libdir}/*.so
%{_pkgconfigdir}/*.pc
-#%files static
-#%defattr(644,root,root,755)
-#%{_libdir}/lib*.a
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.23 2008/12/16 23:46:54 glen
+- cleanups, verbose files, whining on shadik, descs from suse src.rpm, but all qt/gtk linked stuff to their pkgs
+
Revision 1.22 2008/12/16 23:18:57 glen
- get rid of all .la from modules dir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/google-gadgets-for-linux.spec?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list