SPECS: mozilla-lightning.spec (NEW) - new; based off mozilla-sunbi...

glen glen at pld-linux.org
Mon Oct 30 01:00:10 CET 2006


Author: glen                         Date: Mon Oct 30 00:00:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new; based off mozilla-sunbird.spec

---- Files affected:
SPECS:
   mozilla-lightning.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mozilla-lightning.spec
diff -u /dev/null SPECS/mozilla-lightning.spec:1.1
--- /dev/null	Mon Oct 30 01:00:10 2006
+++ SPECS/mozilla-lightning.spec	Mon Oct 30 01:00:04 2006
@@ -0,0 +1,178 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests	# enable tests (whatever they check)
+%bcond_without	gnome	# disable all GNOME components (gnomevfs, gnome, gnomeui)
+#
+Summary:	Mozilla Lightning - calendar extension for Thunderbird
+Summary(pl):	Mozilla Sunbird - samodzielny kalendarz
+Name:		mozilla-lightning
+Version:	0.3
+Release:	0.1
+License:	MPL/GPL/LGPL
+Group:		X11/Applications/Networking
+Source0:	http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/0.3/source/lightning-0.3.source.tar.bz2
+# Source0-md5:	8b2beb97f40d371993a175d53a1ef8ac
+URL:		http://www.mozilla.org/projects/calendar/lightning/
+BuildRequires:	GConf2-devel >= 1.2.1
+BuildRequires:	automake
+BuildRequires:	cairo-devel >= 1.0.0
+BuildRequires:	gnome-vfs2-devel >= 2.0
+BuildRequires:	gtk+2-devel >= 1:2.0.0
+BuildRequires:	freetype-devel
+BuildRequires:	libgnome-devel >= 2.0
+BuildRequires:	libgnomeui-devel >= 2.2.0
+BuildRequires:	nspr-devel >= 1:4.6.1-2
+BuildRequires:	nss-devel >= 3.10.2
+BuildRequires:	pango-devel >= 1:1.6.0
+BuildRequires:	perl-modules >= 5.004
+BuildRequires:	pkgconfig
+#BuildRequires:	xorg-lib-libXext-devel
+#BuildRequires:	xorg-lib-libXft-devel >= 2.1
+#BuildRequires:	xorg-lib-libXinerama-devel
+#BuildRequires:	xorg-lib-libXp-devel
+#BuildRequires:	xorg-lib-libXt-devel
+BuildRequires:	zip
+BuildRequires:	zlib-devel >= 1.2.3
+Requires:	%{name}-lang-resources = %{version}
+Requires:	nspr >= 1:4.6.1-2
+Requires:	nss >= 3.10.2
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_sunbirddir	%{_libdir}/mozilla-sunbird
+
+%description
+Lightning brings the Sunbird calendar to the popular email client, Mozilla
+Thunderbird. Since it's an extension, Lightning is tightly integrated with
+Thunderbird, allowing it to easily perform email-related calendaring tasks.
+
+%description -l pl
+Projekt Sunbird to wieloplatformowa aplikacja bedąca samodzielnym
+kalendarzem, oparta na języku interfejsu użytkownika XUL.
+
+%package devel
+Summary:	Headers for developing programs that will use Mozilla Sunbird
+Summary(pl):	Mozilla Sunbird - pliki nagłówkowe
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	nspr-devel >= 1:4.6.1-2
+Obsoletes:	mozilla-devel
+
+%description devel
+Mozilla Sunbird development package.
+
+%description devel -l pl
+Pliki nagłówkowe kalendarza Mozilla Sunbird.
+
+%package lang-en
+Summary:	English resources for Mozilla Sunbird
+Summary(pl):	Anglojęzyczne zasoby dla kalendarza Mozilla Sunbird
+Group:		X11/Applications/Networking
+Requires(post,postun):	%{name} = %{version}-%{release}
+Requires(post,postun):	textutils
+Requires:	%{name} = %{version}-%{release}
+Provides:	%{name}-lang-resources = %{version}-%{release}
+
+%description lang-en
+English resources for Mozilla Sunbird.
+
+%description lang-en -l pl
+Anglojęzyczne zasoby dla kalendarza Mozilla Sunbird.
+
+%prep
+%setup -q -n mozilla
+
+%build
+%configure2_13 \
+	--enable-application=calendar
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d \
+	$RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}{,extensions}} \
+	$RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \
+	$RPM_BUILD_ROOT{%{_includedir}/%{name}/idl,%{_pkgconfigdir}}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/firefox-chrome+xpcom-generate
+
+%postun
+if [ "$1" = "0" ]; then
+	rm -rf %{_sunbirddir}/chrome/overlayinfo
+	rm -f  %{_sunbirddir}/chrome/*.rdf
+	rm -rf %{_sunbirddir}/components
+	rm -rf %{_sunbirddir}/extensions
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mozilla*
+%attr(755,root,root) %{_bindir}/firefox
+%attr(755,root,root) %{_sbindir}/*
+%dir %{_sunbirddir}
+%{_sunbirddir}/res
+%dir %{_sunbirddir}/components
+%attr(755,root,root) %{_sunbirddir}/components/*.so
+%{_sunbirddir}/components/*.js
+%{_sunbirddir}/components/*.xpt
+%dir %{_sunbirddir}/plugins
+%attr(755,root,root) %{_sunbirddir}/plugins/*.so
+%{_sunbirddir}/searchplugins
+%{_sunbirddir}/icons
+%{_sunbirddir}/defaults
+%{_sunbirddir}/greprefs
+%dir %{_sunbirddir}/extensions
+%dir %{_sunbirddir}/init.d
+%attr(755,root,root) %{_sunbirddir}/*.so
+%attr(755,root,root) %{_sunbirddir}/*.sh
+%attr(755,root,root) %{_sunbirddir}/m*
+%attr(755,root,root) %{_sunbirddir}/f*
+%attr(755,root,root) %{_sunbirddir}/reg*
+%attr(755,root,root) %{_sunbirddir}/x*
+%{_pixmapsdir}/*
+%{_desktopdir}/*
+
+%dir %{_sunbirddir}/chrome
+%{_sunbirddir}/chrome/*.jar
+%{_sunbirddir}/chrome/*.manifest
+# -chat subpackage?
+#%{_sunbirddir}/chrome/chatzilla.jar
+#%{_sunbirddir}/chrome/content-packs.jar
+%dir %{_sunbirddir}/chrome/icons
+%{_sunbirddir}/chrome/icons/default
+
+# -dom-inspector subpackage?
+%dir %{_sunbirddir}/extensions/inspector at mozilla.org
+%{_sunbirddir}/extensions/inspector at mozilla.org/*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/regxpcom
+%attr(755,root,root) %{_bindir}/xpidl
+%attr(755,root,root) %{_bindir}/xpt_dump
+%attr(755,root,root) %{_bindir}/xpt_link
+%{_includedir}/%{name}
+%{_pkgconfigdir}/*
+
+%files lang-en
+%defattr(644,root,root,755)
+%{_sunbirddir}/chrome/en-US.jar
+%{_sunbirddir}/chrome/en-US.manifest
+
+%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.1  2006/10/30 00:00:04  glen
+- new; based off mozilla-sunbird.spec
+
================================================================


More information about the pld-cvs-commit mailing list