1 Summary: A library for generating Enhanced Metafiles
2 Summary(pl): Biblioteka do generowania plików w formacie Enhanced Metafile
8 #Source0: http://dl.sourceforge.net/libemf/%{name}-%{version}.tar.gz
9 Source0: http://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
10 # Source0-md5: a4e91fd8077ce5f540f569e20e8ef7ff
11 Patch0: %{name}-amd64.patch
12 URL: http://libemf.sourceforge.net/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: libstdc++-devel >= 5:3.0
16 BuildRequires: libtool >= 2:1.4d
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 libEMF is a library for generating Enhanced Metafiles on systems which
21 don't 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.
27 libEMF to biblioteka do generowania plików w formacie Enhanced
28 Metafile na systemach nie obs³uguj±cych natywnie systemu graficznego
29 ECMA-234 GDI. Biblioteka ma s³u¿yæ jako sterownik dla innych programów
30 graficznych, takich jak Grace czy gnuplot. Z tego powodu ma
31 zaimplementowany bardzo ograniczony podzbiór GDI.
34 Summary: libEMF header files
35 Summary(pl): Pliki nag³ówkowe libEMF
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Requires: libstdc++-devel
43 %description devel -l pl
44 Pliki nag³ówkowe libEMF.
47 Summary: libEMF static library
48 Summary(pl): Statyczna biblioteka libEMF
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 libEMF static library.
55 %description static -l pl
56 Statyczna biblioteka libEMF.
63 # supplied libtool is broken (no C++ libraries support)
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT
80 rm -rf $RPM_BUILD_ROOT
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
92 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/lib*.so
99 %defattr(644,root,root,755)