[521] | 1 | %define _ver 1.2.0.6 |
---|
| 2 | %define _rel 2 |
---|
| 3 | Summary: Fast, free, validating XML editor |
---|
[6549] | 4 | Summary(ja): 高速な XM L検証エディタ |
---|
[521] | 5 | Name: xmlcopyeditor |
---|
| 6 | Version: %{_ver}.%{_rel} |
---|
[6549] | 7 | Release: 2%{?_dist_release} |
---|
[521] | 8 | License: GPL |
---|
| 9 | URL: http://xml-copy-editor.sourceforge.net/ |
---|
| 10 | Source0: xmlcopyeditor-%{_ver}-%{_rel}.tar.gz |
---|
| 11 | Group: Applications/Editors |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: pcre-devel |
---|
| 14 | BuildRequires: aspell-devel |
---|
| 15 | BuildRequires: libboost libboost-devel |
---|
| 16 | BuildRequires: xerces-c xerces-c-devel |
---|
| 17 | BuildRequires: libxml-devel |
---|
| 18 | BuildRequires: libxslt-devel |
---|
| 19 | BuildRequires: expat-devel |
---|
[6549] | 20 | BuildRequires: wxGTK-devel >= 2.8 |
---|
[521] | 21 | |
---|
| 22 | %description |
---|
| 23 | XML Copy Editor is an XML editor focusing on editing document markup languages like |
---|
| 24 | DITA, DocBook, WordprocessingML. It features DTD/XML Schema/RELAX NG validation, |
---|
| 25 | XSLT, XPath, pretty-printing, syntax highlighting, folding, tag completion/locking, |
---|
| 26 | and a spelling/style check. |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q -n xmlcopyeditor-%{_ver} |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %configure \ |
---|
| 35 | CFLAGS="$CFLAGS -I/usr/include/pcre" \ |
---|
| 36 | CXXFLAGS="$CXXFLAGS -I/usr/include/pcre" \ |
---|
| 37 | CC="gcc -I/usr/include/pcre" \ |
---|
| 38 | CXX="g++ -I/usr/include/pcre" \ |
---|
| 39 | ; |
---|
| 40 | %__make %{?_smp_mflags} |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | %post |
---|
| 52 | %{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : |
---|
| 53 | |
---|
| 54 | %postun |
---|
| 55 | %{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %defattr(-,root,root) |
---|
| 59 | %{_bindir}/%{name} |
---|
| 60 | %config(missingok) %{_datadir}/applications/%{name}.desktop |
---|
| 61 | %{_datadir}/pixmaps/%{name}.png |
---|
| 62 | %{_datadir}/%{name} |
---|
| 63 | |
---|
| 64 | %changelog |
---|
[6549] | 65 | * Wed Jul 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0.6.2-2 |
---|
| 66 | - changed Buildrequires: wx-gtk2-devel >= 2.8 to wxGTK-devel >= 2.8 |
---|
| 67 | |
---|
[521] | 68 | * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0.6.2-1 |
---|
| 69 | - initial build for vine seed |
---|
| 70 | |
---|