2024-01-06 05:11:37 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 05:11:37 +01:00
|
|
|
Name: libnma
|
2024-01-06 05:11:38 +01:00
|
|
|
Version: 1.10.2
|
2024-01-06 05:11:38 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 05:11:37 +01:00
|
|
|
Summary: Network Manager Applet library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:11:38 +01:00
|
|
|
URL: https://wiki.gnome.org/
|
2024-01-06 05:11:37 +01:00
|
|
|
Source: http://ftp.acc.umu.se/pub/GNOME/sources/libnma/%{majver}/libnma-%{version}.tar.xz
|
2024-01-06 05:11:37 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcairo-devel
|
2024-01-06 05:11:38 +01:00
|
|
|
BuildRequires: libgcr3-devel
|
2024-01-06 05:11:37 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 05:11:38 +01:00
|
|
|
BuildRequires: libgtk-devel
|
2024-01-06 05:11:38 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
2024-01-06 05:11:37 +01:00
|
|
|
BuildRequires: libnm-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 05:11:37 +01:00
|
|
|
BuildRequires: libffi-devel >= 3.3
|
2024-01-06 05:11:38 +01:00
|
|
|
Obsoletes: libnm-gtk < 1.10.2
|
2024-01-06 05:11:38 +01:00
|
|
|
Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:11:37 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Network Manager Applet library.
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
%package common
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Network Manager Applet library (common files)
|
|
|
|
|
|
|
|
%description common
|
|
|
|
Network Manager Applet library (common files).
|
|
|
|
|
|
|
|
%package gtk4
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Network Manager Applet library (GTK4)
|
|
|
|
Requires: %{name}-common = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description gtk4
|
|
|
|
Network Manager Applet library (GTK4).
|
|
|
|
|
2024-01-06 05:11:37 +01:00
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:11:38 +01:00
|
|
|
Requires: %{name}-gtk4 = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:11:37 +01:00
|
|
|
Requires: pkg-config
|
2024-01-06 05:11:38 +01:00
|
|
|
Obsoletes: libnm-gtk-devel < 1.10.2
|
2024-01-06 05:11:37 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{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
|
2024-01-06 05:11:38 +01:00
|
|
|
%meson \
|
|
|
|
-Dlibnma_gtk4=true
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 05:11:37 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:11:38 +01:00
|
|
|
%meson_install
|
2024-01-06 05:11:37 +01:00
|
|
|
|
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post gtk4 -p /sbin/ldconfig
|
|
|
|
%postun gtk4 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post common
|
2024-01-06 05:11:37 +01:00
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
%postun common
|
2024-01-06 05:11:37 +01:00
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
%files common -f %{name}.lang
|
2024-01-06 05:11:37 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
|
|
|
|
%doc COPYING
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libnma.so.*
|
|
|
|
%{_libdir}/girepository-1.0/NMA-1.0.typelib
|
|
|
|
|
|
|
|
%files gtk4
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libnma-gtk4.so.*
|
|
|
|
%{_libdir}/girepository-1.0/NMA4-1.0.typelib
|
|
|
|
|
2024-01-06 05:11:37 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libnma
|
|
|
|
%{_includedir}/libnma/nma*.h
|
|
|
|
%{_libdir}/libnma.so
|
2024-01-06 05:11:38 +01:00
|
|
|
%{_libdir}/libnma-gtk4.so
|
2024-01-06 05:11:37 +01:00
|
|
|
%{_datadir}/gir-1.0/NMA-1.0.gir
|
2024-01-06 05:11:38 +01:00
|
|
|
%{_datadir}/gir-1.0/NMA4-1.0.gir
|
2024-01-06 05:11:37 +01:00
|
|
|
%{_datadir}/vala/vapi/libnma.deps
|
|
|
|
%{_datadir}/vala/vapi/libnma.vapi
|
2024-01-06 05:11:38 +01:00
|
|
|
%{_datadir}/vala/vapi/libnma-gtk4.deps
|
|
|
|
%{_datadir}/vala/vapi/libnma-gtk4.vapi
|
|
|
|
%{_libdir}/pkgconfig/libnma.pc
|
|
|
|
%{_libdir}/pkgconfig/libnma-gtk4.pc
|
2024-01-06 05:11:37 +01:00
|
|
|
%doc NEWS
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/libnma
|
|
|
|
%{_datadir}/gtk-doc/html/libnma/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:11:38 +01:00
|
|
|
* Thu Nov 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.2-2mamba
|
|
|
|
- rebuilt with gtk4 subpackage
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
* Thu Jun 16 2022 Automatic Build System <autodist@mambasoft.it> 1.8.40-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
* Thu Apr 07 2022 Automatic Build System <autodist@mambasoft.it> 1.8.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
* Fri Mar 25 2022 Automatic Build System <autodist@mambasoft.it> 1.8.36-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
* Thu Jan 20 2022 Automatic Build System <autodist@mambasoft.it> 1.8.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:38 +01:00
|
|
|
* Fri Aug 20 2021 Automatic Build System <autodist@mambasoft.it> 1.8.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:37 +01:00
|
|
|
* Thu Jun 25 2020 Automatic Build System <autodist@mambasoft.it> 1.8.30-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:11:37 +01:00
|
|
|
* Thu Apr 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.28-2mamba
|
|
|
|
- rebuilt with libffi 3.3
|
|
|
|
|
2024-01-06 05:11:37 +01:00
|
|
|
* Fri Mar 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.28-1mamba
|
|
|
|
- package created using the webbuild interface
|