[521] | 1 | %define pkgname xsm |
---|
| 2 | |
---|
| 3 | Summary: X.Org X11 X Session Manager |
---|
| 4 | Summary(ja): X.Org X11 X セッションマネージャ |
---|
| 5 | Name: xorg-x11-%{pkgname} |
---|
| 6 | # NOTE: The Version field should be the version of the xsm tarball. |
---|
[7648] | 7 | Version: 1.0.3 |
---|
[521] | 8 | # Bump the release on rebuilds/bugfixes/etc. |
---|
[8064] | 9 | Release: 2%{?_dist_release} |
---|
[521] | 10 | License: MIT |
---|
| 11 | Group: User Interface/X |
---|
| 12 | URL: http://www.x.org |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | |
---|
[7648] | 15 | Source0: ftp://ftp.x.org/pub/individual/app/xsm-1.0.3.tar.bz2 |
---|
[4616] | 16 | Source1: ftp://ftp.x.org/pub/individual/app/smproxy-1.0.5.tar.bz2 |
---|
[2203] | 17 | Source2: ftp://ftp.x.org/pub/individual/app/rstart-1.0.4.tar.bz2 |
---|
[521] | 18 | |
---|
| 19 | # Patches for xsm (10-19) |
---|
| 20 | |
---|
| 21 | # Patches for smproxy (20-29) |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | # Patches for rstart (30-39) |
---|
[2203] | 25 | Patch30: rstart-1.0.4-rstart-installation-location-fixes.patch |
---|
[521] | 26 | |
---|
| 27 | # FIXME: Temporary dependency on automake/autoconf while they're still needed. |
---|
| 28 | BuildRequires: automake autoconf |
---|
| 29 | |
---|
| 30 | BuildRequires: pkgconfig |
---|
| 31 | BuildRequires: xorg-x11-util-macros |
---|
| 32 | BuildRequires: xorg-x11-proto-devel |
---|
| 33 | BuildRequires: libXaw-devel libXext-devel libXt-devel libXpm-devel |
---|
| 34 | BuildRequires: rsh |
---|
| 35 | |
---|
| 36 | # NOTE: xorg-x11-filesystem >= 0.99.2-3 is required for OS upgrades from |
---|
| 37 | # monolithic X releases to modular X releases to work properly. |
---|
| 38 | Requires(pre): xorg-x11-filesystem |
---|
| 39 | # rstart script invokes xauth, rsh |
---|
| 40 | Requires: xauth, rsh |
---|
| 41 | |
---|
| 42 | Provides: xsm, smproxy, rstart, rstartd |
---|
| 43 | |
---|
| 44 | # NOTE: xsm, smproxy, rstart used to be part of the XFree86/xorg-x11 package |
---|
[3757] | 45 | Obsoletes: XFree86 |
---|
[521] | 46 | |
---|
[4616] | 47 | Vendor: Project Vine |
---|
| 48 | Distribution: Vine Linux |
---|
[8064] | 49 | Packager: Takemikaduchi |
---|
[4616] | 50 | |
---|
[521] | 51 | %description |
---|
| 52 | X.Org X11 X Session Manager |
---|
| 53 | |
---|
| 54 | %prep |
---|
| 55 | %setup -q -c %{name}-%{version} -a1 -a2 |
---|
| 56 | %patch30 -p0 -b .rstart-installation-location-fixes |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %build |
---|
| 60 | # Build everything |
---|
| 61 | { |
---|
| 62 | for pkg in xsm smproxy rstart ; do |
---|
| 63 | pushd $pkg-* |
---|
| 64 | |
---|
| 65 | sed -i '/XAW_/ s/)/, xaw7)/; /XAW_/ s/XAW_CHECK_XPRINT_SUPPORT/PKG_CHECK_MODULES/' configure.ac |
---|
[8064] | 66 | autoreconf -if |
---|
[521] | 67 | |
---|
| 68 | %configure --disable-xprint |
---|
| 69 | make |
---|
| 70 | popd |
---|
| 71 | done |
---|
| 72 | } |
---|
| 73 | |
---|
| 74 | %install |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 76 | |
---|
| 77 | # Install everything |
---|
| 78 | { |
---|
| 79 | for pkg in xsm smproxy rstart ; do |
---|
| 80 | pushd $pkg-* |
---|
| 81 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 82 | popd |
---|
| 83 | done |
---|
| 84 | } |
---|
| 85 | |
---|
| 86 | %clean |
---|
| 87 | rm -rf $RPM_BUILD_ROOT |
---|
| 88 | |
---|
| 89 | %files |
---|
| 90 | %defattr(-,root,root,-) |
---|
| 91 | # FIXME: The rpm package version was accidentally bumped to 1.0.2, so we |
---|
| 92 | # can't use the %%version macro here until a upstream xsm is released as |
---|
| 93 | # version 1.0.2 or higher. |
---|
| 94 | #%doc xsm-%{version}/AUTHORS xsm-%{version}/COPYING xsm-%{version}/INSTALL |
---|
| 95 | #%doc xsm-%{version}/NEWS xsm-%{version}/README xsm-%{version}/ChangeLog |
---|
[2203] | 96 | %doc xsm-1.0.2/AUTHORS xsm-1.0.2/COPYING xsm-1.0.2/INSTALL |
---|
| 97 | %doc xsm-1.0.2/NEWS xsm-1.0.2/README xsm-1.0.2/ChangeLog |
---|
[521] | 98 | |
---|
| 99 | %{_bindir}/rstart |
---|
| 100 | %{_bindir}/rstartd |
---|
| 101 | %{_bindir}/smproxy |
---|
| 102 | %{_bindir}/xsm |
---|
| 103 | %dir %{_datadir}/X11 |
---|
| 104 | %dir %{_datadir}/X11/rstart |
---|
| 105 | %dir %{_datadir}/X11/rstart/commands |
---|
| 106 | %{_datadir}/X11/rstart/commands/@List |
---|
| 107 | %{_datadir}/X11/rstart/commands/ListContexts |
---|
| 108 | %{_datadir}/X11/rstart/commands/ListGenericCommands |
---|
| 109 | %dir %{_datadir}/X11/rstart/commands/x11r6 |
---|
| 110 | %{_datadir}/X11/rstart/commands/x11r6/@List |
---|
| 111 | %{_datadir}/X11/rstart/commands/x11r6/LoadMonitor |
---|
| 112 | %{_datadir}/X11/rstart/commands/x11r6/Terminal |
---|
| 113 | %dir %{_datadir}/X11/rstart/contexts |
---|
| 114 | %{_datadir}/X11/rstart/contexts/@List |
---|
| 115 | %{_datadir}/X11/rstart/contexts/default |
---|
[2203] | 116 | %{_datadir}/X11/rstart/contexts/x |
---|
| 117 | %{_datadir}/X11/rstart/contexts/x11 |
---|
[521] | 118 | %{_datadir}/X11/rstart/contexts/x11r6 |
---|
| 119 | %{_datadir}/X11/app-defaults/XSm |
---|
| 120 | %dir %{_libdir}/X11 |
---|
| 121 | %dir %{_libdir}/X11/rstart |
---|
| 122 | # NOTE: This binary can and probably should sit in /usr/sbin, but oh well. |
---|
| 123 | %{_libdir}/X11/rstart/rstartd.real |
---|
| 124 | #%dir %{_mandir}/man1x |
---|
| 125 | %{_mandir}/man1/rstart.1* |
---|
| 126 | %{_mandir}/man1/rstartd.1* |
---|
| 127 | %{_mandir}/man1/smproxy.1* |
---|
| 128 | %{_mandir}/man1/xsm.1* |
---|
| 129 | %dir %{_sysconfdir}/X11 |
---|
| 130 | %dir %{_sysconfdir}/X11/rstart |
---|
| 131 | %config %{_sysconfdir}/X11/rstart/config |
---|
| 132 | %dir %{_sysconfdir}/X11/xsm |
---|
| 133 | %config %{_sysconfdir}/X11/xsm/system.xsm |
---|
| 134 | |
---|
| 135 | %changelog |
---|
[8064] | 136 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-2 |
---|
| 137 | - rebuild with VineSeed environment |
---|
| 138 | |
---|
[7648] | 139 | * Sun May 05 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-1 |
---|
| 140 | - update to 1.0.3 |
---|
| 141 | - remove Patch10 (xsm-1.0.2-xsm-installation-location-fixes.patch) |
---|
| 142 | |
---|
[4616] | 143 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-5 |
---|
| 144 | - smproxy-1.0.5 |
---|
| 145 | |
---|
[3757] | 146 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-4 |
---|
| 147 | - delete Obsoletes: xorg-x11 |
---|
| 148 | |
---|
[2203] | 149 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-3 |
---|
| 150 | - xsm-1.0.2 |
---|
| 151 | - smproxy-1.0.4 |
---|
| 152 | - rstart-1.0.4 |
---|
| 153 | - update Patch10, Patch30 |
---|
| 154 | - fix %%files |
---|
| 155 | |
---|
[521] | 156 | * Fri Nov 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2 |
---|
| 157 | - smproxy-1.0.3 |
---|
| 158 | - rstart-1.0.3 |
---|
| 159 | |
---|
| 160 | * Sun Sep 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1 |
---|
| 161 | - initial build for Vine Linux |
---|
| 162 | |
---|
| 163 | * Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.2-8 |
---|
| 164 | - Fix license tag. |
---|
| 165 | |
---|
| 166 | * Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-7 |
---|
| 167 | - Autorebuild for GCC 4.3 |
---|
| 168 | |
---|
| 169 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-6 |
---|
| 170 | - Rebuild for build id |
---|
| 171 | |
---|
| 172 | * Tue Jan 30 2007 Adam Jackson <ajax@redhat.com> 1.0.2-5 |
---|
| 173 | - Fix man page globs and rebuild for FC7. |
---|
| 174 | |
---|
| 175 | * Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-4.fc6 |
---|
| 176 | - Remove app-defaults dir from file manifest, as it is owned by libXt (#174021) |
---|
| 177 | - Add 'dist' tag to package release string. |
---|
| 178 | |
---|
| 179 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-3.1 |
---|
| 180 | - rebuild |
---|
| 181 | |
---|
| 182 | * Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3 |
---|
| 183 | - Added xsm documentation to doc macro. |
---|
| 184 | - The 1.0.2-1 build had the version accidentally bumped to 1.0.2 before |
---|
| 185 | an xsm-1.0.2 was available, so I had to hard code the actual 1.0.1 version |
---|
| 186 | in a few places temporarily until xsm-1.0.2 is available. |
---|
| 187 | |
---|
| 188 | * Tue May 30 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-2 |
---|
| 189 | - Fix BuildRequires (#191802) |
---|
| 190 | |
---|
| 191 | * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1 |
---|
| 192 | - Update smproxy and rstart |
---|
| 193 | |
---|
| 194 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2 |
---|
| 195 | - bump again for double-long bug on ppc(64) |
---|
| 196 | |
---|
| 197 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1 |
---|
| 198 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 199 | |
---|
| 200 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1 |
---|
| 201 | - Updated all apps to version 1.0.1 from X11R7.0 |
---|
| 202 | |
---|
| 203 | * Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
| 204 | - Updated all apps to version 1.0.0 from X11R7 RC4. |
---|
| 205 | - Changed manpage dir from man1x to man1 to match upstream default. |
---|
| 206 | |
---|
| 207 | * Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4 |
---|
| 208 | - Add "Requires(pre): xorg-x11-filesystem >= 0.99.2-3" to avoid bug (#173384). |
---|
| 209 | - Added rstart-0.99.1-rstart-installation-location-fixes.patch and |
---|
| 210 | xsm-0.99.2-xsm-installation-location-fixes.patch to put config files in |
---|
| 211 | /etc and data files in /usr/share where they belong. |
---|
| 212 | - Added "Requires: xauth, rsh" as rstart invokes xauth, rsh. |
---|
| 213 | |
---|
| 214 | * Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 0.99.2-3 |
---|
| 215 | - require newer filesystem package (#172610) |
---|
| 216 | |
---|
| 217 | * Sun Nov 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2 |
---|
| 218 | - Added "Obsoletes: XFree86, xorg-x11", as all of these used to be in there. |
---|
| 219 | - Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME. (#173027) |
---|
| 220 | |
---|
| 221 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
| 222 | - Initial build of xsm, smproxy, and rstart from X11R7 RC1 |
---|