2008-04-09 02:42:11 +00:00
|
|
|
#
|
2014-01-17 10:29:11 +00:00
|
|
|
# spec file for package libspectre
|
2008-04-09 02:42:11 +00:00
|
|
|
#
|
2016-07-05 08:50:18 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-04-09 02:42:11 +00:00
|
|
|
#
|
2008-10-22 16:15:51 +00:00
|
|
|
# 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.
|
|
|
|
|
2008-04-09 02:42:11 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2014-01-17 10:29:11 +00:00
|
|
|
Url: http://libspectre.freedesktop.org/
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
Name: libspectre
|
2016-07-05 08:50:18 +00:00
|
|
|
Version: 0.2.8
|
2014-01-17 10:29:11 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Library for Rendering PostScript Documents
|
2011-12-06 17:25:51 +00:00
|
|
|
License: GPL-2.0+
|
2008-04-09 02:42:11 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-01-17 10:29:11 +00:00
|
|
|
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
|
2008-10-23 15:09:32 +00:00
|
|
|
%define debug_package_requires libspectre1 = %{version}-%{release}
|
2014-01-17 10:29:11 +00:00
|
|
|
BuildRequires: ghostscript-devel
|
|
|
|
BuildRequires: ghostscript-library
|
2010-08-09 20:28:04 +00:00
|
|
|
BuildRequires: pkg-config
|
2014-01-17 10:29:11 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
%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
|
2012-10-23 20:43:03 +00:00
|
|
|
Summary: Library for Rendering PostScript Documents
|
2014-01-17 10:29:11 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
%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
|
2012-10-23 20:43:03 +00:00
|
|
|
Summary: Library for Rendering PostScript Documents
|
2014-01-17 10:29:11 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libspectre1 >= %{version}
|
2008-04-09 02:42:11 +00:00
|
|
|
%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
|
2014-01-17 10:29:11 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
%install
|
2014-01-17 10:29:11 +00:00
|
|
|
%make_install
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
%post -n libspectre1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libspectre1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
2014-01-17 10:29:11 +00:00
|
|
|
rm -rf %{buildroot}
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
%files -n libspectre1
|
|
|
|
%defattr(-, root, root)
|
2014-01-17 10:29:11 +00:00
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libspectre.so.1*
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
%files -n libspectre-devel
|
|
|
|
%defattr(-, root, root)
|
2014-01-17 10:29:11 +00:00
|
|
|
%{_includedir}/libspectre
|
|
|
|
%{_libdir}/libspectre.la
|
|
|
|
%{_libdir}/libspectre.so
|
|
|
|
%{_libdir}/pkgconfig/libspectre.pc
|
2008-04-09 02:42:11 +00:00
|
|
|
|
|
|
|
%changelog
|