libemf-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. Summary: library for generating Enhanced Metafiles
  2. Summary(ja): EMF作成ライブラリ
  3. Name: libemf
  4. Version: 1.0.3
  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. %configure --enable-editing --disable-static
  46. %{__make}
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. %makeinstall
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %defattr(-,root,root)
  56. %doc README AUTHORS COPYING.LIB COPYING NEWS
  57. %{_libdir}/libEMF.so*
  58. %{_bindir}/printemf
  59. %files -n %{name}-devel
  60. %defattr(-,root,root,-)
  61. %doc doc/html/*
  62. %{_libdir}/libEMF.so
  63. %{_includedir}/libEMF/*.h
  64. %{_includedir}/libEMF/wine/*.h
  65. #%{_libdir}/libEMF.a
  66. %exclude %{_libdir}/libEMF.la
  67. %changelog
  68. * Sun Jun 14 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1
  69. - updated libEMF to 1.0.3
  70. - added libEMF-1.0.3-amd64.patch (from fedora)
  71. - dropt *.a *.la
  72. - dropt patch-include+wine+winnt.h
  73. - dropt patch-libemf+libemf.cpp
  74. - dropt patch-libemf+libemf.h
  75. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-1
  76. - applied new versioning policy
  77. - spec in UTF-8
  78. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl6
  79. - rebuilt with new toolchain
  80. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl5
  81. - rebuilt for VineSeed (4.0)
  82. - added %post, %postun section
  83. * Wed Oct 20 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  84. - Moved html documents to the devel package
  85. * Wed Sep 22 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  86. - Change the name to libemf
  87. - Divided libemf and devel
  88. - Took the patch written by Wirawan Purwanto
  89. - Took the patch from FreeBSD
  90. * Thu Oct 2 2003 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  91. - initial package