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

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