File kxmleditor.spec of Package kxmleditor
#
# spec file for package kxmleditor (Version 1.1.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kxmleditor
BuildRequires: kdebase3-devel
%if %suse_version < 1010
BuildRequires: update-desktop-files
%endif
Summary: A Tool for Browsing and Editing XML Documents
Version: 1.1.4
Release: 161
License: GPL v2 or later
Url: http://kxmleditor.sourceforge.net/
Group: Productivity/Publishing/XML
Source: kxmleditor-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KXML Editor is a tool for browsing and editing XML documents. It
contains a split view, with the XML document structure in one panel and
a list of element attributes and their values in the other panel.
Authors:
--------
Lumir Vanek <lvanek@eanet.cz>
Olaf Hartig <olaf@punkbands.de>
%prep
%setup
. /etc/opt/kde3/common_options
update_admin
%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
make
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%install
. /etc/opt/kde3/common_options
make $INSTALL_TARGET DESTDIR=$RPM_BUILD_ROOT
%if %suse_version < 1010
%suse_update_desktop_file -r %name Utility Editor
%else
%suse_update_desktop_file -G "XML Editor" -r %name Utility Editor
%endif
cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kxmleditor
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kxmleditor
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.kxmleditor
%clean
rm -rf $RPM_BUILD_ROOT/*
rm -rf $RPM_BUILD_DIR/kxmleditor
rm -rf ../file.list.kxmleditor
%files -f ../file.list.kxmleditor
%changelog
* Wed Oct 24 2007 - dmueller@suse.de
- do not build with --enable-final, code uses clashing
[#]define's
* Tue May 30 2006 - adrian@suse.de
- fix build for < 10.1
* Fri Feb 17 2006 - coolo@suse.de
- don't configure in %%setup
* Wed Feb 15 2006 - stbinner@suse.de
- add GenericName to .desktop file
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Feb 17 2005 - adrian@suse.de
- update to version 1.1.4
- moved menu entry to xdg
* Thu Dec 16 2004 - coolo@suse.de
- fix unsermake install
* Wed Sep 15 2004 - nashif@suse.de
- Bug fix release 1.1.3:
* Wed Sep 01 2004 - nashif@suse.de
- Update to 1.1.2
* Thu Aug 05 2004 - nashif@suse.de
- Update to 1.1.0
* Sun Feb 15 2004 - adrian@suse.de
- remove multiple menu entries
* Sun Feb 01 2004 - nashif@suse.de
- Update to version 1.0.0
* Fri Jan 09 2004 - nashif@suse.de
- Update to version 0.9.1
* Thu Dec 04 2003 - nashif@suse.de
- Update to version 0.8.4
* Wed Nov 12 2003 - nashif@suse.de
- Updated to version 0.8.3
* Sun Sep 14 2003 - adrian@suse.de
- add Editor Category
* Sun Aug 10 2003 - adrian@suse.de
- add Categories
* Sat Feb 15 2003 - nashif@suse.de
- Update to version 0.8.1
* Sun Feb 09 2003 - nashif@suse.de
- fixed for x86_64 and lib64 usage
* Sat Feb 08 2003 - nashif@suse.de
- Initial Release (0.8)