source: projects/specs/trunk/x/xmlcopyeditor/xmlcopyeditor-vl.spec @ 10776

Revision 10776, 2.2 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Summary: Fast, free, validating XML editor
2Summary(ja): 高速な XML 検証エディタ
3Name: xmlcopyeditor
4Version: 1.2.1.3
5Release: 2%{?_dist_release}
6
7License: GPLv2
8Group: Applications/Editors
9URL: http://xml-copy-editor.sourceforge.net/
10
11Source0: xmlcopyeditor-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: aspell-devel
15BuildRequires: desktop-file-utils
16BuildRequires: enchant-devel
17BuildRequires: expat-devel
18BuildRequires: libboost-devel
19BuildRequires: libxml2-devel
20BuildRequires: libxslt-devel
21BuildRequires: pcre-devel
22BuildRequires: xerces-c-devel
23BuildRequires: wxGTK-devel >= 2.8
24Requires(post): desktop-file-utils
25Requires(postun): desktop-file-utils
26
27%description
28XML 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
33find src -type f -print0 | xargs -0 chmod a-x
34tr -d '\r' < src/copying/gpl.txt > COPYING
35chmod a-x AUTHORS COPYING NEWS
36
37%build
38%configure
39make %{?_smp_mflags}
40
41
42%install
43rm -rf $RPM_BUILD_ROOT
44make install DESTDIR=$RPM_BUILD_ROOT
45
46desktop-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
55rm -rf $RPM_BUILD_ROOT
56
57%post
58update-desktop-database &> /dev/null || :
59
60%postun
61update-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
Note: See TracBrowser for help on using the repository browser.