source: projects/specs/trunk/x/xorg-x11-xdm/xorg-x11-xdm-vl.spec @ 8064

Revision 8064, 10.7 KB checked in by Takemikaduchi, 10 years ago (diff)

freetype2: fix pkgconfig
xserver: update to 1.14.5
others: new upstream release or rebuild

Line 
1%define pkgname xdm
2
3Summary: X.Org X11 xdm - X Display Manager
4Summary(ja): X.Org X11 xdm - X ディスプレイマネージャ
5Name: xorg-x11-%{pkgname}
6Version: 1.1.11
7Release: 2%{?_dist_release}
8License: MIT/X11
9Group: User Interface/X
10URL: http://www.x.org
11BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
12
13Source0: ftp://ftp.x.org/pub/individual/app/xdm-%{version}.tar.bz2
14Source1: Xsetup_0
15Source11: xdm.pamd
16Source13: xserver.pamd
17
18Patch11: xdm-1.0.5-sessreg-utmp-fix-bug177890.patch
19
20# FIXME: Temporary build dependencies for autotool dependence.
21BuildRequires: autoconf, automake, libtool
22
23BuildRequires: pkgconfig
24BuildRequires: xorg-x11-util-macros
25BuildRequires: xorg-x11-xtrans-devel
26BuildRequires: libXaw-devel
27BuildRequires: libXmu-devel
28BuildRequires: libXt-devel
29BuildRequires: libSM-devel
30BuildRequires: libICE-devel
31BuildRequires: libXext-devel
32BuildRequires: libXpm-devel
33BuildRequires: libX11-devel
34BuildRequires: libXdmcp-devel
35BuildRequires: libXau-devel
36BuildRequires: libXinerama-devel
37BuildRequires: pam-devel
38
39Provides: xdm
40
41Obsoletes: XFree86-xdm, XOrg-xdm
42Obsoletes: xinitrc
43
44# NOTE: xorg-x11-filesystem is required by all packages that put files into
45# /usr/lib/X11 or /usr/include/X11 to ensure that on OS upgrades, they are
46# real directories, and not symbolic links.
47Requires(pre): xorg-x11-filesystem
48
49Requires: pam
50
51# We want to use the system Xsession script
52Requires: xorg-x11-xinit
53
54Vendor: Project Vine
55Distribution: Vine Linux
56Packager: Takemikaduchi
57
58%description
59X.Org X11 xdm - X Display Manager
60
61%description -l ja
62X.Org X11 xdm - X ディスプレイマネージャ
63
64%prep
65%setup -q -n %{pkgname}-%{version}
66
67%patch11 -p0 -b .sessreg-utmp-fix-bug177890
68
69%build
70# FIXME: Work around pointer aliasing warnings from compiler for now
71export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
72# NOTE: We invoke aclocal/automake/autoconf to enable the changes present in
73# xdm-0.99.3-xdm-app-defaults-in-datadir.patch & xdm-0.99.3-xdm-configdir.patch
74#aclocal
75#libtoolize --force
76#automake
77#autoconf
78autoreconf -if
79%configure \
80        --disable-static \
81        --disable-xprint \
82        --with-xdmconfigdir=%{_sysconfdir}/X11/xdm \
83        --with-xdmscriptdir=%{_sysconfdir}/X11/xdm \
84        --with-pixmapdir=%{_datadir}/xdm/pixmaps
85
86make %{?_smp_mflags}
87
88%install
89rm -rf $RPM_BUILD_ROOT
90make install DESTDIR=$RPM_BUILD_ROOT
91
92# FIXME: Remove all libtool archives (*.la) from modules directory.  This
93# should be fixed in upstream Makefile.am or whatever.
94find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f --
95
96install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm/Xsetup_0
97
98# Install pam xdm config files
99{
100   mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
101   install -c -m 644 %{SOURCE13} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xserver
102   install -c -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/xdm
103}
104
105rm -f $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm/Xsession
106(cd $RPM_BUILD_ROOT%{_sysconfdir}/X11/xdm; ln -sf ../xinit/Xsession .)
107
108%clean
109rm -rf $RPM_BUILD_ROOT
110
111%files
112%defattr(-,root,root,-)
113%doc AUTHORS COPYING INSTALL NEWS README ChangeLog
114%{_bindir}/xdm
115%dir %{_sysconfdir}/X11/xdm
116# NOTE: The Xaccess file from our "xinitrc" package had no customizations,
117# and was out of sync with upstream, so we ship the upstream one now.
118%{_sysconfdir}/X11/xdm/Xaccess
119%{_sysconfdir}/X11/xdm/Xresources
120%{_sysconfdir}/X11/xdm/Xservers
121%{_sysconfdir}/X11/xdm/xdm-config
122# NOTE: In Fedora Core 4 and earlier, most of these config files and scripts
123# were kept in the "xinitrc" package as forked copies, however they were
124# quite out of date, and did not contain anything useful, so we now ship the
125# upstream files and can patch them as needed to make changes.
126%{_sysconfdir}/X11/xdm/GiveConsole
127%{_sysconfdir}/X11/xdm/TakeConsole
128%{_sysconfdir}/X11/xdm/Xreset
129%{_sysconfdir}/X11/xdm/Xsession
130%{_sysconfdir}/X11/xdm/Xsetup_0
131%{_sysconfdir}/X11/xdm/Xstartup
132%{_sysconfdir}/X11/xdm/Xwilling
133# NOTE: For security, upgrades of this package will install the new pam.d
134# files and make backup copies by default.  'noreplace' is intentionally avoided
135# here.
136%config %attr(0644,root,root) %{_sysconfdir}/pam.d/xdm
137%config %attr(0644,root,root) %{_sysconfdir}/pam.d/xserver
138%dir %{_datadir}/X11
139# NOTE: We intentionally default to OS supplied file being favoured here on
140# OS upgrades.
141%config %{_datadir}/X11/app-defaults/Chooser
142%dir %{_datadir}/xdm
143%dir %{_datadir}/xdm/pixmaps
144%{_datadir}/xdm/pixmaps/xorg-bw.xpm
145%{_datadir}/xdm/pixmaps/xorg.xpm
146%dir %{_libdir}/X11/xdm
147%{_libdir}/X11/xdm/chooser
148%{_libdir}/X11/xdm/libXdmGreet.so
149%{_mandir}/man1/*.1*
150
151%changelog
152* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.11-2
153- rebuild with VineSeed environment
154
155* Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.11-1
156- new upstream release
157- remove Patch10
158
159* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.10-1
160- new upstream release
161
162* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.9-1
163- new upstream release
164
165* Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.8-1
166- new upstream release
167
168* Fri May 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.6-1
169- initial build for Vine Linux
170
171* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.1.6-3
172- Autorebuild for GCC 4.3
173
174* Fri Aug 24 2007 Ray Strode <rstrode@redhat.com> 1:1.1.6-2
175- Use system Xsession script (bug 244264)
176
177* Fri Aug 17 2007 Dave Airlie <airlied@redhat.com> 1:1.1.6-1
178- Update to 1.1.6
179
180* Sat Aug 11 2007 Dave Airlie <airlied@redhat.com> 1:1.1.5-1
181- Update to 1.1.5
182
183* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1:1.1.3-1
184- Update to 1.1.3
185
186* Mon Jul 24 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-5.fc6
187- Added xdm-1.0.5-sessreg-utmp-fix-bug177890.patch to restore GiveConsole to
188  what we shipped in 6.8.2, and also fix bug (#177890)
189
190* Wed Jul 19 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-4.fc6
191- Remove app-defaults dir from file manifest, as it is owned by libXt (#174021)
192
193* Mon Jul 17 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-3.fc6
194- Added pam_keyinit.so support to xdm.pamd and xserver.pamd (#198631)
195- Flag pam.d{xdm,xserver} as attr(0644,root,root) replaceable config files.
196- Flag app-defaults/Chooser as a replaceable config file.
197- Add conditional {dist} flag to Release field.
198
199* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.5-2
200- rebuild
201
202* Wed Jun 28 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.5-1
203- Updated xdm to version 1.0.5.
204- Remove xdm-1.0.4-setuid.diff as it is integrated in 1.0.5
205
206* Wed Jun 21 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.4-4
207- Add missing documentation to doc macro.
208- Clean cruft out of specfile.
209
210* Tue Jun 20 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.4-3
211- Added xdm-1.0.4-setuid.diff to fix potential security issue (#196094)
212- Added temporary "BuildRequires: autoconf, automake, libtool" dependencies
213  for mock builds, for as long as we need to run autotools at compile time.
214
215* Tue May 30 2006 Adam Jackson <ajackson@redhat.com> 1:1.0.4-2
216- Fix BuildRequires (#191858)
217
218* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1:1.0.4-1
219- Updated to version 1.0.4
220
221* Fri Mar 31 2006 Adam Jackson <ajackson@redhat.com> 1:1.0.3-1
222- Updated to version 1.0.3.  Forcibly relibtoolize to avoid present and future
223  bogons on libXdmGreet.so losing the .so extension.
224
225* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.2
226- bump again for double-long bug on ppc(64)
227
228* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1:1.0.1-1.1
229- rebuilt for new gcc4.1 snapshot and glibc changes
230
231* Mon Jan 09 2006 Mike A. Harris <mharris@redhat.com> 1:1.0.1-1
232- Updated xdm to version 1.0.1 from X11R7.
233- Added --with-xdmscriptdir option to ./configure to put scripts in /etc
234- Updated xdm-1.0.1-redhat-xdm-config-fix.patch to work with xdm 1.0.1
235
236* Thu Nov 24 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-6
237- Updated xdm.pamd to work with recent pam changes, and bumped the minimum
238  pam requirement up to 0.78-0 for FC5 builds. (#170661)
239- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", as the xdm package
240  puts files into /usr/lib/X11, so we have to make sure it is not a symlink.
241- Removed "filesystem" package dependency, as xorg-x11-filesystem carries
242  that dependency now, so it can be updated in one spot.
243- Added missing "BuildRequires: pkgconfig".
244- Added xdm-0.99.3-xdm-app-defaults-in-datadir.patch to force app-defaults
245  files to install into _datadir instead of _libdir.
246- Added xdm-0.99.3-xdm-scripts-in-configdir.patch to put the xdm scripts in
247  _sysconfdir, and removed older xdm-0.99.3-xdm-configdir.patch which hacked
248  up Makefile.in.  Fixes a typo that caused Xreset to not get installed
249  properly also.
250
251* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 1:0.99.3-5
252- require newer filesystem package (#172610)
253
254* Mon Nov 14 2005 Jeremy Katz <katzj@redhat.com> 1:0.99.3-4
255- install scripts into /etc/X11/xdm instead of %%{_libdir} (#173081)
256- use our Xsetup_0 instead of xorg one (#173083)
257
258* Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-3
259- Added "Obsoletes: xinitrc", as xdm now provides files that were previously
260  part of that package.  xorg-x11-xinit now provides the xinitrc scripts.
261
262* Sat Nov 12 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-2
263- Rebuild against new libXaw 0.99.2-2, which has fixed DT_SONAME.
264- Added xdm-0.99.3-redhat-xdm-config-fix.patch which merges in an
265  xdm-config fix present in the forked Red Hat xdm-config from the FC4
266  xinitrc package, which invokes Xwilling with "-s /bin/bash" instead
267  of "-c" to fix bug (#86505).
268- Removed ancient xdm rpm preinstall script, as it should be unnecessary now.
269
270* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.3-1
271- Update xdm to 0.99.3 from X11R7 RC2.
272
273* Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.3
274- Build with -fno-strict-aliasing to work around possible pointer aliasing
275  issues
276
277* Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.2
278- It is _sysconfdir not _sysconfigdir goofball!
279- Add {_sysconfdir}/pam.d/xdm and {_sysconfdir}/pam.d/xserver files that were
280  missing from file manifest.
281
282* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.1
283- Make sure all dirs are owned that xdm creates.
284- Misc spec file cleanups
285
286* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 1:0.99.2-1.20051031.0
287- Update xdm to 0.99.2 from X11R7 RC1.
288- Update to CVS snapshot from 20051031
289- Add Epoch 1, and change package to use the xdm version number.  Later, if
290  we decide to rename the package to "xdm", we can drop the Epoch tag.
291- Disable Xprint support
292- Use _smp_mflags
293- Add xdm-0.99.2-to-20051031.patch to pick up fixes from CVS head that allow
294  us to set the config dir and other dirs.
295
296* Wed Oct 05 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-2
297- Use Fedora-Extras style BuildRoot tag
298- Update BuildRequires to use new library package names
299
300* Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 6.99.99.0-1
301- Initial build.
Note: See TracBrowser for help on using the repository browser.