libdazzle/libdazzle.spec

102 lines
2.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: libdazzle
Version: 3.42.0
Release: 1mamba
Summary: A companion library to GObject and Gtk+
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org
Source: https://download.gnome.org/sources/libdazzle/%{majver}/libdazzle-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
%description
The libdazzle library is a companion library to GObject and Gtk+..
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#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
%find_lang %{name} --all-name --with-man
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libdazzle-1.0.so.*
%{_libdir}/girepository-1.0/Dazzle-1.0.typelib
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_bindir}/dazzle-list-counters
%dir %{_includedir}/libdazzle-1.0
%{_includedir}/libdazzle-1.0/*
%{_libdir}/libdazzle-1.0.so
%{_libdir}/pkgconfig/libdazzle-1.0.pc
%{_datadir}/gir-1.0/Dazzle-1.0.gir
%{_datadir}/vala/vapi/libdazzle-1.0.deps
%{_datadir}/vala/vapi/libdazzle-1.0.vapi
%doc NEWS README.md
%changelog
* Sun Sep 05 2021 Automatic Build System <autodist@mambasoft.it> 3.42.0-1mamba
- automatic version update by autodist
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 3.40.0-1mamba
- automatic version update by autodist
* Fri Sep 18 2020 Automatic Build System <autodist@mambasoft.it> 3.38.0-1mamba
- automatic version update by autodist
* Sun Mar 08 2020 Automatic Build System <autodist@mambasoft.it> 3.36.0-1mamba
- automatic version update by autodist
* Sun Oct 06 2019 Automatic Build System <autodist@mambasoft.it> 3.34.1-1mamba
- automatic version update by autodist
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
- automatic version update by autodist
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.32.3-1mamba
- update to 3.32.3
* Sat Nov 03 2018 Automatic Build System <autodist@mambasoft.it> 3.30.2-1mamba
- automatic version update by autodist
* Tue Oct 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.30.1-1mamba
- package created using the webbuild interface