89 lines
2.3 KiB
RPMSpec
89 lines
2.3 KiB
RPMSpec
|
#
|
||
|
# spec file for package guile-cairo
|
||
|
#
|
||
|
# Copyright (c) 2018 SUSE LINUX 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/
|
||
|
#
|
||
|
|
||
|
|
||
|
%define soname 0
|
||
|
Name: guile-cairo
|
||
|
Version: 1.9.91
|
||
|
Release: 0
|
||
|
Summary: Guile bindings to Cairo
|
||
|
License: GPL-3.0
|
||
|
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
||
|
Group: Development/Libraries/Other
|
||
|
URL: https://www.nongnu.org/guile-cairo/
|
||
|
Source0: %{name}-%{version}.tar.gz
|
||
|
BuildRequires: cairo-devel
|
||
|
BuildRequires: guile-devel
|
||
|
Requires(post): %{install_info_prereq}
|
||
|
Requires(preun): %{install_info_prereq}
|
||
|
Requires: lib%{name}%{soname}
|
||
|
|
||
|
%description
|
||
|
Guile bindings to Cairo library.
|
||
|
|
||
|
%package -n lib%{name}%{soname}
|
||
|
Summary: Guile cairo libary
|
||
|
Group: System/Libraries
|
||
|
|
||
|
%description -n lib%{name}%{soname}
|
||
|
Libraries for Guile bindings for Cairo.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for Guile Cairo bindings
|
||
|
Group: Development/Libraries/Other
|
||
|
Requires: %{name} = %{version}
|
||
|
Requires: cairo-devel
|
||
|
Requires: guile-devel
|
||
|
|
||
|
%description devel
|
||
|
Files required to build software using Guile Cairo bindings.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
|
||
|
%post
|
||
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||
|
|
||
|
%preun
|
||
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||
|
|
||
|
%post -n lib%{name}%{soname} -p /sbin/ldconfig
|
||
|
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%doc
|
||
|
%{_datadir}/guile
|
||
|
%{_infodir}/%{name}.info*
|
||
|
|
||
|
%files -n lib%{name}%{soname}
|
||
|
%{_libdir}/lib%{name}.so.*
|
||
|
|
||
|
%files devel
|
||
|
%{_libdir}/pkgconfig/%{name}.pc
|
||
|
%{_libdir}/lib%{name}.so
|
||
|
%{_libdir}/lib%{name}.la
|
||
|
%{_includedir}/%{name}
|
||
|
|
||
|
%changelog
|