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

Revision 12185, 7.8 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

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