Files
xmlcopyeditor/xmlcopyeditor.spec

91 lines
2.5 KiB
RPMSpec

Name: xmlcopyeditor
Version: 1.3.1.0
Release: 2mamba
Summary: A fast, free, validating XML editor
Group: Graphical Desktop/Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://xml-copy-editor.sourceforge.io/
Source: http://downloads.sourceforge.net/project/xml-copy-editor/xmlcopyeditor-linux/%{version}/xmlcopyeditor-%{version}.tar.gz
Patch0: xmlcopyeditor-1.3.1.0-libxml2-const-error.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libenchant-devel
BuildRequires: libexpat-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libpcre2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxerces-c-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
BuildRequires: wxwidgets-devel
BuildRequires: wxwidgets-gtk3-devel
## AUTOBUILDREQ-END
%description
XML Copy Editor is a fast, free, validating XML editor, with following features:
* DTD/XML Schema/RELAX NG validation
* XSLT
* XPath
* Pretty-printing
* Syntax highlighting
* Folding
* Tag completion
* Tag locking
* Tag-free editing
* Spelling and style check
* Built-in support for XHTML, XSL, DocBook and TEI
%prep
%setup -q
%patch 0 -p1 -b .libxml2-const-error
%build
%configure \
--with-gtk=3.0 --with-wx-config=wx-config-unicode-3
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/xmlcopyeditor
%{_datadir}/applications/xmlcopyeditor.desktop
%{_datadir}/metainfo/xmlcopyeditor.appdata.xml
%{_datadir}/pixmaps/xmlcopyeditor.png
%{_datadir}/xmlcopyeditor
%{_mandir}/man1/xmlcopyeditor.1*
%doc AUTHORS COPYING
#ChangeLog NEWS README TODO
%changelog
* Tue Aug 04 2026 Silvan Calarco <silvan@openmamba.org> 1.3.1.0-2mamba
- rebuilt with wxWidgets 3.2
* Sun Nov 13 2022 Automatic Build System <autodist@mambasoft.it> 1.3.1.0-1mamba
- automatic version update by autodist
* Sun Jan 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0.0-1mamba
- update to 1.3.0.0
* Wed Feb 17 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.2.0.6-1mamba
- package created by autospec