SPECS (DEVEL): gnumeric.spec - plugins subpackages added, still wo...

freetz freetz at pld-linux.org
Thu Jul 21 21:01:56 CEST 2005


Author: freetz                       Date: Thu Jul 21 19:01:56 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- plugins subpackages added, still working on bcond mess

---- Files affected:
SPECS:
   gnumeric.spec (1.151.2.1 -> 1.151.2.2) 

---- Diffs:

================================================================
Index: SPECS/gnumeric.spec
diff -u SPECS/gnumeric.spec:1.151.2.1 SPECS/gnumeric.spec:1.151.2.2
--- SPECS/gnumeric.spec:1.151.2.1	Mon Jul 11 21:28:36 2005
+++ SPECS/gnumeric.spec	Thu Jul 21 21:01:50 2005
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO:
-# - plugins subpackages
 #
 # Conditional build:
 %bcond_without	gda	# build without gda
@@ -77,9 +75,6 @@
 Requires(post,preun):	GConf2 >= 2.10.0
 Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	scrollkeeper
-%if %{with python}
-Requires:	python-modules
-%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -113,6 +108,250 @@
 %description -l uk
 Gnumeric - ĂĹ ĐŇĎÇŇÁÍÁ ĹĚĹËÔŇĎÎÎÉČ ÔÁÂĚÉĂŘ ÄĚŃ GNOME.
 
+# plugins - import/export
+# applix
+%package plugin-applix
+Summary:        Applix plugin
+Summary(pl):    Wtyczka Applix
+Group:          Applications/Productivity
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-applix
+Imports Applix 4.[234] spreadsheets.
+
+%description plugin-applix -l pl
+Importuje arkusze Applix w wersjach 4.[234].
+
+# data interchange format (DIF) 
+%package plugin-dif
+Summary:        Data Interchange Format plugin
+Summary(pl):    Wtyczka Data Interchange Format
+Group:          Applications/Productivity
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-dif
+Reads and writes information stored in the Data Interchange Format
+(*.dif).
+
+%description plugin-dif -l pl
+Odczytuje i zapisuje informacje w uniwersalnym formacie wymiany
+danych (*.dif).
+
+# ms excel
+%package plugin-excel
+Summary:        MS Excel (tm) plugin
+Summary(pl):    Wtyczka MS Excel (tm)
+Group:          Applications/Productivity
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-excel
+Imports/exports MS Excel (tm) files.
+
+%description plugin-excel -l pl
+Importuje/eksporuje pliki MS Excel (tm).
+
+# html
+%package plugin-html
+Summary:        HTML plugin
+Summary(pl):    Wtyczka HTML
+Group:          Applications/Productivity
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-html
+Imports/exports of HTML, TeX, DVI and roff formats.
+
+%description plugin-html -l pl
+Importuje/eksportuje formaty HTML, TeX, DVI i roff.
+
+# lotus 123
+%package plugin-lotus123
+Summary:        Lotus 123 plugin
+Summary(pl):    Wtyczka Lotus 123
+Group:          Applications/Productivity
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-lotus123
+Imports Lotus 123 files.
+
+%description plugin-lotus123 -l pl
+Importuje pliki Lotusa 123.
+
+# gnu oleo
+%package plugin-gnuoleo
+Summary:        GNU Oleo plugin
+Summary(pl):    Wtyczka GNU Oleo
+Group:          Applications/Productivity
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-gnuoleo
+Imports GNU Oleo documents.
+
+%description plugin-gnuoleo -l pl
+Importuje dokumenty GNU Oleo.
+
+# openoffice
+%package plugin-openoffice
+Summary:        OpenOffice.org plugin
+Summary(pl):    Wtyczka OpenOffice.org
+Group:          Applications/Productivity
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-openoffice
+Imports/exports OpenOffice.org/StarOffice spreadsheets.
+
+%description plugin-openoffice -l pl
+Importuje/eksportuje arkusze OpenOffice.org/StarOffice.
+
+# plan perfect
+%package plugin-planperfect
+Summary:	Plan Perfect plugin
+Summary(pl):	Wtyczka Plan Perfect
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-planperfect
+Imports Plan Perfect formatted documents.
+
+%description plugin-planperfect -l pl
+Importuje dokumenty w formacie Plan Perfect.
+
+# psiconv
+%package plugin-psiconv
+Summary:	Psiconv plugin
+Summary(pl):	Wtyczka Psiconv
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-psiconv
+Imports Psion 5 series Sheet files.
+
+%description plugin-psiconv -l pl
+Importuje pliki arkuszy Psion serii 5.
+
+# qpro
+%package plugin-qpro
+Summary:	Quattro Pro(tm) plugin
+Summary(pl):	Wtyczka Quattro Pro(tm)
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-qpro
+Imports Quattro Pro (tm) files.
+
+%description plugin-qpro -l pl
+Importuje pliki Quattro Pro (tm).
+
+# sc/xspread
+%package plugin-sc
+Summary:	SC/XSpread plugin
+Summary(pl):	Wtyczka SC/XSpread
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-sc
+Imports SC/XSpread files.
+
+%description plugin-sc -l pl
+Importuje pliki SC/XSpread.
+
+# sylk
+%package plugin-sylk
+Summary:	MultiPlan (SYLK) plugin
+Summary(pl):	Wtyczka MultiPlan (SYLK)
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-sylk
+Imports MultiPlan (SYLK) files.
+
+%description plugin-sylk -l pl
+Importuje pliki MultiPlan (SYLK).
+
+# xbase
+%package plugin-xbase
+Summary:	XBase plugin
+Summary(pl):	Wtyczka Xbase
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-xbase
+Imports Xbase files.
+
+%description plugin-xbase -l pl
+Importuje pliki XBase.
+
+# other plugins
+# gda
+%package plugin-gdaif
+Summary:	Database plugin
+Summary(pl):	Wtyczka baz danych
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-gdaif
+Database functions for retrieval of data from a database.
+
+%description plugin-gdaif -l pl
+Funkcje bazodanowe, pozwalające na pobieranie danych z baz danych.
+
+# gnome db
+%package plugin-gnomedb
+Summary:	GNOME DB plugin
+Summary(pl):	Wtyczka GNOME DB
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	gnumeric-plugin-gdaif
+
+%description plugin-gnomedb
+Gnumeric frontend for libgnomedb.
+
+%description plugin-gnomedb -l pl
+Nakładka Gnumerica na libgnomedb.
+
+# samples
+%package plugin-sample
+Summary:	Sample plugins
+Summary(pl):	Przykładowe wtyczki
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-sample
+Sample database and UI plugins.
+
+%description plugin-sample -l pl
+Przykładowe wtyczki bazy danych oraz interfejsu użytkownika.
+
+# perl/python stuff
+# perl-func/perl loader
+%package plugin-perl
+Summary:	Perl plugin
+Summary(pl):	Wtyczk Perla
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-perl
+Sample Perl plugin providing some (useless) functions.
+
+%description plugin-perl -l pl
+Przykładowa wtyczka Perla dostarczająca różnych (bezużytecznych)
+funkcji.
+
+# perl-func/perl loader
+%package plugin-python
+Summary:	Python plugin
+Summary(pl):	Wtyczk Pythona
+Group:		Applications/Productivity
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	python-modules
+Requires:	python-pygtk
+
+%description plugin-python
+Sample Python plugin providing some (useless) functions.
+
+%description plugin-python -l pl
+Przykładowa wtyczka Python dostarczająca różnych (bezużytecznych)
+funkcji.
+
 %prep
 %setup -q
 %patch0 -p0
@@ -147,9 +386,11 @@
 	docdir=/usr/share/gnome/help/gnumeric/C \
 	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/gnumeric/%{version}/plugins/*/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -r $RPM_BUILD_ROOT%{_datadir}/mc/templates/gnumeric.desktop
-rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
 
 %find_lang %{name} --with-gnome --all-name
 
@@ -158,45 +399,62 @@
 
 %post
 /sbin/ldconfig
+%if %{with gnome}
 %gconf_schema_install gnumeric-dialogs.schemas
 %gconf_schema_install gnumeric-general.schemas
 %gconf_schema_install gnumeric-plugins.schemas
-%scrollkeeper_update_post
 %update_desktop_database_post
+%endif
+%scrollkeeper_update_post
 
+%if %{with gnome}
 %preun
 %gconf_schema_uninstall gnumeric-dialogs.schemas
 %gconf_schema_uninstall gnumeric-general.schemas
 %gconf_schema_uninstall gnumeric-plugins.schemas
+%endif
 
 %postun
 /sbin/ldconfig
 %scrollkeeper_update_postun
+%if %{with gnome}
 %update_desktop_database_postun
+%endif
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%{_sysconfdir}/gconf/schemas/*
 
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
-%{_libdir}/bonobo/servers/*
-
 %dir %{_libdir}/gnumeric
 %dir %{_libdir}/gnumeric/%{version}
 %dir %{_libdir}/gnumeric/%{version}/plugins
-%dir %{_libdir}/gnumeric/%{version}/plugins/*
-%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/*/*.so
-%{_libdir}/gnumeric/%{version}/plugins/*/*.xml
-%{_libdir}/gnumeric/%{version}/plugins/*/*.la
-%{_libdir}/gnumeric/%{version}/plugins/*/*.pl
-%if %{with python}
-%{_libdir}/gnumeric/%{version}/plugins/*/*.py
-%{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/glossary-po-header
+%dir %{_libdir}/gnumeric/%{version}/plugins/derivatives
+%dir %{_libdir}/gnumeric/%{version}/plugins/fn-*
+%dir %{_libdir}/gnumeric/%{version}/plugins/mps
+%dir %{_libdir}/gnumeric/%{version}/plugins/numtheory
+
+%if %{with gnome}
+%{_datadir}/gnumeric/%{version}/idl
+%{_libdir}/bonobo/servers/*
+%{_sysconfdir}/gconf/schemas/*
+
+%dir %{_libdir}/gnumeric/%{version}/plugins/corba
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/corba/*.so
+%{_libdir}/gnumeric/%{version}/plugins/corba/*.xml
 %endif
 
+%{_libdir}/gnumeric/%{version}/plugins/derivatives/*.xml
+%{_libdir}/gnumeric/%{version}/plugins/fn-*/*.xml
+%{_libdir}/gnumeric/%{version}/plugins/mps/*.xml
+%{_libdir}/gnumeric/%{version}/plugins/numtheory/*.xml
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/derivatives/*.so
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/fn-*/*.so
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/mps/*.so
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/numtheory/*.so
+
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
 %{_omf_dest_dir}/%{name}
@@ -206,18 +464,159 @@
 %{_datadir}/gnumeric/%{version}/*.xml
 %{_datadir}/gnumeric/%{version}/autoformat-templates
 %{_datadir}/gnumeric/%{version}/glade
-%{_datadir}/gnumeric/%{version}/idl
 %{_datadir}/gnumeric/%{version}/templates
 
 %{_mandir}/man1/gnumeric.1*
 %{_mandir}/man1/ssconvert.1*
 
+# applix
+%files plugin-applix
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/applix
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/applix/*.so
+%{_libdir}/gnumeric/%{version}/plugins/applix/*.xml
+
+# data interchange format (DIF) 
+%files plugin-dif
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/dif
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/dif/*.so
+%{_libdir}/gnumeric/%{version}/plugins/dif/*.xml
+
+# ms excel
+%files plugin-excel
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/excel
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/excel/*.so
+%{_libdir}/gnumeric/%{version}/plugins/excel/*.xml
+
+# html
+%files plugin-html
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/html
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/html/*.so
+%{_libdir}/gnumeric/%{version}/plugins/html/*.xml
+
+# lotus 123
+%files plugin-lotus123
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/lotus
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/lotus/*.so
+%{_libdir}/gnumeric/%{version}/plugins/lotus/*.xml
+
+# gnu oleo
+%files plugin-gnuoleo
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/oleo
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/oleo/*.so
+%{_libdir}/gnumeric/%{version}/plugins/oleo/*.xml
+
+# openoffice
+%files plugin-openoffice
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/openoffice
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/openoffice/*.so
+%{_libdir}/gnumeric/%{version}/plugins/openoffice/*.xml
+
+# plan perfect
+%files plugin-planperfect
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/plan_perfect
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/plan_perfect/*.so
+%{_libdir}/gnumeric/%{version}/plugins/plan_perfect/*.xml
+
+# psiconv
+%files plugin-psiconv
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/psiconv
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/psiconv/*.so
+%{_libdir}/gnumeric/%{version}/plugins/psiconv/*.xml
+
+# qpro
+%files plugin-qpro
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/qpro
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/qpro/*.so
+%{_libdir}/gnumeric/%{version}/plugins/qpro/*.xml
+
+# sc/xspread
+%files plugin-sc
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/sc
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sc/*.so
+%{_libdir}/gnumeric/%{version}/plugins/sc/*.xml
+
+# sylk
+%files plugin-sylk
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/sylk
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sylk/*.so
+%{_libdir}/gnumeric/%{version}/plugins/sylk/*.xml
+
+# xbase
+%files plugin-xbase
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/xbase
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/xbase/*.so
+%{_libdir}/gnumeric/%{version}/plugins/xbase/*.xml
+
+%if %{with gda}
+# gda
+%files plugin-gdaif
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/gdaif
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/gdaif/*.so
+%{_libdir}/gnumeric/%{version}/plugins/gdaif/*.xml
+
+# gnome db
+%files plugin-gnomedb
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/gnome-db
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/gnome-db/*.so
+%{_libdir}/gnumeric/%{version}/plugins/gnome-db/*.xml
+%endif
+
+# samples
+%files plugin-sample
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/sample_datasource
+%dir %{_libdir}/gnumeric/%{version}/plugins/uihello
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/sample_datasource/*.so
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/uihello/*.so
+%{_libdir}/gnumeric/%{version}/plugins/sample_datasource/*.xml
+%{_libdir}/gnumeric/%{version}/plugins/uihello/*.xml
+
+# perl-func/perl loader
+%files plugin-perl
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/perl-*
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/perl-*/*.so
+%{_libdir}/gnumeric/%{version}/plugins/perl-*/*.pl
+%{_libdir}/gnumeric/%{version}/plugins/perl-*/*.xml
+
+# python-func/perl loader
+%if %{with python}
+%files plugin-python
+%defattr(644,root,root,755)
+%dir %{_libdir}/gnumeric/%{version}/plugins/gnome-glossary
+%dir %{_libdir}/gnumeric/%{version}/plugins/py*
+%attr(755,root,root) %{_libdir}/gnumeric/%{version}/plugins/py*/*.so
+%{_libdir}/gnumeric/%{version}/plugins/py*/*.py
+%{_libdir}/gnumeric/%{version}/plugins/py*/*.xml
+%{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/glossary-po-header
+%{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/*.py
+%{_libdir}/gnumeric/%{version}/plugins/gnome-glossary/*.xml
+%endif
+
 %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.151.2.2  2005/07/21 19:01:50  freetz
+- plugins subpackages added, still working on bcond mess
+
 Revision 1.151.2.1  2005/07/11 19:28:36  freetz
 - 1.5.2, run post/postun ldconfig, %%files updates, removed ugly omf hack,
   updated BRs
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnumeric.spec?r1=1.151.2.1&r2=1.151.2.2&f=u




More information about the pld-cvs-commit mailing list