gnome-initial-setup/gnome-initial-setup.spec

230 lines
7.3 KiB
RPMSpec
Raw Normal View History

2012-09-26 17:20:43 +00:00
Name: gnome-initial-setup
2013-10-15 23:52:13 +00:00
Version: 3.10.1.1
Release: 4%{?dist}
2012-09-26 17:20:43 +00:00
Summary: Bootstrapping your OS
License: GPLv2+
URL: https://live.gnome.org/GnomeOS/Design/Whiteboards/InitialSetup
2013-09-25 13:39:27 +00:00
Source0: http://download.gnome.org/sources/%{name}/3.10/%{name}-%{version}.tar.xz
2013-01-11 19:57:43 +00:00
# this depends on a yelp patch that hasn't been merged upstream yet
2013-01-11 20:50:42 +00:00
# https://bugzilla.gnome.org/show_bug.cgi?id=687957
2013-01-11 19:57:43 +00:00
Patch0: yelp-fixes.patch
2012-09-26 17:20:43 +00:00
2013-11-02 00:05:15 +00:00
# upstream fix
Patch1: goa-add.patch
Patch2: 0001-goa-Prevent-a-use-after-free.patch
Patch3: 0001-Disable-GOA-page-in-new-user-mode.patch
2013-11-02 00:05:15 +00:00
2013-09-25 13:39:27 +00:00
%global nm_version 0.9.6.4
%global glib_required_version 2.36.0
%global gtk_required_version 3.7.11
2012-09-26 17:20:43 +00:00
2012-10-26 17:24:47 +00:00
BuildRequires: krb5-devel
2012-09-26 17:20:43 +00:00
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}
2012-11-27 02:35:01 +00:00
BuildRequires: pkgconfig(libnm-gtk)
2012-09-26 17:20:43 +00:00
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)
2012-11-27 02:35:01 +00:00
BuildRequires: krb5-devel
2013-03-13 02:37:14 +00:00
BuildRequires: autoconf automake libtool
2013-03-13 09:51:01 +00:00
BuildRequires: gnome-common
2013-05-02 12:45:21 +00:00
BuildRequires: ibus-devel
2013-05-06 09:53:43 +00:00
BuildRequires: polkit-devel
2012-09-26 17:20:43 +00:00
# gnome-initial-setup is being run by gdm
Requires: gdm
2013-06-07 11:48:46 +00:00
# we install a rules file
Requires: polkit-js-engine
Requires: /usr/bin/gkbd-keyboard-display
2012-09-26 17:20:43 +00:00
2012-11-27 02:35:01 +00:00
Requires(pre): shadow-utils
2012-10-19 02:51:58 +00:00
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
2012-11-08 21:26:48 +00:00
Provides: user(%name)
2012-09-26 17:20:43 +00:00
%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
2013-01-11 20:50:42 +00:00
%patch0 -p1 -b .yelp-fixes
2013-11-02 00:05:15 +00:00
%patch1 -p1 -b .goa
%patch2 -p1
%patch3 -p1
2012-09-26 17:20:43 +00:00
2013-03-13 02:37:14 +00:00
autoreconf -i -f
2012-09-26 17:20:43 +00:00
%build
%configure
make %{?_smp_mflags}
%install
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.
2012-10-19 02:51:58 +00:00
# desktop-file-validate %%{buildroot}/%%{_sysconfdir}/xdg/autostart/gnome-welcome-tour.desktop
2012-11-27 02:35:01 +00:00
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop
desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/setup-shell.desktop
mkdir -p %{buildroot}%{_localstatedir}/lib/gnome-initial-setup
2012-09-26 17:20:43 +00:00
%find_lang %{name}
2012-11-08 21:26:48 +00:00
%pre
useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null || :
2012-09-26 17:20:43 +00:00
%files -f %{name}.lang
%doc COPYING README
%{_libexecdir}/gnome-initial-setup
%{_libexecdir}/gnome-initial-setup-copy-worker
2012-10-19 02:51:58 +00:00
%{_libexecdir}/gnome-welcome-tour
%{_sysconfdir}/xdg/autostart/gnome-welcome-tour.desktop
2012-09-26 17:20:43 +00:00
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
2013-04-17 03:11:30 +00:00
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-first-login.desktop
2012-09-26 17:20:43 +00:00
2012-10-19 02:51:58 +00:00
%{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop
%{_datadir}/gdm/greeter/applications/setup-shell.desktop
2012-09-26 17:20:43 +00:00
%{_datadir}/gnome-session/sessions/gnome-initial-setup.session
2013-05-06 09:53:43 +00:00
%{_datadir}/gnome-shell/modes/initial-setup.json
2012-11-27 02:35:01 +00:00
%{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules
2012-09-26 17:20:43 +00:00
%changelog
* Fri Nov 29 2013 Rui Matos <rmatos@redhat.com> - 3.10.1.1-4
- Resolves: rhbz#1035548 - Disables the GOA page in new user mode
* Thu Nov 28 2013 Rui Matos <rmatos@redhat.com> - 3.10.1.1-3
- Resolves: rhbz#1027507 - [abrt] gnome-initial-setup-3.10.1.1-2.fc20: magazine_chain_pop_head
2013-11-02 00:05:15 +00:00
* Fri Nov 1 2013 Matthias Clasen <mclasen@redhat.com> - 3.10.1.1-2
- Fix goa add dialog to not be empty
2013-10-15 23:52:13 +00:00
* Tue Oct 15 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1.1-1
- Update to 3.10.1.1
2013-09-26 12:49:51 +00:00
* Thu Sep 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0.1-1
- Update to 3.10.0.1
2013-09-25 13:39:27 +00:00
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
- Update to 3.10.0
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 0.12-7
- Rebuilt for libgnome-desktop soname bump
* Fri Aug 23 2013 Kalev Lember <kalevlember@gmail.com> - 0.12-6
- Rebuilt for gnome-online-accounts soname bump
2013-08-09 22:59:10 +00:00
* Fri Aug 09 2013 Kalev Lember <kalevlember@gmail.com> - 0.12-5
- Rebuilt for cogl 1.15.4 soname bump
2013-08-06 18:27:12 +00:00
* Tue Aug 06 2013 Adam Williamson <awilliam@redhat.com> - 0.12-4
- rebuild for new libgweather
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 0.12-2
- Rebuilt for libgweather 3.9.3 soname bump
2013-06-17 08:47:49 +00:00
* Mon Jun 17 2013 Rui Matos <rmatos@redhat.com> - 0.12-1
- Update to 0.12
2013-06-07 11:48:46 +00:00
* Fri Jun 7 2013 Matthias Clasen <mclasen@redhat.com> - 0.11-2
- Require polkit-js-engine
2013-05-29 02:20:08 +00:00
* Tue May 28 2013 Matthias Clasen <mclasen@redhat.com> - 0.11-1
- Update to 0.11
2013-05-06 09:53:43 +00:00
* Tue May 14 2013 Rui Matos <rmatos@redhat.com> - 0.10-1
- Update to 0.10
- Add BuildRequires on polkit-devel
- Update files list
2013-05-02 12:47:20 +00:00
* Thu May 2 2013 Rui Matos <rmatos@redhat.com> - 0.9-2
- Remove unused patches
2013-05-02 12:45:21 +00:00
- Add build requires for ibus
2013-04-17 03:11:30 +00:00
* Tue Apr 16 2013 Matthias Clasen <mclasen@redhat.com> - 0.9-1
- Update to 0.9
* Tue Apr 16 2013 Ray Strode <rstrode@redhat.com> 0.8-4
- Add requires for keyboard viewer app
2013-03-21 01:54:38 +00:00
* Wed Mar 20 2013 Ray Strode <rstrode@redhat.com> 0.8-3
- Add cosimoc fix for gd page transitions
* Wed Mar 20 2013 Ray Strode <rstrode@redhat.com> 0.8-2
- Disable gd page transitions for now since they don't
completely work right (ask adamw).
- Fix crasher when realmd goes away
2013-03-19 17:28:34 +00:00
* Tue Mar 19 2013 Matthias Clasen <mclasen@redhat.com> - 0.8-1
- Update to 0.8
2013-03-13 00:22:14 +00:00
* Tue Mar 12 2013 Matthias Clasen <mclasen@redhat.com> - 0.7-1
- Update to 0.7
2013-02-21 17:35:11 +00:00
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 0.6-4
- Rebuilt for cogl soname bump
* Wed Feb 20 2013 Kalev Lember <kalevlember@gmail.com> - 0.6-3
- Rebuilt for libgnome-desktop soname bump
2013-01-25 14:25:19 +00:00
* Fri Jan 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.6-2
- Rebuild for new cogl
2013-01-17 03:36:22 +00:00
* Wed Jan 16 2013 Matthias Clasen <mclasen@redhat.com> - 0.6-1
- 0.6
2013-01-11 19:57:43 +00:00
* Fri Jan 11 2013 Matthias Clasen <mclasen@redhat.com> - 0.5-1
- 0.5
2012-12-20 23:12:43 +00:00
* Fri Dec 21 2012 Kalev Lember <kalevlember@gmail.com> - 0.4-2
- Rebuilt for libgweather soname bump
2012-11-27 02:35:01 +00:00
* Thu Nov 22 2012 Matthias Clasen <mclasen@redhat.com> - 0.4-1
- 0.4
2012-10-26 17:24:47 +00:00
* Fri Oct 26 2012 Jasper St. Pierre <jstpierre@mecheye.net> - 0.3-3
- Add krb5
2012-10-26 16:00:48 +00:00
* Fri Oct 26 2012 Jasper St. Pierre <jstpierre@mecheye.net> - 0.3-2
- 0.3-2
2012-10-19 02:51:58 +00:00
* Thu Oct 18 2012 Matthias Clsaen <mclasen@redhat.com> - 0.3-1
- 0.3
2012-09-26 17:20:43 +00:00
* 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.