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