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

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