source: projects/specs/trunk/lib/libe/libemf/libemf-vl.spec @ 521

Revision 521, 3.2 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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