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

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