#
# Conditional build:
-# _without_gtk - without gtk-loader package (which requires gtk+2-devel)
+# _without_gtk - without gtk-loader package (which requires gtk+2-devel)
+# _without_static - without static version
#
Summary: libwmf - library to convert wmf files
Summary(pl): libwmf - biblioteka z funkcjami do konwersji plików wmf
Name: libwmf
Version: 0.2.8
-Release: 1
+Release: 2
Epoch: 2
License: GPL
Group: Applications/Text
Summary: libwmf - header files
Summary(pl): libwmf - pliki nag³ówkowe
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{epoch}:%{version}
%description devel
This package contains libwmf header files.
Summary: libwmf - static libraries
Summary(pl): libwmf - biblioteki statyczne
Group: Development/Libraries
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{epoch}:%{version}
%description static
This package contains libwmf static libraries.
Summary: WMF loader for gdk_pixbuf 2.x library
Summary(pl): Modu³ wczytuj±cy WMF dla biblioteki gdk_pixbuf 2.x
Group: X11/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{epoch}:%{version}
%description gtk-loader
WMF loader for gdk_pixbuf 2.x library.
rm -f missing
%{__libtoolize}
%{__aclocal}
+%{__autoheader}
%{__autoconf}
%{__automake}
%configure \
%{_libdir}/*.la
%{_includedir}/*
+%if 0%{!?_without_static:1}
%files static
%defattr(644,root,root,755)
%{_libdir}/*.a
+%endif
%if %{?_without_gtk:0}%{!?_without_gtk:1}
%files gtk-loader