92 lines
2.5 KiB
RPMSpec
92 lines
2.5 KiB
RPMSpec
|
Name: libadwaita
|
||
|
Version: 1.0.4
|
||
|
Release: 1mamba
|
||
|
Summary: Building blocks for modern GNOME applications
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://gitlab.gnome.org/GNOME/libadwaita/
|
||
|
Source: https://gitlab.gnome.org/GNOME/libadwaita.git/%{version}/libadwaita-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libfribidi-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgraphene-devel
|
||
|
BuildRequires: libgtk-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: scons
|
||
|
|
||
|
%description
|
||
|
Building blocks for modern GNOME 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}.
|
||
|
|
||
|
%package tools
|
||
|
Group: Graphical Desktop/Applications/Development
|
||
|
Summary: Utility applications for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description tools
|
||
|
This package contains utility applications for %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%meson
|
||
|
%meson_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%meson_install
|
||
|
|
||
|
%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}/libadwaita-1.so.*
|
||
|
%{_libdir}/girepository-1.0/Adw-1.typelib
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libadwaita-1
|
||
|
%{_includedir}/libadwaita-1/*.h
|
||
|
%{_libdir}/libadwaita-1.so
|
||
|
%{_datadir}/gir-1.0/Adw-1.gir
|
||
|
%{_datadir}/vala/vapi/libadwaita-1.deps
|
||
|
%{_datadir}/vala/vapi/libadwaita-1.vapi
|
||
|
%{_libdir}/pkgconfig/libadwaita-1.pc
|
||
|
%doc NEWS README.md
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/adwaita-1-demo
|
||
|
%{_datadir}/applications/org.gnome.Adwaita1.Demo.desktop
|
||
|
%{_datadir}/metainfo/org.gnome.Adwaita1.Demo.metainfo.xml
|
||
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Adwaita1.Demo.svg
|
||
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Adwaita1.Demo-symbolic.svg
|
||
|
|
||
|
%changelog
|
||
|
* Mon May 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
|
||
|
- package created using the webbuild interface
|