Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 0edc85251f96630e2eba3135c72b79b1 > files > 3

siag-3.6.1-1mdv2008.1.src.rpm

Summary:	An office suite
Name:		siag
Version:	3.6.1
Release:	%mkrel 1
License:	GPL
URL:		http://siag.nu/
Group:		Office
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

Source:		%name-%version.tar.bz2
Source1:	siag_icons.tar.bz2 
Patch0:		siag-fix-compil.patch

BuildRequires: libMowitz-devel >= 0.3.0 
BuildRequires: libneXtaw-devel libxpm-devel
BuildRequires: libncurses-devel tcl python libgdbm-devel

%description
Siag Office consists of :
- the word processor Pathetic Writer,
- the spreadsheet Siag,
- the animation program Egon Animator,
- the file manager Xfiler,
- the text editor Xedplus,
- the Postscript viewer Gvu.


%package common
Summary:	Common files for Siag Office
Group:		Office
Requires:	siag-plugins = %version
requires:	tcl, python, 

%description common
These are the scheme library files for siag,
and examples sheets. 

%package plugins
Summary:	Plugins for Siag Office
Group:		Office
Requires:	siag-common = %version
%description plugins
These are the standard plugins for use with Siag Office.

%package -n egon
Summary:	The animator program from Siag Office
Requires:	siag-common = %version
Group:		Office
%description -n egon
The animator part of the Siag Office suite, which also contains SIAG and PW.
Siag Office uses the Offix DND Drag-and-Drop protocol.

A WWW browser is needed to read online doc. A postscript viewer is used for
document preview.

Be warned that this probably is the least stable part of Siag Office. All
suggestions are welcomed. 

%package -n xsiag
Summary:	A spreadsheet with an X11 user-interface
Group:		Office
Requires:	siag-common = %version 
%description -n xsiag
The spreadsheet part of the Siag Office suite, which also contains
EGON and PW.
Siag Office uses the Offix DND Drag-and-Drop protocol.

Siag is a spreadsheet based on X and scheme. Being based on scheme
allows any user to expand the functionality of siag in just about
any way imaginable.

It can read and write 1-2-3 files for inter-operation with other
well-know spreadsheet programs.

You can enter expressions in several languages: C, guile, SIOD, Tcl.

A WWW browser is needed to read online doc. A postscript viewer
is used for document preview.

This one uses an X11 user interface based on the Athena toolkit.
You will find a text version in the `tsiag' package.


%package -n pw
Summary:	The Pathetic Writer word-processor
Group:		Office 
Requires:	siag-common = %version
%description -n pw
The word-processor part of the Siag Office suite, which also
contains SIAG and EGON.
Siag Office uses the Offix DND Drag-and-Drop protocol.

A WWW browser is needed to read online doc. A postscript viewer
is used for document preview.

It can read and write RTF and HTML files for inter-operation
with other well-known word-processors.
It should read also .doc files with help from catdoc.

%package -n tsiag
Summary:	Text version of the SIAG spreadsheet
Group:		Office
Requires:	siag-common = %version
%description -n tsiag
The spreadsheet part of the Siag Office suite.

Siag is a spreadsheet based on X and scheme. Being based on scheme
allows any user to expand the functionality of siag in just about
any way imaginable.

It can read and write 1-2-3 files for inter-operation with
other well-known spreadsheet programs.

You can enter expressions in several languages: C, guile, SIOD, Tcl.

This one uses a test-based user interface (ncurses). You will find
an X11 version in the `siag' package. 

#
# END-OF-PACKAGES
#

%prep

%setup -q
%patch0 -p0
 
%build 
 
%configure2_5x --with-stocks  

%make

%install
rm -fr %buildroot

%makeinstall_std

install -d -m 0755 %buildroot/%_docdir/%name-%version
mv %buildroot/%_prefix/doc/%name/* %buildroot/%_docdir/%name-%version/

mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/
 
cat << EOF > %buildroot%{_datadir}/applications/mandriva-xsiag.desktop
[Desktop Entry]
Name=Siag Office spreadsheet
Comment=Siag Office spreadsheet
Exec=siag
Icon=siag_spreadsheet
Terminal=false
Type=Application
Categories=Office;Spreadsheet;Science;Math;X-MandrivaLinux-Office-Spreadsheets;
EOF

cat << EOF > %buildroot%{_datadir}/applications/mandriva-pw.desktop
[Desktop Entry]
Name=Pathetic Writer
Comment=Siag Office Pathetic writer
Exec=pw
Icon=siag_wordprocessor
Terminal=false
Type=Application
Categories=Office;WordProcessor;X-MandrivaLinux-Office-Wordprocessor;
EOF

cat << EOF > %buildroot%{_datadir}/applications/mandriva-xfiler.desktop
[Desktop Entry]
Name=Xfiler
Comment=Siag File manager
Exec=xfiler
Icon=siag_file_tools
Terminal=false
Type=Application
Categories=X-MandrivaLinux-System-FileTools;
EOF

cat << EOF > %buildroot%{_datadir}/applications/mandriva-xedplus.desktop
[Desktop Entry]
Name=Xedplus
Comment=Siag text editor
Exec=xedplus
Icon=siag_editors
Terminal=false
Type=Application
Categories=Office;WordProcessor;X-MandrivaLinux-Office-Wordprocessor;
EOF

cat << EOF > %buildroot%{_datadir}/applications/mandriva-gvu.desktop
[Desktop Entry]
Name=Gvu
Comment=Siag Postscript viewer
Exec=xedplus
Icon=siag_publishing
Terminal=false
Type=Application
Categories=X-MandrivaLinux-Office-Publishing;Office;Viewer;processor;
EOF

cat << EOF > %buildroot%{_datadir}/applications/mandriva-egon.desktop
[Desktop Entry]
Name=Egon
Comment=Siag Office Egon Animator
Exec=egon
Icon=siag_publishing3
Terminal=false
Type=Application
Categories=Qt;KDE;Office;X-MandrivaLinux-Office-Publishing;
EOF


#mdk icons
mkdir -p $RPM_BUILD_ROOT%_iconsdir
tar xjf %SOURCE1 -C $RPM_BUILD_ROOT%_iconsdir

cd $RPM_BUILD_ROOT%_iconsdir
for i in  */ ./;do cp $i/siag_publishing.png $i/siag_publishing2.png;done
for i in  */ ./;do cp $i/siag_publishing.png $i/siag_publishing3.png;done
 
%post common
%update_menus
 
%postun common
%clean_menus
 
%post -n xsiag
%update_menus
 
%postun -n xsiag
%clean_menus
 
%post -n pw
%update_menus
 
%postun -n pw
%clean_menus
 
%post -n egon
%update_menus
 
%postun -n egon
%clean_menus

%clean
rm -fr %buildroot


%files common
%defattr (-,root,root)
%doc  AUTHORS COPYING FILES NLS README common/docs/ 
%_docdir/*/* 
%dir %_libdir/siag
%_bindir/gvu
%_bindir/mgptotxt
%_bindir/runcmd
%_bindir/siaghelp
%_bindir/siagrun
%_bindir/xedplus
%_bindir/xfiler
%_libdir/*/*/* 
%_datadir/%name
%{_datadir}/applications/mandriva-gvu.desktop
%{_datadir}/applications/mandriva-xedplus.desktop
%{_datadir}/applications/mandriva-xfiler.desktop
%_iconsdir/siag_editors.png
%_miconsdir/siag_editors.png
%_liconsdir/siag_editors.png
%_iconsdir/siag_file_tools.png
%_miconsdir/siag_file_tools.png
%_liconsdir/siag_file_tools.png
%_iconsdir/siag_publishing.png
%_miconsdir/siag_publishing.png
%_liconsdir/siag_publishing.png
%_datadir/icons/mini/siag_editor.png
%_mandir/*/*

%files -n xsiag
%defattr (-,root,root)
%doc COPYING siag/docs/ siag/examples/
%{_datadir}/applications/mandriva-xsiag.desktop
%_bindir/siag
%_mandir/man1/siag.*
%_iconsdir/siag_spreadsheet.png
%_miconsdir/siag_spreadsheet.png
%_liconsdir/siag_spreadsheet.png

%files -n egon
%defattr (-,root,root)
%doc COPYING egon/docs/ egon/examples/ 
%{_datadir}/applications/mandriva-egon.desktop
%_bindir/egon
%_datadir/%name/egon/*
%_mandir/man1/egon.*
%_iconsdir/siag_publishing3.png
%_miconsdir/siag_publishing3.png
%_liconsdir/siag_publishing3.png

%files -n tsiag
%defattr (-,root,root)
%doc COPYING
%_bindir/tsiag
%_iconsdir/siag_publishing2.png
%_miconsdir/siag_publishing2.png
%_liconsdir/siag_publishing2.png

%files -n pw
%defattr (-,root,root)
%doc COPYING pw/docs/ pw/examples/ 
%{_datadir}/applications/mandriva-pw.desktop
%_bindir/pw
%_mandir/man1/pw.*
%_iconsdir/siag_wordprocessor.png
%_miconsdir/siag_wordprocessor.png
%_liconsdir/siag_wordprocessor.png

%files plugins
%defattr (-,root,root)
%doc COPYING 
%dir %_libdir/siag/plugins
%_libdir/siag/plugins/*
%_mandir/man1/dummy_plugin.*



%changelog
* Thu Feb 14 2008 Thierry Vignaud <tvignaud@mandriva.com> 3.6.1-1mdv2008.1
+ Revision: 168227
- fix no-buildroot-tag
- kill re-definition of %%buildroot on Pixel's request
- do not harcode icon extension
- kill desktop-file-validate's error: string list key "Categories" in group "Desktop Entry" does not have a semicolon (";") as trailing character
- kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'

* Thu Aug 23 2007 Thierry Vignaud <tvignaud@mandriva.com> 3.6.1-1mdv2008.0
+ Revision: 70232
- new release

* Thu Aug 23 2007 Thierry Vignaud <tvignaud@mandriva.com> 3.6.0-2mdv2008.0
+ Revision: 70131
- convert menu to XDG
- patch 0: fix build
- use %%mkrel


* Thu Sep 23 2004 Charles A Edwards <eslrahc@mandrake.org> 3.6.0-1mdk
- 3.6.0
- drop patch0
- buildrequires---drop majors
- now needs Mowitz >= 0.3.0
- use marco configure2_5x
- fix menu section for xfiler

* Wed Feb 11 2004 David Baudens <baudens@mandrakesoft.com> 3.5.7-3mdk
- Fix menu

* Sat Aug 30 2003 Michael Scherer <scherer.michael@free.fr> 3.5.7-2mdk 
- BuildRequires libxpm-devel
- fix compile, multiline string, patch #0

* Mon Mar 03 2003 Lenny Cartier <lenny@mandrakesoft.com> 3.5.7-1mdk
- 3.5.7

* Fri Feb 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 3.5.6-1mdk
- 3.5.6

* Thu Jan 30 2003 Charles A Edwards <eslrahc@bellsouth.net> 3.5.5-1mdk
- 3.5.5
- convert src to bz2 and set perms
- remove buildrequire libXawM1-devel
- add buildrequire libneXtaw0-devel
- remove obsoletes/provides for old pkgs as they are no longer needed.
- add docs to siag-common
- a little clean-up
- autoconf2.5

* Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.5.3-2mdk
- fix pw's %%postun

* Fri Oct 11 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.5.3-1mdk
- new release

* Wed May 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.5.2-2mdk
- merge siag-common menu entries

* Mon May 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 3.5.2-1mdk
- 3.5.2

* Thu Apr 04 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.5.1-3mdk
- rename siag xsiag

* Fri Mar 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.5.1-2mdk
- split up package
- add man pages
- add lot of docs
- dadouize descriptions
- add missing menu entries
- add missing programs
- add missing requires
- remove libsiag rests in spec file
- quiet tar printing

* Thu Mar 21 2002 Lenny Cartier <lenny@mandrakesoft.com> 3.5.1-1mdk
- 3.5.1
- disable python for now

* Mon Feb 11 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.5.0-3mdk
- fixes for lord rpmlint

* Thu Jan 10 2002 David BAUDENS <baudens@mandrakesoft.com> 3.5.0-2mdk
- Fix menu entries (add icons)
- Clean after build

* Tue Jan 08 2002 Lenny Cartier <lenny@mandrakesoft.com> 3.5.0-1mdk
- 3.5.0
- fix build with python2.2
- filelists change to reflect new siag distribution scheme

* Mon Oct 29 2001 Ludovic Francois <lfrancois@mandrakesoft.com> 3.4.10-2mdk
- Rebuild for rpmlint

* Thu Sep 27 2001 Lenny Cartier <lenny@mandrakesoft.com> 3.4.10-1mdk
- 3.4.10

* Tue Aug 21 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 3.4.9-3mdk
- Add missing directories

* Mon Jun 18 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 3.4.9-2mdk
- New office menu structure

* Wed May 23 2001 Lenny Cartier <lenny@mandrakesoft.com> 3.4.9-1mdk
- updated to 3.4.9

* Thu Dec 07 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.4.7-1mdk
- updated to 3.4.7

* Wed Nov 29 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.4.6-1mdk
- updated to 3.4.6

* Mon Nov 13 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.4.4-1mdk 
- updated to 3.4.4

* Tue Nov 07 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.4.3-1mdk
- updated to 3.4.3
- fix ownership of mandir :(

* Fri Oct 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.4.2-1mdk
- updated to 3.4.2

* Fri Oct 20 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.4.1-1mdk
- updated to 3.4.1

* Mon Sep 18 2000 Lenny Cartier <lenny@mandrakesoft.com> 3.4.0-1mdk
- updated to 3.4.0
- add icons for every application
- BM
- macros

* Mon Jun 19 2000 Frederic Lepied <flepied@mandrakesoft.com> 3.3.10-1mdk
- first Mandrake release.