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