1 | Summary: X.Org X11 libfontenc runtime library |
---|
2 | Summary(ja): X.Org X11 libfontenc ランタイムライブラリ |
---|
3 | Name: libfontenc |
---|
4 | Version: 1.0.5 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: MIT/X11 |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://www.x.org |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
10 | |
---|
11 | Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | Patch1: libfontenc-1.0.0-encodingsdir.patch |
---|
14 | |
---|
15 | BuildRequires: pkgconfig |
---|
16 | BuildRequires: xorg-x11-util-macros |
---|
17 | BuildRequires: xorg-x11-proto-devel |
---|
18 | BuildRequires: zlib-devel |
---|
19 | #BuildRequires: xorg-x11-font-utils |
---|
20 | # FIXME: temporarily require autoconf for workaround |
---|
21 | BuildRequires: autoconf |
---|
22 | |
---|
23 | Obsoletes: XFree86-libs, XOrg-libs |
---|
24 | |
---|
25 | %description |
---|
26 | X.Org X11 libfontenc runtime library |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: X.Org X11 libfontenc development package |
---|
30 | Summary(ja): X.Org X11 libfontenc 開発パッケージ |
---|
31 | Group: Development/Libraries |
---|
32 | Requires(pre): xorg-x11-filesystem |
---|
33 | Requires: %{name} = %{version}-%{release} |
---|
34 | |
---|
35 | Obsoletes: XFree86-devel, XOrg-devel |
---|
36 | |
---|
37 | %description devel |
---|
38 | X.Org X11 libfontenc development package |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | %patch1 -p1 |
---|
43 | |
---|
44 | # Disable static library creation by default. |
---|
45 | %define with_static 0 |
---|
46 | |
---|
47 | %build |
---|
48 | # FIXME: libfontenc-0.99.2-use-datadir-for-encodings.patch requires that |
---|
49 | # aclocal, automake, and autoconf get invoked to activate the changes. |
---|
50 | # These can be removed once the patch is no longer necessary. |
---|
51 | #aclocal |
---|
52 | #automake |
---|
53 | autoconf |
---|
54 | %configure \ |
---|
55 | %if ! %{with_static} |
---|
56 | --disable-static |
---|
57 | %endif |
---|
58 | make |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | |
---|
63 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
64 | |
---|
65 | # Remove all libtool archives (*.la) |
---|
66 | find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || : |
---|
67 | |
---|
68 | %clean |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | %post -p /sbin/ldconfig |
---|
72 | %postun -p /sbin/ldconfig |
---|
73 | |
---|
74 | %files |
---|
75 | %defattr(-,root,root,-) |
---|
76 | %doc AUTHORS COPYING README ChangeLog |
---|
77 | %{_libdir}/libfontenc.so.1 |
---|
78 | %{_libdir}/libfontenc.so.1.0.0 |
---|
79 | |
---|
80 | %files devel |
---|
81 | %defattr(-,root,root,-) |
---|
82 | %dir %{_includedir}/X11 |
---|
83 | %dir %{_includedir}/X11/fonts |
---|
84 | %{_includedir}/X11/fonts/fontenc.h |
---|
85 | %if %{with_static} |
---|
86 | %{_libdir}/libfontenc.a |
---|
87 | %endif |
---|
88 | %{_libdir}/libfontenc.so |
---|
89 | %{_libdir}/pkgconfig/fontenc.pc |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Sun Mar 07 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-2 |
---|
93 | - add Patch1 to change encodingsdir to %%{_datadir}/fonts/X11/encodings |
---|
94 | |
---|
95 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2 |
---|
99 | - spec in utf-8 |
---|
100 | |
---|
101 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1 |
---|
102 | - new versioning policy |
---|
103 | |
---|
104 | * Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1 |
---|
105 | - initial build for Vine Linux |
---|
106 | |
---|
107 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-4 |
---|
108 | - Rebuild for build id |
---|
109 | |
---|
110 | * Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-3 |
---|
111 | - Don't install INSTALL |
---|
112 | |
---|
113 | * Wed Jan 24 2007 Adam Jackson <ajax@redhat.com> 1.0.4-2 |
---|
114 | - Add BuildRequires on xorg-x11-font-utils to set encodings path correctly. |
---|
115 | |
---|
116 | * Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1 |
---|
117 | - Update to 1.0.4 |
---|
118 | |
---|
119 | * Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1.fc7 |
---|
120 | - Update to 1.0.3 |
---|
121 | |
---|
122 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1 |
---|
123 | - rebuild |
---|
124 | |
---|
125 | * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2 |
---|
126 | - Remove package ownership of mandir/libdir/etc. |
---|
127 | - Added "BuildRequires: autoconf" temporarily as long as autoconf is needed |
---|
128 | |
---|
129 | * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1 |
---|
130 | - Update to 1.0.2 |
---|
131 | |
---|
132 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2 |
---|
133 | - bump again for double-long bug on ppc(64) |
---|
134 | |
---|
135 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1 |
---|
136 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
137 | |
---|
138 | * Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1 |
---|
139 | - Updated libfontenc to version 1.0.1 from X11R7.0 |
---|
140 | |
---|
141 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
142 | - Updated libfontenc to version 1.0.0 from X11R7 RC4 |
---|
143 | - Added libfontenc-1.0.0-get-fontdir-from-pkgconfig.patch which now replaces |
---|
144 | libfontenc-0.99.2-use-datadir-for-encodings.patch by using pkgconfig to |
---|
145 | query fontutil.pc for fontdir. |
---|
146 | - Added "BuildRequires: font-utils >= 1.0.0" to find fontutil.pc |
---|
147 | - Removed libfontenc-0.99.2-use-datadir-for-encodings.patch |
---|
148 | |
---|
149 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1 |
---|
150 | - Updated libfontenc to version 0.99.3 from X11R7 RC3 |
---|
151 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
152 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
153 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
154 | |
---|
155 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
156 | - rebuilt |
---|
157 | |
---|
158 | * Wed Nov 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3 |
---|
159 | - Bump xorg-x11-filesystem dep to >= 0.99.2-3 as -2 had bugs. |
---|
160 | |
---|
161 | * Tue Nov 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2 |
---|
162 | - Added libfontenc-0.99.2-use-datadir-for-encodings.patch and invoke aclocal |
---|
163 | and automake to activate the changes. This fixes a bug reported against |
---|
164 | mkfontscale, in which it looks in _datadir for the font encodings files, |
---|
165 | which was traced back to libfontenc (#173875). |
---|
166 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-2" to ensure that |
---|
167 | /usr/include/X11 is a directory rather than a symlink before this package |
---|
168 | gets installed, to avoid bug (#173384). |
---|
169 | |
---|
170 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
171 | - Updated libfontenc to version 0.99.2 from X11R7 RC2 |
---|
172 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
173 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
174 | |
---|
175 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1 |
---|
176 | - Updated libfontenc to version 0.99.1 from X11R7 RC1 |
---|
177 | |
---|
178 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-4 |
---|
179 | - Renamed package to remove xorg-x11 from the name due to unanimous decision |
---|
180 | between developers. |
---|
181 | - Use Fedora Extras style BuildRoot tag. |
---|
182 | - Disable static library creation by default. |
---|
183 | - Add missing defattr to devel subpackage |
---|
184 | - Add missing documentation files to doc macro |
---|
185 | |
---|
186 | * Wed Aug 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3 |
---|
187 | - Added zlib-devel build dependency |
---|
188 | |
---|
189 | * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2 |
---|
190 | - Renamed package to prepend "xorg-x11" to the name for consistency with |
---|
191 | the rest of the X11R7 packages. |
---|
192 | - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel |
---|
193 | subpackage to ensure the devel package matches the installed shared libs. |
---|
194 | - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to |
---|
195 | allow applications to use implementation agnostic dependencies. |
---|
196 | - Added post/postun scripts which call ldconfig. |
---|
197 | - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package, |
---|
198 | and Conflicts with XFree86-devel and xorg-x11-devel to devel package. |
---|
199 | |
---|
200 | * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1 |
---|
201 | - Initial build. |
---|