libemf-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: library for generating Enhanced Metafiles
  2. Summary(ja): EMF作成ライブラリ
  3. Name: libemf
  4. Version: 1.0.4
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPL
  8. Source: libEMF-%{version}.tar.gz
  9. Patch0: patch-include+wine+winnt.h
  10. Patch1: patch-libemf+libemf.cpp
  11. Patch2: patch-libemf+libemf.h
  12. Patch3: libEMF-1.0.3-amd64.patch
  13. URL: http://libemf.sourceforge.net/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  18. %description
  19. libEMF is a library for generating Enhanced Metafiles on systems which
  20. do not natively support the ECMA-234 Graphics Device Interface
  21. (GDI). The library is intended to be used as a driver for other
  22. graphics programs such as Grace or gnuplot. Therefore, it implements a
  23. very limited subset of the GDI.
  24. %description -l ja
  25. libEMFはECMA-234グラフィックディバイスインターフェイス(GDI)をサポート
  26. していないシステムのためのemf作成ライブラリです。このライブラリは、
  27. Grace や gnuplotなど他のグラフィックソフトから利用するようになっており、
  28. GDIサブセットしては機能的制約があります。
  29. %package -n %{name}-devel
  30. Summary: Development files for using the EMF library
  31. Summary(ja): EMFライブラリ開発キット
  32. Group: Development/Libraries
  33. Requires: libemf = %{version}-%{release}
  34. %description -n %{name}-devel
  35. Development files for using the EMF library
  36. %description -n %{name}-devel -l ja
  37. EMFライブラリ開発キット
  38. %prep
  39. %setup -q -n libEMF-%{version}
  40. #%patch0 -p0
  41. #%patch1 -p0
  42. #%patch2 -p0
  43. %patch3 -p1 -b .amd64
  44. %build
  45. # --enable-static=no, --disable-static does not work...
  46. %configure --disable-static --enable-editing
  47. make %{?_smp_mflags}
  48. %install
  49. rm -rf $RPM_BUILD_ROOT
  50. %makeinstall
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %defattr(-,root,root)
  57. %doc README AUTHORS COPYING.LIB COPYING NEWS
  58. %{_libdir}/libEMF.so*
  59. %{_bindir}/printemf
  60. %files -n %{name}-devel
  61. %defattr(-,root,root,-)
  62. %doc doc/html/*
  63. %{_libdir}/libEMF.so
  64. %{_includedir}/libEMF/*.h
  65. %{_includedir}/libEMF/wine/*.h
  66. %exclude %{_libdir}/libEMF.a
  67. %exclude %{_libdir}/libEMF.la
  68. %changelog
  69. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-1
  70. - updated libEMF to 1.0.4
  71. - built with new toolchain
  72. * Sun Jun 14 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1
  73. - updated libEMF to 1.0.3
  74. - added libEMF-1.0.3-amd64.patch (from fedora)
  75. - dropt *.a *.la
  76. - dropt patch-include+wine+winnt.h
  77. - dropt patch-libemf+libemf.cpp
  78. - dropt patch-libemf+libemf.h
  79. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-1
  80. - applied new versioning policy
  81. - spec in UTF-8
  82. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl6
  83. - rebuilt with new toolchain
  84. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl5
  85. - rebuilt for VineSeed (4.0)
  86. - added %post, %postun section
  87. * Wed Oct 20 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  88. - Moved html documents to the devel package
  89. * Wed Sep 22 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  90. - Change the name to libemf
  91. - Divided libemf and devel
  92. - Took the patch written by Wirawan Purwanto
  93. - Took the patch from FreeBSD
  94. * Thu Oct 2 2003 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  95. - initial package