source: projects/specs/trunk/lib/libX/libXScrnSaver/libXScrnSaver-vl.spec @ 5869

Revision 5869, 7.6 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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