72 lines
1.8 KiB
RPMSpec
72 lines
1.8 KiB
RPMSpec
|
Name: libdex
|
||
|
Version: 0.4.2
|
||
|
Release: 1mamba
|
||
|
Summary: Future-based programming for GLib-based applications
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://gitlab.gnome.org/GNOME/libdex
|
||
|
Source: https://gitlab.gnome.org/GNOME/libdex.git/%{version}/libdex-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libatomic-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: meson
|
||
|
|
||
|
%description
|
||
|
Dex provides Future-based programming for GLib-based applications.
|
||
|
|
||
|
%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}.
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%meson
|
||
|
%meson_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%meson_install
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libdex-1.so.*
|
||
|
%{_libdir}/girepository-1.0/Dex-1.typelib
|
||
|
%doc COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libdex-1
|
||
|
%{_includedir}/libdex-1/*.h
|
||
|
%{_libdir}/libdex-1.so
|
||
|
%{_datadir}/gir-1.0/Dex-1.gir
|
||
|
%{_datadir}/vala/vapi/libdex-1.deps
|
||
|
%{_datadir}/vala/vapi/libdex-1.vapi
|
||
|
%{_libdir}/pkgconfig/libdex-1.pc
|
||
|
%doc NEWS README.md
|
||
|
|
||
|
%changelog
|
||
|
* Tue Jan 09 2024 Automatic Build System <autodist@openmamba.org> 0.4.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Dec 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
|
||
|
- package created using the webbuild interface
|