87 lines
3.0 KiB
RPMSpec
87 lines
3.0 KiB
RPMSpec
Name: gnome-initial-setup
|
|
Version: 0.2
|
|
Release: 2%{?dist}
|
|
Summary: Bootstrapping your OS
|
|
|
|
License: GPLv2+
|
|
URL: https://live.gnome.org/GnomeOS/Design/Whiteboards/InitialSetup
|
|
Source0: http://ftp.acc.umu.se/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.xz
|
|
|
|
%global nm_version 0.9
|
|
%global glib_required_version 2.29.4
|
|
%global gtk_required_version 3.1.2
|
|
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: intltool
|
|
BuildRequires: libpwquality-devel
|
|
BuildRequires: pkgconfig(NetworkManager) >= %{nm_version}
|
|
BuildRequires: pkgconfig(libnm-glib) >= %{nm_version}
|
|
BuildRequires: pkgconfig(libnm-util) >= %{nm_version}
|
|
BuildRequires: pkgconfig(accountsservice)
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
BuildRequires: pkgconfig(gstreamer-0.10)
|
|
BuildRequires: pkgconfig(cheese)
|
|
BuildRequires: pkgconfig(cheese-gtk) >= 3.3.5
|
|
BuildRequires: pkgconfig(geoclue)
|
|
BuildRequires: pkgconfig(gweather-3.0)
|
|
BuildRequires: pkgconfig(goa-1.0)
|
|
BuildRequires: pkgconfig(goa-backend-1.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk_required_version}
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib_required_version}
|
|
BuildRequires: pkgconfig(gio-2.0) >= %{glib_required_version}
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_required_version}
|
|
BuildRequires: pkgconfig(gdm)
|
|
BuildRequires: pkgconfig(iso-codes)
|
|
|
|
# gnome-initial-setup is being run by gdm
|
|
Requires: gdm
|
|
|
|
%description
|
|
GNOME Initial Setup is an alternative to firstboot, providing
|
|
a good setup experience to welcome you to your system, and walks
|
|
you through configuring it. It is integrated with gdm.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
# Desktop file does not (and probably will not) ever validate, as it uses
|
|
# an absolute path /tmp/-style trigger to determine whether to autostart.
|
|
# desktop-file-validate %%{buildroot}/%%{_sysconfdir}/xdg/autostart/welcome-tour.desktop
|
|
desktop-file-validate %{buildroot}/%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
|
desktop-file-validate %{buildroot}/%{_datadir}/gnome-initial-setup/applications/gnome-initial-setup.desktop
|
|
|
|
%find_lang %{name}
|
|
|
|
%files -f %{name}.lang
|
|
%doc COPYING README
|
|
%{_libexecdir}/gnome-initial-setup
|
|
%{_libexecdir}/gnome-initial-setup-copy-worker
|
|
%{_sysconfdir}/xdg/autostart/welcome-tour.desktop
|
|
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
|
|
|
%dir %{_datadir}/gnome-initial-setup
|
|
%{_datadir}/gnome-initial-setup/applications/gnome-initial-setup.desktop
|
|
%{_datadir}/gnome-initial-setup/20-gnome-initial-setup.rules
|
|
|
|
%{_datadir}/gnome-session/sessions/gnome-initial-setup.session
|
|
%{_datadir}/polkit-1/actions/org.gnome.initial-setup.policy
|
|
|
|
%changelog
|
|
* Fri Sep 14 2012 Matthias Clasen <mclasen@redhat.com> - 0.2-2
|
|
- Add Requires: gdm
|
|
|
|
* Wed Aug 29 2012 Jasper St. Pierre <jstpierre@mecheye.net> - 0.2-1
|
|
- Update to 0.2
|
|
|
|
* Fri Jun 08 2012 Jasper St. Pierre <jstpierre@mecheye.net> - 0.1
|
|
- Initial packaging.
|