source: projects/specs/branches/6/lib/libX/libXScrnSaver/libXScrnSaver-vl.spec @ 2203

Revision 2203, 7.4 KB checked in by Takemikaduchi, 13 years ago (diff)

update Xorg libraries and xserver, and rebuild driver

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libXss runtime library
4Summary(ja): X.Org X11 libXss ランタイムライブラリ
5Name: libXScrnSaver
6Version: 1.2.1
7Release: 1%{?_dist_release}
8License: MIT/X11
9Group: System Environment/Libraries
10URL: http://www.x.org
11
12Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires: pkgconfig
16BuildRequires: xorg-x11-proto-devel
17BuildRequires: libX11-devel
18BuildRequires: libXext-devel
19Obsoletes: XFree86-libs, XOrg-libs
20
21%description
22X.Org X11 libXss runtime library
23
24%package devel
25Summary: X.Org X11 libXScrnSaver development package
26Summary(ja): X.Org X11 libXScrnSaver 開発パッケージ
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires(pre): xorg-x11-filesystem
30Requires: xorg-x11-proto-devel
31Requires: libX11-devel
32Requires: libXext-devel
33Obsoletes: XFree86-devel, XOrg-devel
34
35%description devel
36X.Org X11 libXss development package
37
38# compat32
39%package -n compat32-%{name}
40Summary: X.Org X11 libXss runtime library
41Summary(ja): X.Org X11 libXss ランタイムライブラリ
42Group: System Environment/Libraries
43
44%description -n compat32-%{name}
45X.Org X11 libXss runtime library
46
47%package -n compat32-%{name}-devel
48Summary: X.Org X11 libXss development package
49Summary(ja): X.Org X11 libXss 開発パッケージ
50Group: Development/Libraries
51Requires(pre): xorg-x11-filesystem
52Requires: %{name}-devel = %{version}-%{release}
53Requires: compat32-%{name} = %{version}-%{release}
54Requires: compat32-libX11-devel, compat32-libXext-devel
55
56%description -n compat32-%{name}-devel
57X.Org X11 libXss development package
58
59%prep
60%setup -q
61
62# Disable static library creation by default.
63%define with_static 0
64
65%build
66# FIXME: XScrnSaver.c:429: warning: dereferencing type-punned pointer will break strict-aliasing rules
67export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
68%configure \
69%if ! %{with_static}
70        --disable-static
71%endif
72make
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77make install DESTDIR=$RPM_BUILD_ROOT
78
79# We intentionally don't ship *.la files
80rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post -p /sbin/ldconfig
86%postun -p /sbin/ldconfig
87
88%post -n compat32-%{name} -p /sbin/ldconfig
89%postun -n compat32-%{name} -p /sbin/ldconfig
90
91%files
92%defattr(-,root,root,-)
93%doc COPYING README ChangeLog
94%{_libdir}/libXss.so.1
95%{_libdir}/libXss.so.1.*
96
97%files devel
98%defattr(-,root,root,-)
99%{_includedir}/X11/extensions/*.h
100%if %{with_static}
101%{_libdir}/libXss.a
102%endif
103%{_libdir}/libXss.so
104%dir %{_libdir}/pkgconfig
105%{_libdir}/pkgconfig/xscrnsaver.pc
106%{_mandir}/man3/*.3*
107
108%if %{build_compat32}
109%files -n compat32-%{name}
110%defattr(-,root,root,-)
111%{_libdir}/libXss.so.*
112
113%files -n compat32-%{name}-devel
114%defattr(-,root,root,-)
115%{_libdir}/libXss.so
116%{_libdir}/pkgconfig/xscrnsaver.pc
117%endif
118
119%changelog
120* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
121- new upstream release
122
123* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-3
124- rebuild with rpm-4.8.1 for pkg-config file
125
126* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-2
127- add scrnsaver.h
128
129* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
130- new upstream release
131
132* Mon Aug 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-2
133- add compat32 package for x86_64 arch support
134
135* Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
136- new upstream release
137
138* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-1
139- new versioning policy
140
141* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-0vl1
142- initial build for Vine Linux
143
144* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.2-3
145- Rebuild for build id
146
147* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.1.2-2
148- Don't install INSTALL
149
150* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.1.2-1
151- Update to 1.1.2
152
153* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.1-1
154- Update to 1.1.1
155
156* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.0-3.1
157- rebuild
158
159* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-3
160- Update build dep to "xorg-x11-proto-devel >= 7.0-9" for scrnsaverproto 1.1
161- Added "Requires: xorg-x11-proto-devel >= 7.0-9" to devel package, to match
162  what is listed as required in xscrnsaver.pc
163
164* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-2
165- Added "BuildRequires: pkgconfig" for (#193424)
166- Replace "makeinstall" with "make install DESTDIR=..."
167- Remove package ownership of mandir/libdir/etc.
168
169* Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-1
170- Update to 1.1.0, new Suspend request.
171
172* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-1.2
173- bump again for double-long bug on ppc(64)
174
175* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-1.1
176- rebuilt for new gcc4.1 snapshot and glibc changes
177
178* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
179- Updated libXScrnSaver to version 1.0.1 from X11R7.0
180
181* Mon Jan 16 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
182- Added "Requires: libX11-devel, libXext-devel" to work around bug (#176674).
183
184* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
185- Updated libXScrnSaver to version 1.0.0 from X11R7 RC4
186
187* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
188- Updated libXScrnSaver to version 0.99.3 from X11R7 RC3
189- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
190  that /usr/lib/X11 and /usr/include/X11 pre-exist.
191- Removed 'x' suffix from manpage directories to match RC3 upstream.
192
193* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
194- rebuilt
195
196* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
197- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
198- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
199
200* Wed Nov 2 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
201- Actually spell RPM_OPT_FLAGS correctly this time.
202
203* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
204- Build with -fno-strict-aliasing to work around possible pointer aliasing
205  issue
206
207* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
208- Updated libXScrnSaver to version 0.99.2 from X11R7 RC1
209- Updated file manifest to find manpages in "man3x"
210
211* Mon Oct  3 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
212- Updated to new upstream libXScrnSaver-0.99.1 which changes the .so name back
213  to libXss, but keeps the inconsistent package name.  This may change again
214  in the future.
215
216* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
217- Renamed package to remove xorg-x11 from the name due to unanimous decision
218  between developers.
219- Use Fedora Extras style BuildRoot tag.
220- Disable static library creation by default.
221- Add missing defattr to devel subpackage
222- Add missing documentation files to doc macro
223
224* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
225- Renamed package to prepend "xorg-x11" to the name for consistency with
226  the rest of the X11R7 packages.
227- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
228  subpackage to ensure the devel package matches the installed shared libs.
229- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
230  allow applications to use implementation agnostic dependencies.
231- Added post/postun scripts which call ldconfig.
232- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
233  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
234
235* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
236- Initial build.
Note: See TracBrowser for help on using the repository browser.