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

Revision 1901, 7.3 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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.0
7Release: 3%{?_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 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* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-3
121- rebuild with rpm-4.8.1 for pkg-config file
122
123* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-2
124- add scrnsaver.h
125
126* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-1
127- new upstream release
128
129* Mon Aug 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-2
130- add compat32 package for x86_64 arch support
131
132* Sat Jul 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-1
133- new upstream release
134
135* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-1
136- new versioning policy
137
138* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.2-0vl1
139- initial build for Vine Linux
140
141* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.2-3
142- Rebuild for build id
143
144* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.1.2-2
145- Don't install INSTALL
146
147* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.1.2-1
148- Update to 1.1.2
149
150* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.1-1
151- Update to 1.1.1
152
153* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.0-3.1
154- rebuild
155
156* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-3
157- Update build dep to "xorg-x11-proto-devel >= 7.0-9" for scrnsaverproto 1.1
158- Added "Requires: xorg-x11-proto-devel >= 7.0-9" to devel package, to match
159  what is listed as required in xscrnsaver.pc
160
161* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.0-2
162- Added "BuildRequires: pkgconfig" for (#193424)
163- Replace "makeinstall" with "make install DESTDIR=..."
164- Remove package ownership of mandir/libdir/etc.
165
166* Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-1
167- Update to 1.1.0, new Suspend request.
168
169* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-1.2
170- bump again for double-long bug on ppc(64)
171
172* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-1.1
173- rebuilt for new gcc4.1 snapshot and glibc changes
174
175* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
176- Updated libXScrnSaver to version 1.0.1 from X11R7.0
177
178* Mon Jan 16 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
179- Added "Requires: libX11-devel, libXext-devel" to work around bug (#176674).
180
181* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
182- Updated libXScrnSaver to version 1.0.0 from X11R7 RC4
183
184* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
185- Updated libXScrnSaver to version 0.99.3 from X11R7 RC3
186- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
187  that /usr/lib/X11 and /usr/include/X11 pre-exist.
188- Removed 'x' suffix from manpage directories to match RC3 upstream.
189
190* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
191- rebuilt
192
193* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-4
194- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
195- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
196
197* Wed Nov 2 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
198- Actually spell RPM_OPT_FLAGS correctly this time.
199
200* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
201- Build with -fno-strict-aliasing to work around possible pointer aliasing
202  issue
203
204* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
205- Updated libXScrnSaver to version 0.99.2 from X11R7 RC1
206- Updated file manifest to find manpages in "man3x"
207
208* Mon Oct  3 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
209- Updated to new upstream libXScrnSaver-0.99.1 which changes the .so name back
210  to libXss, but keeps the inconsistent package name.  This may change again
211  in the future.
212
213* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
214- Renamed package to remove xorg-x11 from the name due to unanimous decision
215  between developers.
216- Use Fedora Extras style BuildRoot tag.
217- Disable static library creation by default.
218- Add missing defattr to devel subpackage
219- Add missing documentation files to doc macro
220
221* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
222- Renamed package to prepend "xorg-x11" to the name for consistency with
223  the rest of the X11R7 packages.
224- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
225  subpackage to ensure the devel package matches the installed shared libs.
226- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
227  allow applications to use implementation agnostic dependencies.
228- Added post/postun scripts which call ldconfig.
229- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
230  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
231
232* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
233- Initial build.
Note: See TracBrowser for help on using the repository browser.