xmlcopyeditor-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. %define _ver 1.2.0.6
  2. %define _rel 2
  3. Summary: Fast, free, validating XML editor
  4. Summary(ja): 高速な XM L検証エディタ
  5. Name: xmlcopyeditor
  6. Version: %{_ver}.%{_rel}
  7. Release: 2%{?_dist_release}
  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
  20. BuildRequires: wxGTK-devel >= 2.8
  21. %description
  22. XML Copy Editor is an XML editor focusing on editing document markup languages like
  23. DITA, DocBook, WordprocessingML. It features DTD/XML Schema/RELAX NG validation,
  24. XSLT, XPath, pretty-printing, syntax highlighting, folding, tag completion/locking,
  25. and a spelling/style check.
  26. %prep
  27. %setup -q -n xmlcopyeditor-%{_ver}
  28. %build
  29. %configure \
  30. CFLAGS="$CFLAGS -I/usr/include/pcre" \
  31. CXXFLAGS="$CXXFLAGS -I/usr/include/pcre" \
  32. CC="gcc -I/usr/include/pcre" \
  33. CXX="g++ -I/usr/include/pcre" \
  34. ;
  35. %__make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post
  42. %{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
  43. %postun
  44. %{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
  45. %files
  46. %defattr(-,root,root)
  47. %{_bindir}/%{name}
  48. %config(missingok) %{_datadir}/applications/%{name}.desktop
  49. %{_datadir}/pixmaps/%{name}.png
  50. %{_datadir}/%{name}
  51. %changelog
  52. * Wed Jul 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0.6.2-2
  53. - changed Buildrequires: wx-gtk2-devel >= 2.8 to wxGTK-devel >= 2.8
  54. * Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0.6.2-1
  55. - initial build for vine seed