Files
packages/anda/others/unity-greeter/unity-greeter.spec
T
madomado bd09bb3e59 feat(update): automatic update scripts (#309)
The following packages now receive updates automatically:
apparmor dbus-test-runner frame geis geoname glewmx grail
lomiri-app-launcher lomiri-ui-toolkit nlohmann-json click
gsettigs-ubuntu-touch-schemas unity-greeter

Note that some specs are modified to:
- fails when there is an update
  * now we know there's an update
  * doesn't make a version with the old sources (horrible)
- fix source urls so that it works when the package is bumped
  automatically

Some packages are also intentionally avoided because either it's too
hard to implement autoupdate or it's a bad idea (such as
properties-cpp-devel which doesn't really receive updates + there's a
patch by cat-master21)
2023-03-24 17:48:48 -07:00

76 lines
1.8 KiB
RPMSpec

Name: unity-greeter
Version: 22.04.1
Release: %autorelease
Summary: Unity Greeter for Lightdm
License: GPLv3
URL: https://launchpad.net/unity-greeter
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/unity-greeter_%{version}-0ubuntu2.tar.xz
Patch1: 0001-Remove-libido.patch
BuildRequires: automake libtool gnome-common
BuildRequires: intltool
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(indicator3-0.4)
BuildRequires: pkgconfig(liblightdm-gobject-1)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(cairo-ft)
BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: vala
BuildRequires: unity-settings-daemon-devel
Requires: unity-shell
Requires: unity-settings-daemon
Requires: lightdm%{?_isa}
%description
The greeter (login screen) application for Unity. It is implemented as a LightDM greeter.
%prep
%autosetup -p1
%build
NOCONFIGURE=1 \
./autogen.sh
%configure --disable-static
%make_build
%install
%make_install
%find_lang %{name}
%ldconfig_post
%pre
%{_sbindir}/update-alternatives \
--remove lightdm-greeter \
%{_datadir}/xgreeters/unity-greeter.desktop 2> /dev/null ||:
%postun
if [ ${1} -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%files -f %{name}.lang
%doc NEWS
%license COPYING
%{_sbindir}/unity-greeter
%{_datadir}/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml
%dir %{_datadir}/unity-greeter
%{_datadir}/unity-greeter/*.png
%{_datadir}/unity-greeter/*.svg
%{_datadir}/xgreeters/unity-greeter.desktop
%{_mandir}/man1/unity-greeter.1.gz
%changelog
%autochangelog