2021-05-19 20:37:30 +00:00
|
|
|
#
|
|
|
|
# spec file for package libinsane
|
|
|
|
#
|
2023-07-01 21:10:15 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2021-05-19 20:37:30 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libinsane
|
2023-07-01 21:10:15 +00:00
|
|
|
Version: 1.0.10
|
2021-05-19 20:37:30 +00:00
|
|
|
Release: 0
|
2021-05-20 17:56:23 +00:00
|
|
|
Summary: Library for accessing image scanners
|
2021-05-19 20:37:30 +00:00
|
|
|
Group: Productivity/Office/Other
|
|
|
|
License: LGPL-3.0-or-later
|
|
|
|
URL: https://doc.openpaper.work/libinsane/latest/
|
|
|
|
Source: https://gitlab.gnome.org/World/OpenPaperwork/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: meson >= 0.50.0
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: plantuml
|
2023-07-01 21:10:15 +00:00
|
|
|
BuildRequires: vala
|
2021-05-19 20:37:30 +00:00
|
|
|
BuildRequires: valgrind
|
|
|
|
BuildRequires: pkgconfig(cunit)
|
|
|
|
BuildRequires: pkgconfig(sane-backends)
|
|
|
|
|
|
|
|
%description
|
2021-05-20 17:56:23 +00:00
|
|
|
Libinsane is a library to access scanners on multiple platforms.
|
|
|
|
It takes care of quirks of platforms and scanners.
|
2021-05-19 20:37:30 +00:00
|
|
|
|
|
|
|
%package -n libinsane1
|
2021-05-20 17:56:23 +00:00
|
|
|
Summary: Library for accesssing image scanners
|
2021-05-19 20:37:30 +00:00
|
|
|
|
|
|
|
%description -n libinsane1
|
2021-05-20 17:56:23 +00:00
|
|
|
Libinsane is a library to access scanners on multiple platforms.
|
|
|
|
It takes care of quirks of platforms and scanners.
|
2021-05-19 20:37:30 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libinsane
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name}1 >= %{version}
|
2021-06-07 07:05:05 +00:00
|
|
|
Requires: typelib-1_0-Libinsane-1_0 = %{version}
|
2021-05-19 20:37:30 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development libraries and header files for libinsane.
|
|
|
|
|
|
|
|
%package -n libinsane_gobject1
|
|
|
|
Summary: GObject access to image scanners
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
Requires: %{name}1 >= %{version}
|
|
|
|
|
|
|
|
%description -n libinsane_gobject1
|
2021-05-20 17:56:23 +00:00
|
|
|
Libinsane is a library to access scanners on multiple platforms.
|
|
|
|
It takes care of quirks of platforms and scanners.
|
2021-05-19 20:37:30 +00:00
|
|
|
|
|
|
|
This package provides GObject wrappers around the main library.
|
|
|
|
|
2021-06-29 12:01:23 +00:00
|
|
|
%package -n libinsane_gobject-devel
|
2021-05-19 20:37:30 +00:00
|
|
|
Summary: Development files for libinsane-gobject
|
2021-06-29 12:01:23 +00:00
|
|
|
Group: Development/Libraries/Other
|
2021-05-19 20:37:30 +00:00
|
|
|
Requires: %{name}-devel >= %{version}
|
2021-05-24 12:36:35 +00:00
|
|
|
Requires: %{name}_gobject1 >= %{version}
|
2021-06-07 07:05:05 +00:00
|
|
|
Requires: typelib-1_0-Libinsane-1_0 = %{version}
|
2021-05-19 20:37:30 +00:00
|
|
|
|
2021-06-29 12:01:23 +00:00
|
|
|
%description -n libinsane_gobject-devel
|
2021-05-19 20:37:30 +00:00
|
|
|
Development libraries and header files for libinsane-gobject.
|
2021-09-20 19:58:44 +00:00
|
|
|
It also includes the vala bindings.
|
2021-05-19 20:37:30 +00:00
|
|
|
|
2021-06-07 07:05:05 +00:00
|
|
|
%package -n typelib-1_0-Libinsane-1_0
|
|
|
|
Summary: Introspection bindings for libinsane
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Libinsane-1_0
|
|
|
|
This package provides the GObject Introspection bindings for the
|
|
|
|
libinsane library.
|
|
|
|
|
2021-05-19 20:37:30 +00:00
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
2021-05-20 17:56:23 +00:00
|
|
|
%post -n libinsane1 -p /sbin/ldconfig
|
|
|
|
%postun -n libinsane1 -p /sbin/ldconfig
|
|
|
|
%post -n libinsane_gobject1 -p /sbin/ldconfig
|
|
|
|
%postun -n libinsane_gobject1 -p /sbin/ldconfig
|
2021-05-19 20:37:30 +00:00
|
|
|
|
|
|
|
%files -n libinsane1
|
|
|
|
%doc README.markdown ChangeLog
|
|
|
|
%license LICENSE
|
|
|
|
%{_libdir}/%{name}.so.1
|
|
|
|
%{_libdir}/%{name}.so.1.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc doc
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
%files -n libinsane_gobject1
|
|
|
|
%{_libdir}/%{name}_gobject.so.1
|
|
|
|
%{_libdir}/%{name}_gobject.so.1.*
|
2021-06-07 07:05:05 +00:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Libinsane-1_0
|
2021-05-19 20:37:30 +00:00
|
|
|
%{_libdir}/girepository-1.0/Libinsane-1.0.typelib
|
|
|
|
|
2021-06-29 12:01:23 +00:00
|
|
|
%files -n libinsane_gobject-devel
|
2021-05-19 20:37:30 +00:00
|
|
|
%{_includedir}/%{name}-gobject
|
|
|
|
%{_libdir}/%{name}_gobject.so
|
|
|
|
%{_datadir}/gir-1.0/Libinsane-1.0.gir
|
|
|
|
%{_datadir}/gtk-doc
|
2021-06-07 07:05:05 +00:00
|
|
|
%dir %{_datadir}/vala
|
|
|
|
%dir %{_datadir}/vala/vapi
|
2021-05-19 20:37:30 +00:00
|
|
|
%{_datadir}/vala/vapi/%{name}.deps
|
|
|
|
%{_datadir}/vala/vapi/%{name}.vapi
|
|
|
|
|
|
|
|
%changelog
|