File kile.spec of Package kile

#
# spec file for package kile (Version 2.0.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           kile
BuildRequires:  kdegraphics3-devel kdegraphics3-postscript
%if %suse_version < 1010
BuildRequires:  update-desktop-files
%endif
%if %suse_version < 1000
BuildRequires:  libjpeg-devel
%endif
Url:            http://kile.sourceforge.net/
Obsoletes:      ktexmaker2
Provides:       ktexmaker2
Requires:       kdegraphics3-tex
License:        GPL v2 or later
Group:          Productivity/Publishing/TeX/Frontends
Summary:        A LaTeX Source Editor and TeX Shell
Version:        2.0.2
Release:        1
%if %suse_version > 1000
Recommends:     gnuplot xfig
%else
Requires:       gnuplot xfig
%endif
%if %suse_version > 1020
Requires:       dviutils texlive-latex
%else
Requires:       tetex dviutils te_latex
%endif
%if %suse_version < 921
Requires:       te_pdf
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-%{version}.tar.bz2

%description
KTexMaker2 has many menu points for LaTeX commands, an editor, and can
start a LaTeX and DVI viewer.



Authors:
--------
    Pascal Brachet <pascal.brachet@free.fr>
    Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>

%prep
%setup -q
. /etc/opt/kde3/common_options
update_admin

%build
. /etc/opt/kde3/common_options
./configure $configkde
make %{?jobs:-j%jobs}

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file %name Office WordProcessor
%find_lang %name
rm $RPM_BUILD_ROOT/opt/kde3/share/apps/katepart/syntax/*

%files -f %name.lang
%defattr(-,root,root)
%doc ChangeLog AUTHORS
%dir /opt/kde3/share/icons/hicolor/16x16
%dir /opt/kde3/share/icons/hicolor/32x32
%dir /opt/kde3/share/icons/hicolor/48x48
%dir /opt/kde3/share/icons/hicolor/64x64
%dir /opt/kde3/share/icons/hicolor/128x128
%dir /opt/kde3/share/icons/hicolor/scalable
/opt/kde3/bin/*
/opt/kde3/share/*/*/*.desktop
/opt/kde3/share/apps/kile
/opt/kde3/share/icons/*/*/apps
/opt/kde3/share/apps/kconf_update/*
/opt/kde3/share/config.kcfg/kile.kcfg

%changelog
* Sat Sep 20 2008 stbinner@suse.de
- update to version 2.0.2: bugfixes
* Thu Apr 24 2008 stbinner@suse.de
- update to version 2.0.1rc1:
   - Add \newlength as a variation of newcommand
   - Add url.cwl, svninfo.cwl, svn-multi.cwl, yfonts.cwl, virginialake.cwl
   - Allow ":" and "-" in citation keys, important for codecompletion
   - Highlight & and @{} in tabular like environments
   - Ignore Noweb blocks
   - and many bugfixes
* Wed Nov 21 2007 stbinner@suse.de
- update to version 2.0:
  * Add auto completion in abbreviation mode
  * Added commands to work directly with sectioning on the structure
  view: copy, cut, paste, select, delete, comment, quick preview
  * New symbol view
  * Added a scripting interface to kile
  * Add support for TexLive 2005/2007
  * Preview of mathgroups
  * For whole new features and bugfix list see ChangeLog
* Mon Jul 09 2007 stbinner@suse.de
- Recommend instead of require gnuplot and xfig (#288403)
* Sun Apr 22 2007 aj@suse.de
- Use texlive.
* Mon Dec 04 2006 stbinner@suse.de
- update to version 1.9.3:
  * Prepared the latex syntax file for beamer commands
   - Recognize escaped chars in \newcommand.
   - Use KPDF as embedded viewer for quick preview, because KPDF can
  remember current settings.
   - Bugs in tabular wizard, when merging, breaking and merging again
  some cells
   - Quote replacement should not happen inside verbatim/verb environment
   - Fix bug in tabular wizard, when breaking some multicolumn cells
   - Don't use default permissions for backup file (CVE CAN-2005-1920
  also applies to kile)
   - Fix bug in syntax highlighting: mathmode in optional parameter
   - Allow tools with brackets in the configuration string also in
  sequence tools, fixed also the crash which hid the bug.
   - One fix in latex-document-cwl and color.cwl
   - Fix crash when adding a file to a project (with no open documents)
  which contains an undefined reference
   - Improve the logic for closing environments
   - Don't treat \\[foo] as a math environment
   - Remove selected text also if we insert a "
* Sat Aug 26 2006 stbinner@suse.de
- update to version 1.9.2
  * Add autoref command to standard reference commands
  * Remember the setting of MakeIndexOptions checkbox in the
  project settings dialog.
  * Added utf-8 and other encodings to the quickdocument dialog.
  * Make the "New Tool" dialog box big enough.
  * Check if masterdocs in kilepr files exist, should fix some
  problems with upgrades from kile 1.8.
  * Searching for environments in Edit functions improved.
  * Take array as math environment instead of tabular in
  Configure->Latex Environments.
  * Don't crash if a user changes the icon of a toolbar item.
  * Allow a few more punctuation in codecompletion of citation keys.
  * Remember last working directory in 'find in files' dialog
  * Tabular wizard should insert all entered elements.
  * Only autosave files which have been modified.
  * Delete comma of last bibtex entry if Bibliographie->Clean is called.
  * Quick Preview fails if graphics are included in selection
* Mon Jul 03 2006 adrian@suse.de
- update to version 1.9.1
  * a number of bugfixes
  * Add the possibility to use bullets in user tags via a new placeholder %%B.
  * Colour bullets so that they can be spotted easily.
  * new cwl file for the textcomp and import package.
  * we now highlight TODO, FIXME in comments. (only if they are not in normal text)
* Tue May 30 2006 adrian@suse.de
- fix build for < 10.1
* Tue Mar 28 2006 stbinner@suse.de
- update to version 1.9
  * over 50 bug fixes and wishes implemented
* Fri Mar 24 2006 coolo@suse.de
- require latex (#160482)
* Fri Mar 03 2006 coolo@suse.de
- fix array subscription (#154849)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 25 2005 stbinner@suse.de
- update to version 1.8.1
* Mon May 23 2005 adrian@suse.de
- update to version 1.8
* Thu Feb 10 2005 adrian@suse.de
- do not require te_pdf anymore
* Sun Nov 14 2004 ro@suse.de
- fix file conflicts with kdelibs3
* Tue Oct 19 2004 adrian@suse.de
- update to version 1.7.1
* Thu May 13 2004 adrian@suse.de
- update to version 1.6.3
* Fri Apr 23 2004 adrian@suse.de
- fix typo in Requires: (reported by Hendric Stattmann)
* Mon Apr 19 2004 adrian@suse.de
- update to version 1.6.2
- add Requires to kdegrpahics3-tex
* Sun Feb 01 2004 adrian@suse.de
- update to version 1.6.1
  * crash fixes
  * KDE 3.2 related changes
* Sat Nov 01 2003 adrian@suse.de
- update to version 1.6
  * New editor part (katepart)
  * Project management (group files, let Kile detect the master document
  automatically, etc.)
* Tue Aug 12 2003 adrian@suse.de
- add Categories
* Fri Jul 18 2003 adrian@suse.de
- update to version 1.5.2
* Thu Jun 12 2003 coolo@suse.de
- use %%find_lang
* Tue Apr 15 2003 adrian@suse.de
- update to version 1.5
* Tue Feb 11 2003 adrian@suse.de
- update to 1.4
* Sat Jan 25 2003 adrian@suse.de
- fix build with gcc 3.3
* Sat Jan 18 2003 adrian@suse.de
- update to 1.32
* Fri Dec 13 2002 adrian@suse.de
- update to 1.31
* Mon Nov 11 2002 coolo@suse.de
- update to 1.3
* Sun Aug 25 2002 adrian@suse.de
- update to 1.2
  * translation and bugfix release
- fix postscript preview
* Mon Jul 29 2002 coolo@suse.de
- update to 1.1
* Sat Jun 15 2002 adrian@suse.de
- update to 1.0 final release
* Mon May 27 2002 adrian@suse.de
- use update_admin
* Tue Apr 16 2002 adrian@suse.de
- add missing Requires as suggested by Kand-ALF
* Wed Apr 10 2002 adrian@suse.de
- rename to kile
- update to beta 1.0
- KDE 3 based now
* Tue Dec 18 2001 adrian@suse.de
- fix build root
* Mon Dec 17 2001 adrian@suse.de
- update to version 1.7
* Tue Nov 13 2001 ro@suse.de
- fix for automake 1.5
* Fri Nov 09 2001 ro@suse.de
- use kde2-devel-packages in neededforbuild
* Mon Aug 13 2001 ro@suse.de
- changed neededforbuild <sp_libs> to <sp-devel>
* Wed Aug 08 2001 adrian@suse.de
- autoconf 2.52 fixes
* Sun Jul 15 2001 adrian@suse.de
- new version 1.5
* Thu Jul 05 2001 ro@suse.de
- autoconf 2.50 fixes
* Thu Apr 19 2001 adrian@suse.de
- Spec file created from ktexmaker2-1.3.tar.bz2 by autospec
openSUSE Build Service is sponsored by