From aec1038955bb693a12f65b9bde1d4add3ecf07fc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:00:11 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.2.15-1mamba;Sat Oct 29 2022] --- README.md | 2 + xapp.spec | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 xapp.spec diff --git a/README.md b/README.md index b665f6f..d7d9fc6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xapp +This project gathers the components which are common to multiple GTK desktop environments (Cinnamon, MATE and Xfce) and required to implement cross-DE solutions. + diff --git a/xapp.spec b/xapp.spec new file mode 100644 index 0000000..0f2f02c --- /dev/null +++ b/xapp.spec @@ -0,0 +1,111 @@ +Name: xapp +Version: 2.2.15 +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 +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: libpython3-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}/xfce4-set-wallpaper +%{_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.* +%{_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}/dbus-1/services/org.mate.panel.applet.MateXAppStatusAppletFactory.service +%{_datadir}/dbus-1/services/org.x.StatusNotifierWatcher.service +%{_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 Oct 29 2022 Silvan Calarco 2.2.15-1mamba +- package created using the webbuild interface