source: projects/specs/branches/6/lib/libX/libXrender/libXrender-vl.spec @ 1851

Revision 1851, 6.5 KB checked in by iwaim, 14 years ago (diff)

build with rpm-4.8.1-1; see [VineSeed:21790]

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libXrender runtime library
4Summary(ja): X.Org X11 libXrender ランタイムライブラリ
5Name: libXrender
6Version: 0.9.6
7Release: 2%{?_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
18Obsoletes: XFree86-libs, XOrg-libs
19
20%description
21X.Org X11 libXrender runtime library
22
23%package devel
24Summary: X.Org X11 libXrender development package
25Summary(ja): X.Org X11 libXrender 開発パッケージ
26Group: Development/Libraries
27Requires(pre): xorg-x11-filesystem
28Requires: %{name} = %{version}-%{release}
29Requires: xorg-x11-proto-devel
30Requires: libX11-devel
31Obsoletes: XFree86-devel, XOrg-devel
32
33%description devel
34X.Org X11 libXrender development package
35
36# compat32
37%package -n compat32-%{name}
38Summary: X.Org X11 libXrender runtime library
39Summary(ja): X.Org X11 libXrender ランタイムライブラリ
40Group: System Environment/Libraries
41
42%description -n compat32-%{name}
43X.Org X11 libXrender runtime library
44
45%package -n compat32-%{name}-devel
46Summary: X.Org X11 libXrender development package
47Summary(ja): X.Org X11 libXrender 開発パッケージ
48Group: Development/Libraries
49Requires(pre): xorg-x11-filesystem
50Requires: compat32-%{name} = %{version}-%{release}
51Requires: %{name}-devel = %{version}-%{release}
52
53%description -n compat32-%{name}-devel
54X.Org X11 libXrender development package
55
56%prep
57%setup -q
58
59# Disable static library creation by default.
60%define with_static 0
61
62%build
63%configure \
64%if ! %{with_static}
65        --disable-static
66%endif
67make
68
69%install
70rm -rf $RPM_BUILD_ROOT
71
72make install DESTDIR=$RPM_BUILD_ROOT
73
74# We intentionally don't ship *.la files
75rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
76
77rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83%postun -p /sbin/ldconfig
84
85%post -n compat32-%{name} -p /sbin/ldconfig
86%postun -n compat32-%{name} -p /sbin/ldconfig
87
88%files
89%defattr(-,root,root,-)
90%doc AUTHORS COPYING README ChangeLog
91%{_libdir}/libXrender.so.1
92%{_libdir}/libXrender.so.1.3.0
93
94%files devel
95%defattr(-,root,root,-)
96%doc doc/libXrender.txt
97%dir %{_includedir}/X11
98%dir %{_includedir}/X11/extensions
99%{_includedir}/X11/extensions/Xrender.h
100%if %{with_static}
101%{_libdir}/libXrender.a
102%endif
103%{_libdir}/libXrender.so
104%{_libdir}/pkgconfig/xrender.pc
105
106# compat32
107%if %{build_compat32}
108%files -n compat32-%{name}
109%defattr(-,root,root,-)
110%{_libdir}/libXrender.so.1
111%{_libdir}/libXrender.so.1.3.0
112
113%files -n compat32-%{name}-devel
114%defattr(-,root,root,-)
115%if %{with_static}
116%{_libdir}/libXrender.a
117%endif
118%{_libdir}/libXrender.so
119%{_libdir}/pkgconfig/xrender.pc
120%endif
121
122%changelog
123* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.9.6-2
124- build with rpm-4.8.1-1 for pkg-config file
125
126* Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.6-1
127- new upstream release
128
129* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.5-1
130- new upstream release
131
132* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.9.4-3
133- added compat32 package for x86_64 arch support
134
135* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-2
136- spec in utf-8
137
138* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-1
139- new versioning policy
140
141* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-0vl1
142- initial build for Vine Linux
143
144* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 0.9.4-1
145- libXrender 0.9.4
146
147* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> 0.9.3-1
148- libXrender 0.9.3
149
150* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 0.9.2-2
151- Don't install INSTALL
152
153* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 0.9.2-1
154- Update to 0.9.2
155
156* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 0.9.1-3.1
157- rebuild
158
159* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 0.9.1-3
160- Added "Requires: libX11-devel" to devel package for xrender.pc
161
162* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 0.9.1-2
163- Added "BuildRequires: pkgconfig" for (#193429)
164- Replace "makeinstall" with "make install DESTDIR=..."
165- Remove package ownership of mandir/libdir/etc.
166
167* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 0.9.1-1
168- Update to 0.9.1
169
170* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.9.0.2-3.2
171- bump again for double-long bug on ppc(64)
172
173* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.9.0.2-3.1
174- rebuilt for new gcc4.1 snapshot and glibc changes
175
176* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 0.9.0.2-3
177- Bump and rebuild
178
179* Mon Jan 16 2006 Mike A. Harris <mharris@redhat.com> 0.9.0.2-2
180- Added "Requires: xorg-x11-proto-devel" to resolve bug (#176742)
181
182* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 0.9.0.2-1
183- Updated libXrender to version 0.9.0.2 from X11R7 RC4
184
185* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.9.0.1-1
186- Updated libXrender to version 0.9.0.1 from X11R7 RC3
187- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
188  that /usr/lib/X11 and /usr/include/X11 pre-exist.
189- Removed 'x' suffix from manpage directories to match RC3 upstream.
190
191* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
192- rebuilt
193
194* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-5
195- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
196- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
197
198* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-4
199- Updated libXrender to version 0.9.0 from X11R7 RC1
200
201* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-3
202- Renamed package to remove xorg-x11 from the name due to unanimous decision
203  between developers.
204- Use Fedora Extras style BuildRoot tag.
205- Disable static library creation by default.
206- Add missing defattr to devel subpackage
207- Add missing documentation files to doc macro
208
209* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-2
210- Renamed package to prepend "xorg-x11" to the name for consistency with
211  the rest of the X11R7 packages.
212- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
213  subpackage to ensure the devel package matches the installed shared libs.
214- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
215  allow applications to use implementation agnostic dependencies.
216- Added post/postun scripts which call ldconfig.
217- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
218  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
219
220* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.9.0-1
221- Initial build.
Note: See TracBrowser for help on using the repository browser.