xapp/xapp.spec

139 lines
4.5 KiB
RPMSpec
Raw Normal View History

Name: xapp
Version: 2.8.3
Release: 1mamba
Summary: Cross-desktop libraries and common resources for multiple GTK desktop environments (Cinnamon, MATE and Xfce)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/linuxmint/xapp
Source: https://github.com/linuxmint/xapp.git/%{version}/xapp-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libcairo-devel
BuildRequires: libdbusmenu-gtk3-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgnomekbd-devel
BuildRequires: libgtk3-devel
BuildRequires: libpango-devel
BuildRequires: libpython311-devel
BuildRequires: libxkbfile-devel
## AUTOBUILDREQ-END
BuildRequires: scons
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
This project gathers the components which are common to multiple GTK desktop environments (Cinnamon, MATE and Xfce) and required to implement cross-DE solutions.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-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} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/X11/xinit/xinitrc.d/80xapp-gtk3-module.sh
%{_sysconfdir}/xdg/autostart/xapp-sn-watcher.desktop
%{_bindir}/pastebin
%{_bindir}/upload-system-info
%{_bindir}/xapp-gpu-offload
%{_bindir}/xfce4-set-wallpaper
%{_datadir}/dbus-1/services/org.mate.panel.applet.MateXAppStatusAppletFactory.service
%{_datadir}/dbus-1/services/org.x.StatusNotifierWatcher.service
%{_datadir}/glade/catalogs/xapp-glade-catalog.xml
%{_datadir}/glib-2.0/schemas/org.x.apps.gschema.xml
%{_datadir}/icons/hicolor/scalable/actions/*.svg
%{_datadir}/icons/hicolor/scalable/apps/xapp-*.svg
%{_datadir}/icons/hicolor/scalable/categories/xapp-prefs-*.svg
%{_datadir}/icons/hicolor/scalable/emblems/emblem-xapp-favorite.svg
%{_datadir}/icons/hicolor/scalable/places/xapp-user-*.svg
%{_datadir}/mate-panel/applets/org.x.MateXAppStatusApplet.mate-panel-applet
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libxapp.so.*
%dir %{_libdir}/xapps
%{_libdir}/xapps/xapp-sn-watcher
%{_libdir}/gtk-3.0/modules/libxapp-gtk3-module.so
%{_libdir}/girepository-1.0/XApp-1.0.typelib
%dir %{_libexecdir}/xapps
%{_libexecdir}/xapps/*
%{python3_sitearch}/gi/overrides/XApp.py
%doc AUTHORS COPYING COPYING.LESSER
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/xapp
%dir %{_includedir}/xapp/libxapp
%{_includedir}/xapp/libxapp/*.h
%{_libdir}/libxapp.so
%{_datadir}/gir-1.0/XApp-1.0.gir
%{_datadir}/vala/vapi/xapp.deps
%{_datadir}/vala/vapi/xapp.vapi
%{_libdir}/pkgconfig/xapp.pc
%doc ChangeLog README.md
%changelog
* Sat Jun 08 2024 Automatic Build System <autodist@openmamba.org> 2.8.3-1mamba
- automatic version update by autodist
* Fri Jan 05 2024 Automatic Build System <autodist@openmamba.org> 2.8.2-1mamba
- automatic version update by autodist
* Mon Dec 04 2023 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic version update by autodist
* Wed Nov 22 2023 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
- automatic version update by autodist
* Sun Jun 18 2023 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic version update by autodist
* Wed Mar 29 2023 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic version update by autodist
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic version update by autodist
* Sun Nov 20 2022 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Sat Oct 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.15-1mamba
- package created using the webbuild interface