2024-01-06 05:18:45 +01:00
|
|
|
Name: libosinfo
|
2024-01-06 05:18:46 +01:00
|
|
|
Version: 1.2.0
|
2024-01-06 05:18:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: API for managing information about operating systems, hypervisors and virtual devices
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://libosinfo.org/
|
2024-01-06 05:18:46 +01:00
|
|
|
Source: https://releases.pagure.org/libosinfo/libosinfo-%{version}.tar.gz
|
|
|
|
#Source: https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-%{version}.tar.gz
|
2024-01-06 05:18:45 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:18:46 +01:00
|
|
|
BuildRequires: libblkid-devel
|
2024-01-06 05:18:45 +01:00
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 05:18:46 +01:00
|
|
|
BuildRequires: libmount-devel
|
|
|
|
BuildRequires: libpcre-devel
|
2024-01-06 05:18:45 +01:00
|
|
|
BuildRequires: libselinux-devel
|
2024-01-06 05:18:46 +01:00
|
|
|
BuildRequires: libsepol-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2024-01-06 05:18:45 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
libosinfo is a GObject based library API for managing information about operating systems, hypervisors and the (virtual) hardware devices they can support. It includes a database containing device metadata and provides APIs to match/identify optimal devices for deploying an operating system on a hypervisor. Via the magic of GObject Introspection, the API is available in all common programming languages with demos for javascript (GJS/Seed) and python (PyGObject). Also provided are Vala bindings.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-gtk-doc
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libosinfo-1.0.so.*
|
|
|
|
%{_libdir}/girepository-1.0/Libosinfo-1.0.typelib
|
2024-01-06 05:18:46 +01:00
|
|
|
#%dir %{_datadir}/libosinfo
|
|
|
|
#%dir %{_datadir}/libosinfo/db
|
|
|
|
#%{_datadir}/libosinfo/db/*
|
2024-01-06 05:18:45 +01:00
|
|
|
%doc AUTHORS COPYING COPYING.LIB
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libosinfo-1.0
|
|
|
|
%dir %{_includedir}/libosinfo-1.0/osinfo
|
|
|
|
%{_includedir}/libosinfo-1.0/osinfo/*.h
|
|
|
|
%{_libdir}/libosinfo-1.0.la
|
|
|
|
%{_libdir}/libosinfo-1.0.so
|
|
|
|
%{_libdir}/pkgconfig/libosinfo-1.0.pc
|
|
|
|
%{_datadir}/gir-1.0/Libosinfo-1.0.gir
|
2024-01-06 05:18:46 +01:00
|
|
|
#%{_datadir}/libosinfo/schemas/libosinfo.rng
|
2024-01-06 05:18:45 +01:00
|
|
|
%{_datadir}/vala/vapi/libosinfo-1.0.vapi
|
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:18:46 +01:00
|
|
|
#%{_bindir}/osinfo-db-validate
|
2024-01-06 05:18:45 +01:00
|
|
|
%{_bindir}/osinfo-detect
|
|
|
|
%{_bindir}/osinfo-install-script
|
|
|
|
%{_bindir}/osinfo-query
|
2024-01-06 05:18:46 +01:00
|
|
|
#%{_mandir}/man1/osinfo-db-validate.1*
|
2024-01-06 05:18:45 +01:00
|
|
|
%{_mandir}/man1/osinfo-detect.1*
|
|
|
|
%{_mandir}/man1/osinfo-install-script.1*
|
|
|
|
%{_mandir}/man1/osinfo-query.1*
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/Libosinfo
|
|
|
|
%{_datadir}/gtk-doc/html/Libosinfo/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:18:46 +01:00
|
|
|
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:18:46 +01:00
|
|
|
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:18:45 +01:00
|
|
|
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:18:45 +01:00
|
|
|
* Sun Jan 31 2016 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:18:45 +01:00
|
|
|
* Sat Jun 06 2015 Automatic Build System <autodist@mambasoft.it> 0.2.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:18:45 +01:00
|
|
|
* Fri Sep 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.11-1mamba
|
|
|
|
- package created using the webbuild interface
|