diff --git a/anda/desktops/elementary/granite-7/granite-7.spec b/anda/desktops/elementary/granite-7/granite-7.spec index bf2fb2103c..acabaee0e2 100644 --- a/anda/desktops/elementary/granite-7/granite-7.spec +++ b/anda/desktops/elementary/granite-7/granite-7.spec @@ -26,6 +26,7 @@ BuildRequires: pkgconfig(gobject-2.0) >= 2.50 BuildRequires: pkgconfig(gtk+-3.0) >= 3.22 BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(gtk4) >= 4.4 +BuildRequires: sassc # granite relies on org.gnome.desktop.interface for the clock-format setting Requires: gsettings-desktop-schemas @@ -64,7 +65,7 @@ This package contains the development headers. %dnl %{buildroot}/%{_datadir}/applications/io.elementary.granite-7.demo.desktop %dnl appstream-util validate-relax --nonet \ -%dnl %{buildroot}/%{_datadir}/metainfo/granite-7.appdata.xml +%dnl %{buildroot}/%{_datadir}/metainfo/granite-7.metainfo.xml %files -f granite-7.lang @@ -75,7 +76,7 @@ This package contains the development headers. %{_libdir}/libgranite-7.so.7.* %{_libdir}/girepository-1.0/Granite-7.0.typelib -%{_datadir}/metainfo/granite-7.appdata.xml +%{_datadir}/metainfo/granite-7.metainfo.xml %{_datadir}/icons/hicolor/*/apps/io.elementary.granite-7.svg diff --git a/anda/desktops/elementary/switchboard-plug-datetime/anda.hcl b/anda/desktops/elementary/switchboard-plug-datetime/anda.hcl new file mode 100644 index 0000000000..3502e43d9f --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-datetime/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-datetime.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-datetime/switchboard-plug-datetime.spec b/anda/desktops/elementary/switchboard-plug-datetime/switchboard-plug-datetime.spec new file mode 100644 index 0000000000..e4d8fc9e3a --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-datetime/switchboard-plug-datetime.spec @@ -0,0 +1,68 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-datetime + +%global plug_type system +%global plug_name datetime +%global plug_rdnn io.elementary.switchboard.datetime + +Name: switchboard-plug-datetime +Summary: Switchboard Date & Time Plug +Version: 2.2.0 +Release: 1%{?dist} +License: GPL-3.0-or-later + +URL: https://github.com/elementary/switchboard-plug-datetime +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala + +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: switchboard-devel + +Requires: switchboard%{?_isa} +Supplements: switchboard%{?_isa} + +%description +%summary. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{plug_name}-plug + +# remove the specified stock icon from appdata (invalid in libappstream-glib) +sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + + +%check +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + + +%files -f %{plug_name}-plug.lang +%doc README.md +%license COPYING + +%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so + +%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + + +%changelog +* Tue Jun 13 2023 windowsboy111 - 2.2.0-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-datetime/update.rhai b/anda/desktops/elementary/switchboard-plug-datetime/update.rhai new file mode 100644 index 0000000000..903b7394d9 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-datetime/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-datetime")); diff --git a/anda/desktops/elementary/switchboard-plug-locale/anda.hcl b/anda/desktops/elementary/switchboard-plug-locale/anda.hcl new file mode 100644 index 0000000000..de83677c02 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-locale/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-locale.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-locale/switchboard-plug-locale.spec b/anda/desktops/elementary/switchboard-plug-locale/switchboard-plug-locale.spec new file mode 100644 index 0000000000..8c4a31988f --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-locale/switchboard-plug-locale.spec @@ -0,0 +1,70 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-locale + +%global plug_type personal +%global plug_name locale +%global plug_rdnn io.elementary.switchboard.locale + +Name: switchboard-plug-locale +Summary: Switchboard Locale Plug +Version: 2.5.9 +Release: 1%?dist +License: LGPL-3.0-or-later + +URL: https://github.com/elementary/%name +Source0: %url/archive/%version/%srcname-%version.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.46.1 +BuildRequires: vala + +BuildRequires: pkgconfig(accountsservice) +BuildRequires: pkgconfig(ibus-1.0) +BuildRequires: pkgconfig(gnome-desktop-3.0) +BuildRequires: pkgconfig(granite) +BuildRequires: polkit-devel +BuildRequires: switchboard-devel + +Requires: switchboard%?_isa +Supplements: switchboard%?_isa + +%description +%summary. + +%prep +%autosetup -n %srcname-%version -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %plug_name-plug + + +%check +appstream-util validate-relax --nonet \ + %buildroot/%_datadir/metainfo/%plug_rdnn.appdata.xml + + +%files -f %plug_name-plug.lang +%doc README.md +%license COPYING + +%_libdir/switchboard/%plug_type/lib%plug_name-plug.so +%_libdir/switchboard/personal/pantheon-locale/languagelist +%_libdir/switchboard/personal/pantheon-locale/packages_blacklist +%_datadir/glib-2.0/schemas/%plug_rdnn.gschema.xml +%_datadir/polkit-1/actions/%plug_rdnn.policy + +%_datadir/metainfo/%plug_rdnn.appdata.xml + +%changelog +* Tue Jun 13 2023 windowsboy111 - 2.5.9-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-locale/update.rhai b/anda/desktops/elementary/switchboard-plug-locale/update.rhai new file mode 100644 index 0000000000..e30fa05d25 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-locale/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-locale")); diff --git a/anda/desktops/elementary/switchboard-plug-parental-controls/anda.hcl b/anda/desktops/elementary/switchboard-plug-parental-controls/anda.hcl new file mode 100644 index 0000000000..17fa5e5bdb --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-parental-controls/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-parental-controls.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-parental-controls/switchboard-plug-parental-controls.spec b/anda/desktops/elementary/switchboard-plug-parental-controls/switchboard-plug-parental-controls.spec new file mode 100644 index 0000000000..f637e84cea --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-parental-controls/switchboard-plug-parental-controls.spec @@ -0,0 +1,83 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-parental-controls + +%global plug_type system +%global plug_name parental-controls +%global plug_rdnn io.elementary.switchboard.parental-controls + +Name: switchboard-plug-parental-controls +Summary: Switchboard Screen Time & Limits Plug +Version: 6.0.1 +Release: 1%?dist +License: GPL-3.0-or-later + +URL: https://github.com/elementary/%name +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.46.1 +BuildRequires: vala + +BuildRequires: pkgconfig(accountsservice) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(flatpak) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(libhandy-1) >= 0.90.0 +BuildRequires: pkgconfig(malcontent-0) +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: polkit-devel +BuildRequires: switchboard-devel + +Requires: switchboard%{?_isa} +Supplements: switchboard%{?_isa} + +%description +%summary. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{plug_name}-plug + +# remove the specified stock icon from appdata (invalid in libappstream-glib) +sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + + +%check +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + + +%files -f %{plug_name}-plug.lang +%doc README.md +%license COPYING + +%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so + +%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + +%_sysconfdir/pantheon-parental-controls/daemon.conf +%_bindir/pantheon-parental-controls-daemon +%_libexecdir/pantheon-parental-controls-client +%_datadir/applications/pantheon-parental-controls-client.desktop +%_datadir/dbus-1/system-services/org.pantheon.ParentalControls.service +%_datadir/dbus-1/system.d/org.pantheon.ParentalControls.conf +%_datadir/polkit-1/actions/io.elementary.switchboard.screentime-limits.policy +/usr/lib/systemd/system/pantheon-parental-controls.service + +%changelog +* Tue Jun 13 2023 windowsboy111 - 6.0.1-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-parental-controls/update.rhai b/anda/desktops/elementary/switchboard-plug-parental-controls/update.rhai new file mode 100644 index 0000000000..d6839d638a --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-parental-controls/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-parental-controls")); diff --git a/anda/desktops/elementary/switchboard-plug-power/anda.hcl b/anda/desktops/elementary/switchboard-plug-power/anda.hcl new file mode 100644 index 0000000000..0f912d985d --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-power/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-power.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-power/switchboard-plug-power.spec b/anda/desktops/elementary/switchboard-plug-power/switchboard-plug-power.spec new file mode 100644 index 0000000000..a4bf14faf4 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-power/switchboard-plug-power.spec @@ -0,0 +1,74 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-power + +%global plug_type hardware +%global plug_name power +%global plug_rdnn io.elementary.switchboard.power + +Name: switchboard-plug-power +Summary: Switchboard Power Plug +Version: 2.7.0 +Release: 1%?dist +License: GPL-2.0-or-later + +URL: https://github.com/elementary/%name +Source0: %url/archive/%version/%srcname-%version.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala + +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: polkit-devel +BuildRequires: switchboard-devel + +Requires: switchboard%?_isa +Supplements: switchboard%?_isa + +%description +%summary. + +%prep +%autosetup -n %srcname-%version -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %plug_name-plug + +# remove the specified stock icon from appdata (invalid in libappstream-glib) +sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + + +%check +appstream-util validate-relax --nonet \ + %buildroot/%_datadir/metainfo/%plug_rdnn.appdata.xml + + +%files -f %plug_name-plug.lang +%doc README.md +%license COPYING + +%_libdir/switchboard/%plug_type/lib%plug_name.so + +%_datadir/metainfo/%plug_rdnn.appdata.xml + +%_libexecdir/io.elementary.logind.helper +%_datadir/dbus-1/system-services/io.elementary.logind.helper.service +%_datadir/dbus-1/system.d/io.elementary.logind.helper.conf +%_datadir/polkit-1/actions/%plug_rdnn.policy + + +%changelog +* Tue Jun 13 2023 windowsboy111 - 2.7.0-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-power/update.rhai b/anda/desktops/elementary/switchboard-plug-power/update.rhai new file mode 100644 index 0000000000..84455254aa --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-power/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-power")); diff --git a/anda/desktops/elementary/switchboard-plug-security-privacy/anda.hcl b/anda/desktops/elementary/switchboard-plug-security-privacy/anda.hcl new file mode 100644 index 0000000000..28a9e799bf --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-security-privacy/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-security-privacy.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-security-privacy/switchboard-plug-security-privacy.spec b/anda/desktops/elementary/switchboard-plug-security-privacy/switchboard-plug-security-privacy.spec new file mode 100644 index 0000000000..1ee65a570c --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-security-privacy/switchboard-plug-security-privacy.spec @@ -0,0 +1,71 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-security-privacy + +%global plug_type personal +%global plug_name security-privacy +%global plug_rdnn io.elementary.switchboard.security-privacy + +Name: switchboard-plug-security-privacy +Summary: Switchboard Security & Privacy Plug +Version: 7.0.0 +Release: 1%?dist +License: GPL-3.0-or-later + +URL: https://github.com/elementary/%name +Source0: %url/archive/%version/%srcname-%version.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: vala + +BuildRequires: granite-devel +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(switchboard-2.0) +BuildRequires: pkgconfig(zeitgeist-2.0) +BuildRequires: meson >= 0.46.1 +BuildRequires: polkit-devel + +Requires: switchboard%{?_isa} + +Supplements: switchboard%{?_isa} + +%description +%summary. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{plug_name}-plug + + +%check +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml + + +%files -f %{plug_name}-plug.lang +%doc README.md +%license COPYING + +%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so + +%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml + +%_libdir/switchboard/personal/security-privacy-plug-helper +%_datadir/glib-2.0/schemas/%plug_rdnn.gschema.xml +%_datadir/polkit-1/actions/%plug_rdnn.policy + +%changelog +* Tue Jun 13 2023 windowsboy111 - 7.0.0-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-security-privacy/update.rhai b/anda/desktops/elementary/switchboard-plug-security-privacy/update.rhai new file mode 100644 index 0000000000..6c5ca7a5dd --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-security-privacy/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-security-privacy")); diff --git a/anda/desktops/elementary/switchboard-plug-useraccounts/anda.hcl b/anda/desktops/elementary/switchboard-plug-useraccounts/anda.hcl new file mode 100644 index 0000000000..cb8534c6b4 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-useraccounts/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-useraccounts.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-useraccounts/switchboard-plug-useraccounts.spec b/anda/desktops/elementary/switchboard-plug-useraccounts/switchboard-plug-useraccounts.spec new file mode 100644 index 0000000000..82b61fd59f --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-useraccounts/switchboard-plug-useraccounts.spec @@ -0,0 +1,72 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-useraccounts + +%global plug_type system +%global plug_name useraccounts +%global plug_rdnn io.elementary.switchboard.useraccounts + +Name: switchboard-plug-useraccounts +Summary: Switchboard User Accounts Plug +Version: 2.4.3 +Release: 1%?dist +License: LGPL-3.0-or-later + +URL: https://github.com/elementary/%name +Source0: %url/archive/%version/%srcname-%version.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.46.1 +BuildRequires: vala + +BuildRequires: pkgconfig(accountsservice) +BuildRequires: gobject-introspection-devel +BuildRequires: gnome-desktop3-devel +BuildRequires: pkgconfig(granite) >= 0.5 +BuildRequires: pkgconfig(libhandy-1) >= 0.90.0 +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(pwquality) +BuildRequires: polkit-devel +BuildRequires: gtk3-devel +BuildRequires: switchboard-devel + +Requires: switchboard%?_isa +Supplements: switchboard%?_isa + +%description +%summary. + +%prep +%autosetup -n %srcname-%version -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %plug_name-plug + + +%check +appstream-util validate-relax --nonet \ + %buildroot/%_datadir/metainfo/%plug_rdnn.appdata.xml + + +%files -f %plug_name-plug.lang +%doc README.md +%license COPYING + +%_libdir/switchboard/%plug_type/lib%plug_name.so +%_libdir/switchboard/system/pantheon-useraccounts/guest-session-toggle +%_datadir/metainfo/%plug_rdnn.appdata.xml +%_datadir/polkit-1/actions/%plug_rdnn.policy + + +%changelog +* Tue Jun 13 2023 windowsboy111 - 2.4.3-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-useraccounts/update.rhai b/anda/desktops/elementary/switchboard-plug-useraccounts/update.rhai new file mode 100644 index 0000000000..752b63bffc --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-useraccounts/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-useraccounts")); diff --git a/anda/desktops/elementary/switchboard-plug-wacom/anda.hcl b/anda/desktops/elementary/switchboard-plug-wacom/anda.hcl new file mode 100644 index 0000000000..5c342ad769 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wacom/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-wacom.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-wacom/switchboard-plug-wacom.spec b/anda/desktops/elementary/switchboard-plug-wacom/switchboard-plug-wacom.spec new file mode 100644 index 0000000000..50d1bebff6 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wacom/switchboard-plug-wacom.spec @@ -0,0 +1,66 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-wacom + +%global plug_type hardware +%global plug_name wacom +%global plug_rdnn io.elementary.switchboard.wacom + +Name: switchboard-plug-wacom +Summary: Switchboard Wacom Plug +Version: 1.0.1 +Release: 1%?dist +License: GPL-3.0-or-later + +URL: https://github.com/elementary/%name +Source0: %url/archive/%version/%srcname-%version.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.46.1 +BuildRequires: vala + +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(libwacom) +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xi) +BuildRequires: switchboard-devel + +Requires: switchboard%{?_isa} +Supplements: switchboard%{?_isa} + +%description +%summary. + +%prep +%autosetup -n %srcname-%version -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{plug_name}-plug + + +%check +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + + +%files -f %{plug_name}-plug.lang +%doc README.md +%license COPYING + +%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so + +%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + +%changelog +* Tue Jun 13 2023 windowsboy111 - 1.0.1-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-wacom/update.rhai b/anda/desktops/elementary/switchboard-plug-wacom/update.rhai new file mode 100644 index 0000000000..8811ce68e8 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wacom/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-wacom")); diff --git a/anda/desktops/elementary/switchboard-plug-wallet/anda.hcl b/anda/desktops/elementary/switchboard-plug-wallet/anda.hcl new file mode 100644 index 0000000000..d57cb1789a --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wallet/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-wallet.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-wallet/switchboard-plug-wallet.spec b/anda/desktops/elementary/switchboard-plug-wallet/switchboard-plug-wallet.spec new file mode 100644 index 0000000000..80dcaaa18b --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wallet/switchboard-plug-wallet.spec @@ -0,0 +1,60 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-wallet + +%global plug_type personal +%global plug_name wallet +%global plug_rdnn io.elementary.switchboard.wallet + +%global commit bfe73dfb95d9b46a0a34e0db35a178233c8552b0 + +Name: switchboard-plug-wallet +Summary: Switchboard Wallet Plug +Version: %(c=%commit; echo ${c:0:7}) +Release: 1%?dist +License: GPL-3.0-or-later + +URL: https://github.com/elementary/%name +Source0: %url/archive/%version/%srcname-%version.tar.gz + +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala + +BuildRequires: pkgconfig(granite) >= 0.5 +BuildRequires: gtk3-devel +BuildRequires: pkgconfig(libsecret-1) +BuildRequires: switchboard-devel + +Requires: switchboard%{?_isa} +Supplements: switchboard%{?_isa} + +%description +Manage Payment Methods and related settings. + + +%prep +%autosetup -n %srcname-%commit -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%files +%doc README.md +%license COPYING + +%_libdir/switchboard/%plug_type/lib%plug_rdnn.so +%_datadir/icons/hicolor/*/apps/%plug_rdnn.svg +%_datadir/locale/*/LC_MESSAGES/%plug_rdnn.mo + + +%changelog +* Tue Jun 13 2023 windowsboy111 - bfe73dfb95d9b46a0a34e0db35a178233c8552b0-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-wallet/update.rhai b/anda/desktops/elementary/switchboard-plug-wallet/update.rhai new file mode 100644 index 0000000000..a125200846 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wallet/update.rhai @@ -0,0 +1,3 @@ +let req = new_req("https://api.github.com/repos/elementary/switchboard-plug-wallet/commits/HEAD"); +req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); +rpm.global("commit", json(req.get()).sha); diff --git a/anda/desktops/golang-github-fyshos-fynedesk/anda.hcl b/anda/desktops/golang-github-fyshos-fynedesk/anda.hcl new file mode 100644 index 0000000000..7c7bc414cd --- /dev/null +++ b/anda/desktops/golang-github-fyshos-fynedesk/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "golang-github-fyshos-fynedesk.spec" + } +} diff --git a/anda/desktops/golang-github-fyshos-fynedesk/golang-github-fyshos-fynedesk.spec b/anda/desktops/golang-github-fyshos-fynedesk/golang-github-fyshos-fynedesk.spec new file mode 100644 index 0000000000..6695c89802 --- /dev/null +++ b/anda/desktops/golang-github-fyshos-fynedesk/golang-github-fyshos-fynedesk.spec @@ -0,0 +1,75 @@ +# Generated by go2rpm 1.9.0 +%bcond_with check + +%global debug_package %{nil} + +# https://github.com/FyshOS/fynedesk +%global goipath github.com/FyshOS/fynedesk +Version: 0.3.0 + +%gometa -f + + +%global common_description %{expand: +A full desktop environment for Linux/Unix using Fyne.} + +%global golicenses LICENSE +%global godocs AUTHORS README.md CHANGELOG.md + +Name: %{goname} +Release: %autorelease +Summary: A full desktop environment for Linux/Unix using Fyne + +License: BSD-3-Clause +URL: %{gourl} +Source: %{gosource} +BuildRequires: git +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: xorg-x11-server-devel +BuildRequires: libXxf86vm-devel +BuildRequires: pkgconfig(gl) + +%description %{common_description} + +%gopkg + +Requires: arandr +Requires: xbacklight +Requires: network-manager-applet +BuildRequires: make +BuildRequires: golang + +%prep +%goprep +%autopatch -p1 + +%generate_buildrequires +#%%go_generate_buildrequires + +%build +%make_build + +%install +%gopkginstall +install -m 0755 -vd %{buildroot}%{_bindir} +%make_install + +%if %{with check} +%check +%gocheck +%endif + +%files +%license LICENSE +%doc AUTHORS README.md CHANGELOG.md +%{_bindir}/* +%{_datadir}/xsessions/fynedesk.desktop + +%gopkgfiles + +%changelog +%autochangelog diff --git a/anda/lib/deviceinfo/deviceinfo.spec b/anda/lib/deviceinfo/deviceinfo.spec index 517ef214ee..202fefd04a 100644 --- a/anda/lib/deviceinfo/deviceinfo.spec +++ b/anda/lib/deviceinfo/deviceinfo.spec @@ -3,7 +3,7 @@ %forgemeta Name: deviceinfo -Version: 0.1.1 +Version: 0.2.0 Release: %autorelease Summary: Library to detect and configure devices License: GPLv3+ diff --git a/anda/others/sass/sass.spec b/anda/others/sass/sass.spec index 10c3ba7135..18d313d51f 100644 --- a/anda/others/sass/sass.spec +++ b/anda/others/sass/sass.spec @@ -12,7 +12,7 @@ URL: https://sass-lang.com/dart-sass Source0: https://github.com/sass/dart-sass/archive/refs/tags/%{version}.tar.gz -BuildRequires: dart +BuildRequires: dart git %description Dart Sass is the primary implementation of Sass, which means it gets new features before any other implementation. It's fast, easy to install, and it compiles to pure JavaScript which makes it easy to integrate into modern web development workflows. @@ -22,6 +22,12 @@ Dart Sass is the primary implementation of Sass, which means it gets new feature /usr/bin/dart pub get %build +# first install `buf` +curl -sSL "https://github.com/bufbuild/buf/releases/download/v1.21.0/buf-$(uname -s)-$(uname -m)" -o buf +chmod +x buf +cp buf /bin/ # this is stupid but maybe it works and I can finally die "piecefully" + +dart run grinder protobuf dart compile exe ./bin/sass.dart -o sass %install diff --git a/anda/tools/blueprint-compiler/anda.hcl b/anda/tools/blueprint-compiler/anda.hcl new file mode 100644 index 0000000000..9c2d16591f --- /dev/null +++ b/anda/tools/blueprint-compiler/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "terra-blueprint-compiler.spec" + } +} diff --git a/anda/tools/blueprint-compiler/terra-blueprint-compiler.spec b/anda/tools/blueprint-compiler/terra-blueprint-compiler.spec new file mode 100644 index 0000000000..9d7b88bd38 --- /dev/null +++ b/anda/tools/blueprint-compiler/terra-blueprint-compiler.spec @@ -0,0 +1,44 @@ +Name: terra-blueprint-compiler +Version: 0.8.1 +Release: 1%{?dist} +License: LGPL-3.0-or-later +Summary: Markup language for GTK user interfaces +URL: https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/ +Source0: https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v%version/blueprint-compiler-v%version.tar.gz +BuildArch: noarch +BuildRequires: meson gtk4-devel python3-devel python3-gobject-devel +Requires: python3-gobject-devel + +%description +GtkBuilder XML format is quite verbose, and many app developers don't like +using WYSIWYG editors for creating UIs. Blueprint files are intended to be a +concise, easy-to-read format that makes it easier to create and edit GTK UIs. +Internally, it compiles to GtkBuilder XML as part of an app's build system. It +adds no new features, just makes the features that exist more accessible. +Another goal is to have excellent developer tooling--including a language +server--so that less knowledge of the format is required. Hopefully this will +increase adoption of cool advanced features like GtkExpression. + +%prep +%autosetup -n blueprint-compiler-v%version + +%build +%meson +%meson_build + +%install +%meson_install + +#check +#meson_test + +%files +%doc README.md docs/*.rst +%license COPYING +%_bindir/blueprint-compiler +%python3_sitelib/blueprintcompiler +%_datadir/pkgconfig/blueprint-compiler.pc + +%changelog +* Tue Jun 13 2023 windowsboy111 - 0.8.0-1 +- Initial package diff --git a/anda/tools/blueprint-compiler/update.rhai b/anda/tools/blueprint-compiler/update.rhai new file mode 100644 index 0000000000..b5fcd944e6 --- /dev/null +++ b/anda/tools/blueprint-compiler/update.rhai @@ -0,0 +1,2 @@ +let txt = get("https://gitlab.gnome.org/api/v4/projects/17669/releases/"); +rpm.version(txt.json_arr()[0].tag_name);