mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 01:21:57 +00:00
9bbe91be03
* fix(lint): prismlauncher* fluent-icon-theme * fix(lint): fix lints for 6 packages (#578) * fix(lint): fix rpmlint lints for youki package * fix(lint): fix rpmlint lints for xdg-desktop-portal-pantheon * fix(lint): fix rpmlint lints for wingpanel package * fix(lint): fix rpmlint lints for wingpanel-indicator-sound package * fix(lint): fix rpmlint lints for wingpanel-indicator-session package * fix(lint): fix rpmlint lints for wingpanel-indicator-power package * fix(lint): * * fix random typos * feat: revert anda/desktops * fix: armcord-bin authy blahaj * fix: ... anki authy discord~ aya~sound groovy kotlin libappimage qt5-pim * fix: ... qdjango moby-buildx nim-nightly nim system76-scheduler unity-scope-home kondo pop-launcher fuc graalvm vala-lint-nightly * fix: armcord-bin authy blahaj groovy * fix: ... libappimage moby0buildx nim-nightly nim system76-scheduler subatomic * fix blahaj * fix: kondo * fix: libappimage moby-buildx system76-scheduler nim-nightly * fix: subatomic * fix: subatomic * fix: nim * Update anki.spec Signed-off-by: madomado <wboy111@outlook.com> * fix: libappimage nim-nightly * fix: moby-buildx subatomic * fix: moby-buildx subatomic --------- Signed-off-by: madomado <wboy111@outlook.com> Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
55 lines
1.5 KiB
RPMSpec
55 lines
1.5 KiB
RPMSpec
%define _ubuntu_rel 1ubuntu1
|
|
|
|
Name: unity-session
|
|
Summary: Lightdm profile for Unity 7
|
|
Version: 44.0
|
|
Release: 1%{?dist}
|
|
|
|
License: GPL-2.0
|
|
URL: https://packages.ubuntu.com/jammy/unity-session
|
|
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/g/gnome-session/unity-session_%{version}-%{_ubuntu_rel}_all.deb
|
|
Source1: https://salsa.debian.org/gnome-team/gnome-session/-/raw/ubuntu/master/debian/data/run-systemd-session
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
BuildRequires: binutils
|
|
BuildRequires: zstd
|
|
Requires: dbus-tools
|
|
Requires: unity-shell
|
|
Requires: unity-settings-daemon
|
|
Recommends: lightdm
|
|
|
|
%description
|
|
Autostart and profile for Unity 7 in Lightdm.
|
|
|
|
%prep
|
|
%autosetup -T -c
|
|
|
|
%build
|
|
ar x %{SOURCE0}
|
|
tar --zstd -xvf data.tar.zst ./usr/share/doc/unity-session/copyright
|
|
mv -f usr/share/doc/unity-session/copyright ./COPYING
|
|
rm -rf usr
|
|
|
|
%install
|
|
tar --zstd -xvf data.tar.zst -C %{buildroot}
|
|
rm -rf %{buildroot}/usr/share/doc
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}
|
|
# Is needed for xsession but is in gnome-bin. Still noarch as it is a shellscript
|
|
install -p -m755 %{SOURCE1} %{buildroot}%{_libexecdir}/run-systemd-session
|
|
|
|
%files
|
|
%license COPYING
|
|
%config %{_sysconfdir}/xdg/autostart/nemo-unity-autostart.desktop
|
|
%{_userunitdir}/gnome-session.service
|
|
%{_userunitdir}/unity-session.target
|
|
%{_libexecdir}/run-systemd-session
|
|
%{_datadir}/gnome-session/sessions/unity.session
|
|
%{_datadir}/lightdm/lightdm.conf.d/50-unity.conf
|
|
%{_datadir}/nemo/actions/*.nemo_action
|
|
%{_datadir}/xsessions/unity.desktop
|
|
|
|
%changelog
|
|
%autochangelog
|