libgedit-tepl/libgedit-tepl.spec

85 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: libgedit-tepl
Version: 6.10.0
Release: 1mamba
Summary: A library that eases the development of text editors and IDEs based on GTK
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.gnome.org/World/gedit/libgedit-tepl
Source: https://gitlab.gnome.org/World/gedit/libgedit-tepl.git/%{version}/libgedit-tepl-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: libamtk-devel
BuildRequires: libcairo-devel
BuildRequires: libgedit-gfls-devel
BuildRequires: libgedit-gtksourceview-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libhandy-devel
BuildRequires: libicu-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
Provides: libtepl
Obsoletes: libtepl < 6.10.0
BuildRequires: meson
%description
libgedit-tepl is part of Gedit Technology.
It is a library that eases the development of text editors and IDEs based on GTK.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libtepl-devel
Obsoletes: libtepl-devel < 6.10.0
%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 || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libgedit-tepl-6.so.*
%{_libdir}/girepository-1.0/Tepl-6.typelib
%doc LICENSES
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libgedit-tepl-6
%dir %{_includedir}/libgedit-tepl-6/tepl
%{_includedir}/libgedit-tepl-6/tepl/*
%{_libdir}/libgedit-tepl-6.so
%{_datadir}/gir-1.0/Tepl-6.gir
%{_libdir}/pkgconfig/libgedit-tepl-6.pc
%dir %{_datadir}/gtk-doc/html/libgedit-tepl-6
%{_datadir}/gtk-doc/html/libgedit-tepl-6/*
%doc NEWS README.md
%changelog
* Sun Jul 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.10.0-1mamba
- package created using the webbuild interface