libspectre/libspectre.spec
OBS User autobuild 0c9f31b462 Accepting request 24257 from X11:common:Factory
Copy from X11:common:Factory/libspectre based on submit request 24257 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/24257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libspectre?expand=0&rev=7
2009-11-16 13:06:11 +00:00

89 lines
2.6 KiB
RPMSpec

#
# spec file for package libspectre (Version 0.2.3)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Url: http://libspectre.freedesktop.org/wiki/
Name: libspectre
License: GPL v2 or later
Group: Development/Libraries/C and C++
Summary: Library for Rendering PostScript Documents
Version: 0.2.3
Release: 1
Source0: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libspectre1 = %{version}-%{release}
BuildRequires: ghostscript-devel ghostscript-library
%description
libspectre is a small library for rendering Postscript documents. It
provides a convenient easy to use API for handling and rendering
Postscript documents.
%package -n libspectre1
License: GPL v2 or later
Group: Development/Libraries/C and C++
Summary: Library for Rendering PostScript Documents
%description -n libspectre1
libspectre is a small library for rendering Postscript documents. It
provides a convenient easy to use API for handling and rendering
Postscript documents.
%package -n libspectre-devel
License: GPL v2 or later
Group: Development/Libraries/C and C++
Summary: Library for Rendering PostScript Documents
Requires: libspectre1 >= %version
%requires_eq ghostscript-devel
%description -n libspectre-devel
libspectre is a small library for rendering Postscript documents. It
provides a convenient easy to use API for handling and rendering
Postscript documents.
%prep
%setup -q
%build
%configure --disable-static --enable-shared
make %{?jobs:-j %jobs}
%install
%makeinstall
%post -n libspectre1 -p /sbin/ldconfig
%postun -n libspectre1 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libspectre1
%defattr(-, root, root)
%_libdir/libspectre.so.1*
%files -n libspectre-devel
%defattr(-, root, root)
/usr/include/libspectre
%_libdir/libspectre.la
%_libdir/libspectre.so
%_libdir/pkgconfig/libspectre.pc
%changelog