Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
libwmf
libwmf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libwmf.spec of Package libwmf
# # spec file for package libwmf # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libwmf %define lname libwmf-0_2-7 BuildRequires: gd-devel BuildRequires: gtk2-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: libxml2-devel BuildRequires: update-desktop-files BuildRequires: xorg-x11-proto-devel BuildRequires: xorg-x11-util-devel BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xt) Provides: mswordvw:/usr/bin/wmftopng Provides: wv:/usr/bin/wmftopng Version: 0.2.8.4 Release: 0 Summary: Utilities for Displaying and Converting Metafile Images License: LGPL-2.1+ Group: Productivity/Graphics/Other Url: http://wvWare.sourceforge.net/ Source: libwmf-%{version}.tar.bz2 Source2: baselibs.conf Patch: libwmf-%{version}-ia64.patch Patch1: libwmf-%{version}-fix.patch Patch2: libwmf-%{version}-config.patch Patch3: libwmf-%{version}-overflow-CVE-2006-3376.patch Patch4: libwmf-0.2.8.4-gd_libpng.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This library interprets metafile images and can either display them using the X Window System or convert them to standard formats such as PNG, JPEG, PS, EPS, and more. %package tools Summary: Utilities for Displaying and Converting Metafile Images Group: Productivity/Graphics/Other # Prov/Obs added on 2011-11-22 (post openSUSE 12.1) Provides: libwmf = %version-%release Provides: wmf-utils = %version-%release Obsoletes: libwmf < %version-%release Obsoletes: wmf-utils < %version-%release %description tools These utilities read metafile images and can either display them using the X Window System or convert them to standard formats such as PNG, JPEG, PS, EPS, and more. %package -n %lname Summary: Library for reading Metafile Images Group: System/Libraries %description -n %lname This library reads metafile images. %package devel Requires: %lname = %{version} Requires: libwmf-gnome = %{version} Provides: mswordvd:/usr/lib/libwmf.a Provides: wv-devel:/usr/lib/libwmf.a Summary: Static libraries, header files and documentation for libwmf Group: Development/Libraries/C and C++ Requires: libjpeg-devel Requires: libpng-devel Requires: libwmf Requires: xorg-x11-devel %description devel The libwmf-devel package contains the header files and static libraries necessary for developing programs using libwmf. %package gnome Summary: GNOME plugin for displaying and Converting Metafile Images Group: System/Libraries %description gnome This library interprets metafile images and can either display them using the X Window System or convert them to standard formats such as PNG, JPEG, PS, EPS, and more. %prep %setup -q %patch -p0 %patch1 -p0 %patch2 -p0 %patch3 -p0 %patch4 %build %configure --prefix=/usr $RPM_ARCH-suse-linux --enable-magick --libdir=%{_libdir} make %{?_smp_mflags} %install mkdir -p $RPM_BUILD_ROOT/usr/include/libwmf make DESTDIR=$RPM_BUILD_ROOT \ wmfdocdir=%{_defaultdocdir}/libwmf \ wmfonedocdir=%{_defaultdocdir}/libwmf/caolan \ install cp AUTHORS COPYING CREDITS ChangeLog README TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/libwmf %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files tools %defattr(-,root,root) /usr/bin/libwmf-fontmap /usr/bin/wmf2eps /usr/bin/wmf2fig /usr/bin/wmf2gd #/usr/bin/wmf2magick #/usr/bin/wmf2plot /usr/bin/wmf2svg /usr/bin/wmf2x # # /usr/share/libwmf # %dir %{_defaultdocdir}/libwmf %doc %{_defaultdocdir}/libwmf/AUTHORS %doc %{_defaultdocdir}/libwmf/COPYING %doc %{_defaultdocdir}/libwmf/CREDITS %doc %{_defaultdocdir}/libwmf/ChangeLog %doc %{_defaultdocdir}/libwmf/README %doc %{_defaultdocdir}/libwmf/TODO %files -n %lname %defattr(-,root,root) %_libdir/libwmf*-0.2.so.7* %files gnome %defattr(-,root,root) %dir %{_libdir}/gtk-*/*/loaders %{_libdir}/gtk-*/*/loaders/*.so %files devel %defattr(-,root,root) /usr/bin/libwmf-config /usr/include/libwmf %{_libdir}/libwmf*.so %{_libdir}/libwmf*.a %{_libdir}/libwmf*.la %dir %{_libdir}/gtk-*/*/loaders %{_libdir}/gtk-*/*/loaders/*.*a # %doc %{_defaultdocdir}/libwmf/*.html %doc %{_defaultdocdir}/libwmf/*.png %doc %{_defaultdocdir}/libwmf/*.gif %doc %{_defaultdocdir}/libwmf/caolan %doc %{_defaultdocdir}/libwmf/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor