[521] | 1 | Summary: Fast, free, validating XML editor |
---|
[9288] | 2 | Summary(ja): 高速な XML 検証エディタ |
---|
[521] | 3 | Name: xmlcopyeditor |
---|
[9288] | 4 | Version: 1.2.1.3 |
---|
[10776] | 5 | Release: 2%{?_dist_release} |
---|
[9288] | 6 | |
---|
| 7 | License: GPLv2 |
---|
| 8 | Group: Applications/Editors |
---|
[521] | 9 | URL: http://xml-copy-editor.sourceforge.net/ |
---|
[9288] | 10 | |
---|
| 11 | Source0: xmlcopyeditor-%{version}.tar.gz |
---|
| 12 | |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: aspell-devel |
---|
[9288] | 15 | BuildRequires: desktop-file-utils |
---|
| 16 | BuildRequires: enchant-devel |
---|
| 17 | BuildRequires: expat-devel |
---|
| 18 | BuildRequires: libboost-devel |
---|
| 19 | BuildRequires: libxml2-devel |
---|
[521] | 20 | BuildRequires: libxslt-devel |
---|
[9288] | 21 | BuildRequires: pcre-devel |
---|
| 22 | BuildRequires: xerces-c-devel |
---|
[6549] | 23 | BuildRequires: wxGTK-devel >= 2.8 |
---|
[9288] | 24 | Requires(post): desktop-file-utils |
---|
| 25 | Requires(postun): desktop-file-utils |
---|
[521] | 26 | |
---|
| 27 | %description |
---|
[9288] | 28 | XML Copy Editor is an XML editor focusing on editing document markup languages like DITA, DocBook, WordprocessingML. It features DTD/XML Schema/RELAX NG validation, XSLT, XPath, pretty-printing, syntax highlighting, folding, tag completion/locking, and a spelling/style check. |
---|
[521] | 29 | |
---|
| 30 | |
---|
| 31 | %prep |
---|
[9288] | 32 | %setup -q |
---|
| 33 | find src -type f -print0 | xargs -0 chmod a-x |
---|
| 34 | tr -d '\r' < src/copying/gpl.txt > COPYING |
---|
| 35 | chmod a-x AUTHORS COPYING NEWS |
---|
[521] | 36 | |
---|
| 37 | %build |
---|
[9288] | 38 | %configure |
---|
| 39 | make %{?_smp_mflags} |
---|
[521] | 40 | |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 45 | |
---|
[9288] | 46 | desktop-file-install \ |
---|
| 47 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 48 | --remove-key=Icon \ |
---|
| 49 | --set-key=Icon --set-value=xmlcopyeditor.png \ |
---|
| 50 | $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop |
---|
[521] | 51 | |
---|
[9288] | 52 | %find_lang %{name} |
---|
| 53 | |
---|
[521] | 54 | %clean |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | %post |
---|
[9288] | 58 | update-desktop-database &> /dev/null || : |
---|
[521] | 59 | |
---|
| 60 | %postun |
---|
[9288] | 61 | update-desktop-database &> /dev/null || : |
---|
[521] | 62 | |
---|
[9288] | 63 | |
---|
| 64 | %files -f %{name}.lang |
---|
[521] | 65 | %defattr(-,root,root) |
---|
[9288] | 66 | %doc AUTHORS COPYING NEWS |
---|
[521] | 67 | %{_bindir}/%{name} |
---|
[9288] | 68 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
| 69 | %{_datadir}/applications/%{name}.desktop |
---|
[521] | 70 | %{_datadir}/pixmaps/%{name}.png |
---|
| 71 | %{_datadir}/%{name} |
---|
[9288] | 72 | %{_mandir}/man1/* |
---|
[521] | 73 | |
---|
| 74 | %changelog |
---|
[10776] | 75 | * Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> - 1.2.1.3-2 |
---|
| 76 | - rebuild with gcc-5.4.0 |
---|
| 77 | |
---|
[9288] | 78 | * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.2.1.3-1 |
---|
| 79 | - new upstream release |
---|
| 80 | - built with xerces-c 3.1.1 |
---|
| 81 | |
---|
[6549] | 82 | * Wed Jul 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0.6.2-2 |
---|
| 83 | - changed Buildrequires: wx-gtk2-devel >= 2.8 to wxGTK-devel >= 2.8 |
---|
| 84 | |
---|
[521] | 85 | * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0.6.2-1 |
---|
| 86 | - initial build for vine seed |
---|
| 87 | |
---|