1 | Summary: Fast, free, validating XML editor |
---|
2 | Summary(ja): 高速な XML 検証エディタ |
---|
3 | Name: xmlcopyeditor |
---|
4 | Version: 1.2.1.3 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2 |
---|
8 | Group: Applications/Editors |
---|
9 | URL: http://xml-copy-editor.sourceforge.net/ |
---|
10 | |
---|
11 | Source0: xmlcopyeditor-%{version}.tar.gz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: aspell-devel |
---|
15 | BuildRequires: desktop-file-utils |
---|
16 | BuildRequires: enchant-devel |
---|
17 | BuildRequires: expat-devel |
---|
18 | BuildRequires: libboost-devel |
---|
19 | BuildRequires: libxml2-devel |
---|
20 | BuildRequires: libxslt-devel |
---|
21 | BuildRequires: pcre-devel |
---|
22 | BuildRequires: xerces-c-devel |
---|
23 | BuildRequires: wxGTK-devel >= 2.8 |
---|
24 | Requires(post): desktop-file-utils |
---|
25 | Requires(postun): desktop-file-utils |
---|
26 | |
---|
27 | %description |
---|
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. |
---|
29 | |
---|
30 | |
---|
31 | %prep |
---|
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 |
---|
36 | |
---|
37 | %build |
---|
38 | %configure |
---|
39 | make %{?_smp_mflags} |
---|
40 | |
---|
41 | |
---|
42 | %install |
---|
43 | rm -rf $RPM_BUILD_ROOT |
---|
44 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
45 | |
---|
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 |
---|
51 | |
---|
52 | %find_lang %{name} |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | %post |
---|
58 | update-desktop-database &> /dev/null || : |
---|
59 | |
---|
60 | %postun |
---|
61 | update-desktop-database &> /dev/null || : |
---|
62 | |
---|
63 | |
---|
64 | %files -f %{name}.lang |
---|
65 | %defattr(-,root,root) |
---|
66 | %doc AUTHORS COPYING NEWS |
---|
67 | %{_bindir}/%{name} |
---|
68 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
69 | %{_datadir}/applications/%{name}.desktop |
---|
70 | %{_datadir}/pixmaps/%{name}.png |
---|
71 | %{_datadir}/%{name} |
---|
72 | %{_mandir}/man1/* |
---|
73 | |
---|
74 | %changelog |
---|
75 | * Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> - 1.2.1.3-2 |
---|
76 | - rebuild with gcc-5.4.0 |
---|
77 | |
---|
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 | |
---|
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 | |
---|
85 | * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0.6.2-1 |
---|
86 | - initial build for vine seed |
---|
87 | |
---|