mharris 23fbf1d
%define pkgname xsm
mharris 23fbf1d
mharris 23fbf1d
Summary: X.Org X11 X Session Manager
mharris 23fbf1d
Name: xorg-x11-%{pkgname}
mharris 3c7369d
# NOTE: The Version field should be the version of the xsm tarball.
d9fd271
Version: 1.0.2
mharris 3c7369d
# Bump the release on rebuilds/bugfixes/etc.
05efb50
Release: 25%{?dist}
f714d04
License: MIT
mharris 23fbf1d
Group: User Interface/X
mharris 23fbf1d
URL: http://www.x.org
mharris 3c7369d
mharris 95509b4
Source0: ftp://ftp.x.org/pub/individual/app/xsm-1.0.1.tar.bz2
8ae4aa8
Source1: ftp://ftp.x.org/pub/individual/app/smproxy-1.0.4.tar.bz2
mharris 95509b4
Source2: ftp://ftp.x.org/pub/individual/app/rstart-1.0.2.tar.bz2
mharris 23fbf1d
paragn a2ec05b
# Fedora specific patches
paragn a2ec05b
mharris d65653c
# Patches for xsm (10-19)
mharris 9d75d5a
Patch10: xsm-1.0.1-xsm-installation-location-fixes.patch
a24406e
Patch11: xsm-1.0.1-add-needed.patch
de5750e
Patch12: xsm-1.0.2-ice.patch
mharris d65653c
mharris d65653c
# Patches for smproxy (20-29)
de5750e
Patch20: smproxy-1.0.4-ice.patch
mharris d65653c
mharris d65653c
# Patches for rstart (30-39)
d9fd271
Patch30: rstart-1.0.2-rstart-installation-location-fixes.patch
mharris 23fbf1d
mharris 3c7369d
BuildRequires: automake autoconf
mharris 3c7369d
mharris 3c7369d
BuildRequires: pkgconfig
mharris 3c7369d
BuildRequires: xorg-x11-util-macros
mharris 3c7369d
BuildRequires: xorg-x11-proto-devel
de5750e
BuildRequires: libXaw-devel libXext-devel libXt-devel libXpm-devel libICE-devel
50b2057
BuildRequires: rsh
mharris b9a73b5
mharris d65653c
# rstart script invokes xauth, rsh
paragn a2ec05b
Requires: xorg-x11-xauth, rsh
d4f4e53
paragn a2ec05b
# FIXME:These old provided should be removed
mharris d65653c
Provides: xsm, smproxy, rstart, rstartd
mharris b9a73b5
mharris 23fbf1d
%description
mharris 23fbf1d
X.Org X11 X Session Manager
mharris 23fbf1d
mharris 23fbf1d
%prep
mharris 23fbf1d
%setup -q -c %{name}-%{version} -a1 -a2
mharris d65653c
%patch10 -p0 -b .xsm-installation-location-fixes
a24406e
%patch11 -p0 -b .add-needed
de5750e
%patch12 -p0 -b .ice
de5750e
%patch20 -p0 -b .ice
mharris d65653c
%patch30 -p0 -b .rstart-installation-location-fixes
mharris 23fbf1d
mharris 23fbf1d
%build
mharris 23fbf1d
# Build everything
176c96b
for pkg in xsm smproxy rstart ; do
176c96b
    pushd $pkg-*
mharris d65653c
176c96b
    sed -i '/XAW_/ s/)/, xaw7)/; /XAW_/ s/XAW_CHECK_XPRINT_SUPPORT/PKG_CHECK_MODULES/' configure.ac
f38c59f
    autoreconf -f -i -v
176c96b
paragn a2ec05b
    %configure
paragn a2ec05b
    make  %{?_smp_mflags}
176c96b
    popd
176c96b
done
mharris 23fbf1d
mharris 23fbf1d
%install
mharris 23fbf1d
# Install everything
mharris 23fbf1d
{
mharris 23fbf1d
   for pkg in xsm smproxy rstart ; do
mharris 23fbf1d
      pushd $pkg-*
paragn a2ec05b
      make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mharris 23fbf1d
      popd
mharris 23fbf1d
   done
mharris 23fbf1d
}
mharris 23fbf1d
mharris 23fbf1d
%files
mharris 23fbf1d
%defattr(-,root,root,-)
paragn a2ec05b
%doc xsm-1.0.1/COPYING xsm-1.0.1/README xsm-1.0.1/ChangeLog
mharris 3c7369d
mharris 23fbf1d
%{_bindir}/rstart
mharris 23fbf1d
%{_bindir}/rstartd
mharris 23fbf1d
%{_bindir}/smproxy
mharris 23fbf1d
%{_bindir}/xsm
mharris d65653c
%dir %{_datadir}/X11/rstart
mharris d65653c
%dir %{_datadir}/X11/rstart/commands
mharris d65653c
%{_datadir}/X11/rstart/commands/@List
mharris d65653c
%{_datadir}/X11/rstart/commands/ListContexts
mharris d65653c
%{_datadir}/X11/rstart/commands/ListGenericCommands
mharris 955fd9f
%dir %{_datadir}/X11/rstart/commands/x11r6
mharris d65653c
%{_datadir}/X11/rstart/commands/x11r6/@List
mharris d65653c
%{_datadir}/X11/rstart/commands/x11r6/LoadMonitor
mharris d65653c
%{_datadir}/X11/rstart/commands/x11r6/Terminal
mharris 955fd9f
%dir %{_datadir}/X11/rstart/contexts
mharris d65653c
%{_datadir}/X11/rstart/contexts/@List
mharris d65653c
%{_datadir}/X11/rstart/contexts/default
mharris d65653c
%{_datadir}/X11/rstart/contexts/x11r6
mharris d65653c
%{_datadir}/X11/app-defaults/XSm
ad1be32
%{_libexecdir}/rstartd.real
7a67686
%{_mandir}/man1/rstart.1*
7a67686
%{_mandir}/man1/rstartd.1*
7a67686
%{_mandir}/man1/smproxy.1*
7a67686
%{_mandir}/man1/xsm.1*
mharris d65653c
%dir %{_sysconfdir}/X11/rstart
mharris d65653c
%config %{_sysconfdir}/X11/rstart/config
mharris d65653c
%dir %{_sysconfdir}/X11/xsm
mharris d65653c
%config %{_sysconfdir}/X11/xsm/system.xsm
mharris 23fbf1d
mharris 23fbf1d
%changelog
05efb50
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-25
05efb50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
05efb50
ce37c4b
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-24
ce37c4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ce37c4b
04a9a1e
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-23
04a9a1e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
04a9a1e
2b27bd9
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-22
2b27bd9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2b27bd9
a7c8fce
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-21
a7c8fce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a7c8fce
de5750e
* Mon Jul 23 2012 Adam Jackson <ajax@redhat.com> 1.0.2-20
de5750e
- *-ice.patch: Add missing libICE to link
de5750e
e42032d
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-19
e42032d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e42032d
c2b722d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-18
c2b722d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c2b722d
ad1be32
* Fri Apr 01 2011 Adam Jackson <ajax@redhat.com> 1.0.2-17
ad1be32
- Move rstartd.real to %%_libexecdir
ad1be32
0f606fb
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-17
0f606fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0f606fb
8ae4aa8
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 1.0.2-16
8ae4aa8
- smproxy 1.0.4
8ae4aa8
paragn a2ec05b
* Sat Sep 25 2010 Parag Nemade <paragn AT fedoraproject.org> - 1.0.2-15
paragn a2ec05b
- Merge-review cleanup (#226655)
paragn a2ec05b
4820537
* Fri Mar 05 2010 Matěj Cepl <mcepl@redhat.com> - 1.0.2-14
4820537
- Fixed bad directory ownership of /usr/share/X11
4820537
a24406e
* Tue Feb 09 2010 Adam Jackson <ajax@redhat.com> 1.0.2-13
e7fb4b6
- xsm-1.0.1-add-needed.patch, smproxy-1.0.2-add-needed.patch: Fix FTBFS for
e7fb4b6
  --no-add-needed
a24406e
59ed5f5
* Mon Aug 03 2009 Adam Jackson <ajax@redhat.com> 1.0.2-12
59ed5f5
- Un-Requires xorg-x11-filesystem
59ed5f5
2b9846b
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-11
2b9846b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2b9846b
176c96b
* Mon Jul 20 2009 Adam Jackson <ajax@redhat.com> 1.0.2-10
176c96b
- Fix FTBFS due to Xaw xprint macro disappearing. (#511614)
176c96b
1a8445d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-9
1a8445d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1a8445d
f714d04
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.2-8
f714d04
- Fix license tag.
f714d04
f3a8530
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-7
f3a8530
- Autorebuild for GCC 4.3
f3a8530
22138e3
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-6
22138e3
- Rebuild for build id
22138e3
7a67686
* Tue Jan 30 2007 Adam Jackson <ajax@redhat.com> 1.0.2-5
7a67686
- Fix man page globs and rebuild for FC7.
7a67686
mharris c18586c
* Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-4.fc6
mharris c18586c
- Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
mharris c18586c
- Add 'dist' tag to package release string.
mharris c18586c
mharris c18586c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-3.1
002490c
- rebuild
002490c
mharris 3c7369d
* Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3
mharris 3c7369d
- Added xsm documentation to doc macro.
mharris 3c7369d
- The 1.0.2-1 build had the version accidentally bumped to 1.0.2 before
mharris 3c7369d
  an xsm-1.0.2 was available, so I had to hard code the actual 1.0.1 version
mharris 3c7369d
  in a few places temporarily until xsm-1.0.2 is available.
mharris 3c7369d
50b2057
* Tue May 30 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-2
50b2057
- Fix BuildRequires (#191802)
50b2057
d9fd271
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
d9fd271
- Update smproxy and rstart
d9fd271
mharris 0aefb96
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
b99e2a0
- bump again for double-long bug on ppc(64)
b99e2a0
mharris 0aefb96
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
a2640a9
- rebuilt for new gcc4.1 snapshot and glibc changes
a2640a9
mharris 9d75d5a
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
mharris 9d75d5a
- Updated all apps to version 1.0.1 from X11R7.0
mharris 9d75d5a
mharris 412641c
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
mharris 412641c
- Updated all apps to version 1.0.0 from X11R7 RC4.
mharris 412641c
- Changed manpage dir from man1x to man1 to match upstream default.
mharris 412641c
mharris d65653c
* Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
mharris d65653c
- Add "Requires(pre): xorg-x11-filesystem >= 0.99.2-3" to avoid bug (#173384).
mharris d65653c
- Added rstart-0.99.1-rstart-installation-location-fixes.patch and
mharris d65653c
  xsm-0.99.2-xsm-installation-location-fixes.patch to put config files in
mharris d65653c
 /etc and data files in /usr/share where they belong.
mharris d65653c
- Added "Requires: xauth, rsh" as rstart invokes xauth, rsh.
mharris d65653c
mharris 0aefb96
* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.2-3
d4f4e53
- require newer filesystem package (#172610)
d4f4e53
mharris b9a73b5
* Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
mharris b9a73b5
- Added "Obsoletes: XFree86, xorg-x11", as all of these used to be in there.
mharris b9a73b5
- Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027)
mharris b9a73b5
mharris 23fbf1d
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
mharris 23fbf1d
- Initial build of xsm, smproxy, and rstart from X11R7 RC1