source: projects/specs/trunk/t/t1lib/t1lib-vl.spec @ 3886

Revision 3886, 7.2 KB checked in by inagaki, 13 years ago (diff)

update: fprintd, fprint_demo, t1lib

Line 
1Summary:        PostScript Type 1 font rasterizer
2Name:           t1lib
3Version:        5.1.2
4Release:        1%{?_dist_release}
5Epoch:          1
6
7Group:          System Environment/Libraries
8License:        LGPLv2+
9URL:            ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-%{version}.lsm
10
11Source:         ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz
12Patch1:         %{name}-doc.patch.bz2
13Patch2:         %{name}-config.patch.bz2
14Patch3:         %{name}-5.1.2-segf.patch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  libICE-devel libX11-devel libXaw-devel libXpm-devel
18BuildRequires:  texlive
19
20%description
21T1lib is a library for generating character and string-glyphs from
22Adobe Type 1 fonts under UNIX. T1lib uses most of the code of the X11
23rasterizer donated by IBM to the X11-project. But some disadvantages
24of the rasterizer being included in X11 have been eliminated.
25T1lib also includes a support for antialiasing.
26
27%package devel
28Summary:        Header files for PostScript Type 1 font rasterizer
29Group:          Development/Libraries
30Requires:       %{name} = %{epoch}:%{version}-%{release}
31Provides:       %{name}-devel = %{version}-%{release}
32
33%description devel
34Header files required for compiling packages
35needing the t1lib.
36
37%package static-devel
38Summary:        Static libraries for PostScript Type 1 font rasterizer
39Group:          Development/Libraries
40Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
41Provides:       %{name}-static-devel = %{version}-%{release}
42
43%description static-devel
44Static libraries required for staticaly compiling packages needing the t1lib.
45
46%package progs
47Summary:        Programs dor manipulating Type 1 font
48Group:          Applications/Graphics
49License:        GPLv2+
50Requires:       %{name} = %{epoch}:%{version}
51Provides:       %{name}-progs
52
53%description progs
54The t1lib-progs contains the programs "xglyph" and "type1afm"
55It also contains the "t1libconfig" script used to configure t1lib.
56
57%prep
58%setup -q
59%patch1 -p0
60%patch2 -p0
61%patch3 -p1 -b .segf
62
63iconv -f latin1 -t utf8 < Changes > Changes.utf8
64touch -r Changes Changes.utf8
65mv Changes.utf8 Changes
66
67%build
68%configure
69#export tagname=CC
70perl -pi -e 's,-DGLOBAL_CONFIG_DIR="\\"/usr/share/t1lib\\"",-DGLOBAL_CONFIG_DIR="\\"/etc/t1lib\\"",;' Makefile
71#(cd lib
72#perl -pi -e 's,$(DESTDIR)/usr/share/t1lib,$(DESTDIR)$(datedir)t1lib,;' Makefile
73#)
74make without_doc
75#LIBTOOL=/usr/bin/libtool
76touch -r lib/t1lib/t1lib.h.in lib/t1lib.h
77touch -r lib/t1lib/t1libx.h lib/t1libx.h
78ln README.t1lib-%{version} README
79
80(cd doc
81make clean
82make pdf)
83
84%install
85rm -rf $RPM_BUILD_ROOT
86install -d $RPM_BUILD_ROOT%{_libdir} \
87        $RPM_BUILD_ROOT%{_datadir} \
88        $RPM_BUILD_ROOT%{_bindir} \
89        $RPM_BUILD_ROOT%{_includedir}
90make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
91
92rm -f $RPM_BUILD_ROOT%{_libdir}/libt1*.la
93chmod a+x $RPM_BUILD_ROOT%{_libdir}/libt1*.so.*
94
95mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/t1lib
96mv $RPM_BUILD_ROOT%{_datadir}/t1lib/t1lib.config $RPM_BUILD_ROOT%{_sysconfdir}/t1lib
97
98%post   -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
101%clean
102rm -rf $RPM_BUILD_ROOT
103
104
105%files -n %{name}
106%defattr(-,root,root)
107%config(noreplace) %{_sysconfdir}/t1lib/t1lib.config
108%doc Changes LGPL README.t1*
109%{_libdir}/libt1*.so.*
110
111%files -n %{name}-devel
112%defattr(-,root,root)
113%doc LGPL doc/t1lib_doc.pdf
114%{_includedir}/*
115%{_libdir}/*.so
116
117%files -n %{name}-static-devel
118%defattr(-,root,root)
119%doc LGPL
120%{_libdir}/*.a
121
122%files -n %{name}-progs
123%defattr(-,root,root)
124%doc LICENSE README.t1python
125%{_bindir}/*
126
127%changelog
128* Sun May 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.2-1
129- updated to 5.1.2
130- added Patch3 from Fedora
131
132* Mon Apr 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.2-3
133- rebuild with current VineSeed
134- use BR: texlive instead of tetex
135
136* Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 5.0.2-2vl5
137- rebuild with libXaw.so.7 (libXaw-1.0.5)
138- spec in utf-8
139
140* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 5.0.2-1vl5
141- applied new versioning policy
142- removed *.la
143- added BuildRequires: xorg-x11-devel libXpm-devel, instead of XFree86-devel xpm-devel
144
145* Sat Dec 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.2-0vl2
146- fixed spec file to build current environment
147- added %{epoch} related t1libs
148
149* Sat Jun 19 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.0.2-0vl1
150- updated to 5.0.2
151- changed Group:
152
153* Sun Mar 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 5.0.0-0vl1
154- new upstream release 5.0.0
155
156* Fri May 31 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.3.1-5vl0
157- modified for Vine
158
159* Thu May 16 2002 Yves Duret <yduret@mandrakesoft.com> 1.3.1-5mdk
160- 9.0 lib policy: added %libname-static-devel
161
162* Wed Apr 17 2002 Yves Duret <yduret@mandrakesoft.com> 1.3.1-4mdk
163- use %%makeinstall_std
164- use %%buildroot
165- devel package provides %%version-%%release
166
167* Sat Feb 02 2002 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.3.1-3mdk
168- fixed multiple "install -d" (problem with {).
169
170* Mon Jan 21 2002 Yves Duret <yduret@mandrakesoft.com> 1.3.1-2mdk
171- use the freshmeat url
172
173* Sun Jan 13 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.3.1-1mdk
174- 1.3.1.
175- Remove the URL. There doesn't seem to be one for it.
176
177* Sun Oct 28 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 1.3-1mdk
178- The all new-and-shiny t1lib 1.3.
179
180* Wed Aug 15 2001 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.2-2mdk
181- removed .dvi.gz doc.
182- removed .ps docs and unneeded .eps files. All printable doc files
183  now replaced with only one PDF doc file.
184
185* Tue Aug 07 2001 Yves Duret <yduret@mandrakesoft.com> 1.2-1mdk
186- version 1.2
187- s{Serial}{Epoch} & s{Copyright}{License}
188- updated url & source
189- added Patch{0,1,2}
190- fix buildrequires
191- remove big, fussy and redundand pdf/ps doc (ghibo sux) :
192  size of devel rpm divided by more than 2 !
193
194* Wed May 23 2001 Yves Duret <yduret@mandrakesoft.com> 1.1.1-2mdk
195- more and more macros
196- s{Copyright}{License}
197
198* Sat May 05 2001 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.1.1-1mdk
199- updated to release 1.1.1 (bugfixes).
200
201* Tue Mar 13 2001 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.1.0-1mdk
202- updated to release 1.1.0.
203- gzip doc instead of bzip2.
204- removed docdir patch.
205
206* Wed Dec 27 2000 Yves Duret <yduret@mandrakesoft.com> 1.0.1-6mdk
207- added a obsoletes -devel tag.
208
209* Tue Dec 26 2000 Yves Duret <yduret@mandrakesoft.com> 1.0.1-5mdk
210- splitted into main deval and progs packages.
211- config file now in /etc as it should be
212- used bzip2 instead of gzip for doc
213- macros
214
215* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.0.1-4mdk
216- automatically added BuildRequires
217
218* Fri Jul 28 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-3mdk
219- BM + macroszification
220
221* Tue May 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.0.1-2mdk
222- Move .so from devel to package and add some links for alpha.
223
224* Sat Apr 01 2000 Giuseppe Ghibメ<ghibo@mandrakesoft.com> 1.0.1-1mdk
225- updated to version 1.0.1.
226- moved .so file to devel package.
227- exchanged package group between main and -devel packages.
228
229* Thu Mar 23 2000 Daouda Lo <daouda@mandrakesoft.com> 0.9.2-3mdk
230- fix group.
231
232* Thu Jan 13 2000 Pixel <pixel@mandrakesoft.com>
233- libtoolize --force.
234
235* Sat Oct 30 1999 Giuseppe Ghibメ<ghibo@linux-mandrake.com>
236- updated to version 0.9.2.
237
238* Thu Aug 12 1999 Giuseppe Ghibメ<ghibo@linux-mandrake.com>
239- added PostScript documentation.
240- split into main and devel package.
241
242* Sun Aug 1 1999 Richard D. Jackson <richardj@1gig.net>
243- first release of t1lib-0.9.1
Note: See TracBrowser for help on using the repository browser.