123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414 |
- %define glib2_version 2.32.0
- %define pango_version 1.30.0
- %define gtk3_version 3.4.0
- %define gconf2_version 2.32.2
- %define dbus_glib_version 0.88
- %define dbus_version 1.4.0
- %define libnotify_version 0.4.5
- %define po_package gnome-session-3.0
- Summary: GNOME session manager
- Summary(ja): GNOME セッションマネージャ
- Name: gnome-session
- Version: 3.4.0
- Release: 1%{?_dist_release}
- URL: http://www.gnome.org/
- License: GPLv2+
- Group: User Interface/Desktops
- Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-session/3.4/%{name}-%{version}.tar.xz
- Source1: vine-default-session
- Source2: gnome.desktop
- Source3: gnome-session.gnome-2-32.ja.po
- # fixed upstream
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: glib2-devel >= %{glib2_version}
- BuildRequires: pango-devel >= %{pango_version}
- BuildRequires: gtk2-devel >= %{gtk2_version}
- BuildRequires: GConf2-devel >= %{gconf2_version}
- BuildRequires: dbus-devel >= %{dbus_version}
- BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
- BuildRequires: libnotify-devel >= %{libnotify_version}
- BuildRequires: librsvg2-devel
- BuildRequires: usermode
- BuildRequires: startup-notification-devel
- BuildRequires: libSM-devel
- BuildRequires: libXtst-devel
- BuildRequires: upower-devel
- BuildRequires: json-glib-devel
- BuildRequires: desktop-file-utils
- Requires(post): GConf2 >= %{gconf2_version}
- Requires(pre): GConf2 >= %{gconf2_version}
- Requires(preun): GConf2 >= %{gconf2_version}
- Conflicts: gdm < 2.4.0.7
- Requires: vine-backgrounds >= 3.8
- Requires: control-center
- Requires: gsettings-desktop-schemas
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- gnome-session manages a GNOME desktop session. It starts up the other core
- GNOME components and handles logout and saving the session.
- %prep
- %setup -q
- #cp %{SOURCE3} po/ja.po
- %build
- #sed -i -e 's/GNOME_COMPILE_WARNINGS.*//' configure.in
- #aclocal
- #automake
- #intltoolize --force --copy
- #autoheader
- #autoconf
- %configure \
- --enable-compile-warnings=no
- make %{?_smp_mflags}
- # --with-halt-command=/usr/bin/poweroff \
- # --with-reboot-command=/usr/bin/reboot \
- %install
- rm -rf $RPM_BUILD_ROOT
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- make install DESTDIR=$RPM_BUILD_ROOT
- unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
- desktop-file-install --vendor gnome --delete-original \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- --add-only-show-in GNOME \
- $RPM_BUILD_ROOT%{_datadir}/applications/*
- # --add-category Settings \
- # --add-category AdvancedSettings \
- ./mkinstalldirs ${RPM_BUILD_ROOT}%{_datadir}/xsessions/
- install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_datadir}/xsessions/
- #/bin/rm $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
- ./mkinstalldirs ${RPM_BUILD_ROOT}%{_datadir}/gnome/
- install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnome/default.session
- mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
- # remove gnome default splash screen
- #rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash/*
- mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/splash
- #
- rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
- %find_lang %{po_package}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun
- /sbin/ldconfig
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- %posttrans
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- %files -f %{po_package}.lang
- %defattr(-,root,root)
- %doc AUTHORS COPYING ChangeLog NEWS README
- #doc %{_docdir}/%{name}/dbus/gnome-session.html
- %{_sysconfdir}/xdg/autostart
- %{_bindir}/*
- %{_libexecdir}/gnome-session-check-accelerated
- %{_libexecdir}/gnome-session-check-accelerated-helper
- %{_datadir}/GConf/gsettings/gnome-session.convert
- %{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
- %{_datadir}/gnome
- %{_datadir}/gnome-session/*.ui
- %{_datadir}/gnome-session/hardware-compatibility
- %{_datadir}/gnome-session/sessions/*
- %{_datadir}/applications/*
- %{_datadir}/xsessions/*
- %dir %{_datadir}/pixmaps/splash
- %{_datadir}/icons/hicolor/*
- %{_mandir}/man*/*
- %changelog
- * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
- - new upstream release
- * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
- - new upstream release
- * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
- - new upstream release
- * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
- - new upstream release
- - add BuildRequires: libXtst-devel
- * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
- - new upstream release
- - add BuildRequires: json-glib-devel
- * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
- - new upstream release
- * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
- - new upstream release
- - add BuildRequires: librsvg2-devel
- - add Requires: gsettings-desktop-schemas
- * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
- - new upstream release
- * Sat Nov 06 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.32.0-2
- - update translation.
- * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
- - new upstream release
- - remove BuildRequires: libgnome-devel, libgnomeui-devel
- * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
- - new upstream release
- * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
- - new upstream release
- - remove BuildRequires: gnome-keyring
- - change BuildRequires: DeviceKit-power-devel -> upower-devel
- - add BuildRequires: startup-notification-devel, libSM-devel, desktop-file-utils
- * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1
- - new upstream release
- - added BR: DeviceKit-power-devel
- - removed BR: PolicyKit-gnome-devel
- * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
- - new upstream release
- * Sat Apr 18 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.1-1
- - new upstream release
- - added BuildRequires: PolicyKit-gnome-devel
- * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
- - new upstream release
- * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3-1
- - new upstream release
- * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
- - new upstream release
- * Wed Oct 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2
- - add patch5,6,7,8 from upstream/fedora
- - remove gnome-volume-manager from vine-default-session
- * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
- - new upstream release
- * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
- - new upstream release
- * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1.1-1vl5
- - new upstream release
- * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
- - new upstream release
- - updated Patch100
- * Wed Jan 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1
- - new upstream release
- * Wed Jul 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.3-0vl1
- - new upstream release
- * Fri May 11 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.18.0-0vl2
- - add BuildRequires: control-center-devel
- * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1
- - new upstream release
- * Thu Sep 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1
- - new upstream release
- - remove default gnome-splash.png, use our splash.
- - add Requires: vine-backgrounds >= 3.8
- * Sat Jun 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.2-0vl1
- - new upstream release
- * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
- - new upstream release
- * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
- - new upstream release
- * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.92-0vl1
- - new upstream release
- * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
- - new upstream release
- * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
- - new upstream release
- * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
- - new upstream version
- * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
- - new upstream release
- * Sun Oct 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1
- - new upstream release
- * Sun Oct 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.2-0vl2
- - rebuild with new environment
- * Fri Jan 30 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1
- - new upstream release
- * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
- - new upstream release
- - remove old gdm session file.
- * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1
- - new upstream release
- * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.7-0vl1
- - new upstream release
- * Tue Apr 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
- - new upstream release
- - import patch6,8 from rawhide release
- * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
- - new upstream release
- * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
- - new upstream release
- * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
- - new upstream release
- * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
- - new upstream release
- * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
- - build for Vine Linux
- - new upstream release from gnome-2.1.4
- * Wed Nov 13 2002 Havoc Pennington <hp@redhat.com>
- - 2.1.2
- * Tue Sep 3 2002 Owen Taylor <otaylor@redhat.com>
- - Up purge delay for session manager to 5 minutes to avoid problem
- with openoffice.org timing out
- * Wed Aug 28 2002 Havoc Pennington <hp@redhat.com>
- - put gdm session in here, conflict with old gdm
- - use DITHER_MAX for dithering to make splash screen look good in 16
- bit
- * Tue Aug 27 2002 Havoc Pennington <hp@redhat.com>
- - fix missing icons and misaligned text in splash
- * Fri Aug 23 2002 Tim Waugh <twaugh@redhat.com>
- - Fix login sound disabling (bug #71664).
- * Wed Aug 14 2002 Havoc Pennington <hp@redhat.com>
- - put rhn applet in default session
- * Wed Aug 14 2002 Havoc Pennington <hp@redhat.com>
- - fix the session file, should speed up login a lot
- - put magicdev in default session
- * Thu Aug 8 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.5 with more translations
- * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.4
- - remove gnome-settings-daemon from default session
- * Wed Jul 31 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.3
- - remove splash screen, require redhat-artwork instead
- * Wed Jul 24 2002 Owen Taylor <otaylor@redhat.com>
- - Set GTK_RC_FILES so we can change the gtk1 theme
- * Tue Jul 16 2002 Havoc Pennington <hp@redhat.com>
- - pass --with-halt-command=/usr/bin/poweroff
- --with-reboot-command=/usr/bin/reboot
- * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
- - Version 2.0.1, fixing missing po files
- * Wed Jun 19 2002 Havoc Pennington <hp@redhat.com>
- - put in new default session with pam-panel-icon
- - disable schema install in make install, fixes rebuild failure.
- * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
- - rebuild with new libraries
- * Thu Jun 13 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Thu Jun 13 2002 Havoc Pennington <hp@redhat.com>
- - add fix from Nalin to build require usermode
- * Tue Jun 11 2002 Havoc Pennington <hp@redhat.com>
- - 2.0.0
- * Mon Jun 10 2002 Havoc Pennington <hp@redhat.com>
- - install the schemas, so we get a logout dialog and splash
- - put in the splash from 7.3
- * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Sun Jun 09 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in new environment, require newer gtk2
- * Sun Jun 9 2002 Havoc Pennington <hp@redhat.com>
- - remove obsoletes/provides gnome-core
- * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
- - 1.5.21
- * Sun May 26 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - rebuild in different environment
- * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- - 1.5.19
- - add more build reqs to chill out build system
- - provide gnome-core
- * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
- - obsolete gnome-core
- - 1.5.18
- * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
- - default to metacity
- * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com>
- - Initial build.
|