2006-11-21 06:53:23 +00:00
|
|
|
Summary: A library for generating Enhanced Metafiles
|
|
|
|
Summary(pl): Biblioteka do generowania plików w formacie Enhanced Metafile
|
|
|
|
Name: libEMF
|
|
|
|
Version: 1.0.3
|
2009-02-25 13:01:24 +00:00
|
|
|
Release: 8%{?dist}
|
2007-08-25 18:26:03 +00:00
|
|
|
License: LGPLv2+ and GPLv2+
|
2006-11-21 06:53:23 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source0: http://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
|
|
|
|
# Source0-md5: a4e91fd8077ce5f540f569e20e8ef7ff
|
|
|
|
Patch0: %{name}-amd64.patch
|
2007-12-03 21:42:23 +00:00
|
|
|
Patch1: %{name}-axp.patch
|
2008-01-06 14:14:57 +00:00
|
|
|
Patch2: %{name}-gcc43.patch
|
2006-11-21 06:53:23 +00:00
|
|
|
URL: http://libemf.sourceforge.net/
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
libEMF is a library for generating Enhanced Metafiles on systems which
|
|
|
|
don't natively support the ECMA-234 Graphics Device Interface
|
|
|
|
(GDI). The library is intended to be used as a driver for other
|
|
|
|
graphics programs such as Grace or gnuplot. Therefore, it implements a
|
|
|
|
very limited subset of the GDI.
|
|
|
|
|
|
|
|
%description -l pl
|
|
|
|
libEMF to biblioteka do generowania plików w formacie Enhanced
|
|
|
|
Metafile na systemach nie obsługujących natywnie systemu graficznego
|
|
|
|
ECMA-234 GDI. Biblioteka ma służyć jako sterownik dla innych programów
|
|
|
|
graficznych, takich jak Grace czy gnuplot. Z tego powodu ma
|
|
|
|
zaimplementowany bardzo ograniczony podzbiór GDI.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: libEMF header files
|
|
|
|
Summary(pl): Pliki nagłówkowe libEMF
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: libstdc++-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libEMF header files.
|
|
|
|
|
|
|
|
%description devel -l pl
|
|
|
|
Pliki nagłówkowe libEMF.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .amd64
|
2007-12-03 21:42:23 +00:00
|
|
|
%patch1 -p1 -b .axp
|
2008-01-06 14:14:57 +00:00
|
|
|
%patch2 -p1 -b .gcc43
|
2006-11-21 06:53:23 +00:00
|
|
|
chmod 0644 libemf/libemf.h
|
|
|
|
|
|
|
|
%build
|
|
|
|
# supplied libtool is broken (no C++ libraries support)
|
|
|
|
%{__libtoolize} --force
|
|
|
|
%{__aclocal}
|
|
|
|
%{__autoconf}
|
|
|
|
%{__automake}
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--enable-editing
|
|
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
export CPPROG="cp -p"
|
|
|
|
%{__make} install \
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/libEMF.la
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} check
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc AUTHORS ChangeLog COPYING COPYING.LIB NEWS README
|
|
|
|
%attr(755,root,root) %{_bindir}/*
|
|
|
|
%attr(755,root,root) %{_libdir}/lib*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%doc doc/html
|
|
|
|
%attr(755,root,root) %{_libdir}/lib*.so
|
|
|
|
%{_includedir}/libEMF
|
|
|
|
|
|
|
|
%changelog
|
2009-02-25 13:01:24 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-19 20:43:07 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.3-7
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-06 14:14:57 +00:00
|
|
|
* Sun Jan 06 2008 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-6
|
|
|
|
- fixed compilation with gcc-4.3
|
|
|
|
|
2007-12-03 21:42:23 +00:00
|
|
|
* Mon Dec 03 2007 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-5
|
|
|
|
- fixed compilation on Alpha platform (patch by Oliver Falk)
|
|
|
|
|
2007-08-25 18:26:03 +00:00
|
|
|
* Sat Aug 25 2007 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-4
|
|
|
|
- rebuild for BuildID
|
|
|
|
- update license tag
|
|
|
|
|
2006-11-21 06:53:23 +00:00
|
|
|
* Sun Nov 19 2006 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-3
|
|
|
|
- remove executable bit from libemf.h
|
|
|
|
|
|
|
|
* Sun Nov 19 2006 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-2
|
|
|
|
- added license texts
|
|
|
|
- preserved timestamps during install
|
|
|
|
- added %%check section
|
|
|
|
|
|
|
|
* Sun Nov 19 2006 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.0.3-1
|
|
|
|
- adapted PLD spec
|
|
|
|
- enhanced amd64 patch
|