ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 22019
en ru
SRPMs in branches
hide window
Group :: Editors
Source RPM: qxmledit
Raw spec file

%define Name QXmlEdit
Name: qxmledit
Version: 0.9.13
Release: alt3

Summary: Simple XML editor and XSD viewer

Group: Editors
License: GPLv2+

# Source-url:

Source: %name-%version.tar
Patch0: add-translation-units.patch

Provides: %Name = %version-%release

BuildRequires: gcc-c++ qt5-base-devel qt5-scxml-devel qt5-xmlpatterns-devel qt5-svg-devel rpm-macros-qt5 qt5-tools

# ../include/qwt3d_openglhelper.h

BuildRequires: libGLU-devel

%Name is a simple XML editor written in Qt 5. Its main features are unusual
data visualization modes, nice XML manipulation and presentation. It can split
very big XML files into fragments, and compare XML files. It is one of the few
graphical Open Source XSD viewers.
Main features:
- Hierarchical customizable view of XML elements.
- Fast XML hierarchy navigation.
- Split of big XML files.
- Search supporting XPath expressions.
- Base 64 data handling.
- Custom visualization styles.
- XML Schema (XSD) viewer.
- Columnar view.
- Sessions handling.
- Graphical XML file view.
- Map view of a XML document.
- Split and fragment extraction of big XML files.
- Visual compare of XML Schema files.
- Visual compare of XML files.
- XML Snippets.
- XSL specialized mode.

%patch0 -p1

lrelease-qt5 src/
lrelease-qt5 src/
lrelease-qt5 src/sessions/

%qmake_qt5 "CONFIG+=release staticlib"
%make_build \
QXMLEDIT_INST_DATA_DIR=%_datadir/%name \
QXMLEDIT_INST_DOC_DIR=%_docdir/%name-%version \

%make_install INSTALL_ROOT=%buildroot install
install -m 0644 AUTHORS NEWS README ROADMAP TODO %buildroot%_docdir/%name-%version/

install -pD -m 0644 src/images/icon.png %buildroot%_niconsdir/%name.png
install -pD -m 0644 ./src/images/icon.svg %buildroot%_iconsdir/hicolor/scalable/apps/%name.svg

install -d -m 0755 %buildroot%_desktopdir
mv %buildroot%_datadir/%name/%Name.desktop %buildroot%_desktopdir/%Name.desktop

%doc %_docdir/%name-%version
%exclude %_includedir
%exclude %_libdir

* Tue Oct 28 2019 Konstantin Kondratyuk <kondratyuk at> 0.9.13-alt3
- add russian translations

* Wed Oct 17 2019 Konstantin Kondratyuk <kondratyuk at> 0.9.13-alt2
- build translations

* Wed Oct 16 2019 Konstantin Kondratyuk <kondratyuk at> 0.9.13-alt1
- new version 0.9.13 (with rpmrb script)

* Fri Mar 01 2019 Vitaly Lipatov <lav at> 0.9.12-alt1
- new version (0.9.12) with rpmgs script
- move source code to the subdir
- build with Qt 5

* Mon Jul 03 2017 Aleksei Nikiforov <darktemplar at>
- Update to upstream version 0.9.7-1

* Sun Mar 30 2014 Led <led at> 0.8.10-alt1
- initial build
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.