source: projects/specs/branches/6/f/fontforge/fontforge-vl.spec @ 4314

Revision 4314, 5.4 KB checked in by daisuke, 13 years ago (diff)

fontforge: new upsteam release

Line 
1%define origversion 20110222
2
3Summary: Outline and bitmap font editor
4Summary(ja): アウトライン・ビットマップフォントエディタ
5Name: fontforge
6Version: %{origversion}
7Release: 1%{?_dist_release}
8License: BSD
9Group: Applications/Publishing
10URL: http://fontforge.sourceforge.net/
11Source: fontforge_full-%{origversion}.tar.bz2
12Source10: %{name}.desktop
13Source20: %{name}.png
14Patch10: fontforge-browser.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17BuildRequires: xorg-x11-proto-devel
18BuildRequires: libXt-devel
19BuildRequires: freetype2-devel, libuninameslist-devel
20BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, libungif-devel
21BuildRequires: libxml2-devel
22BuildRequires: desktop-file-utils
23BuildRequires: python-devel
24BuildRequires:  pango-devel
25BuildRequires:  cairo-devel
26Obsoletes: pfaedit
27Obsoletes: fontforge-devel <= 20050310
28
29Requires: xdg-utils
30
31Vendor: Project Vine
32Distribution: Vine Linux
33
34%description
35FontForge (former PfaEdit) is a font editor for outline and bitmap
36fonts. It supports a range of font formats, including PostScript
37(ASCII and binary Type 1, some Type 3 and Type 0), TrueType, OpenType
38(Type2) and CID-keyed fonts.
39
40%prep
41%setup -q -n %{name}-%{origversion}
42%patch10 -p1 -b .browser
43
44%{__cp} %{SOURCE10} %{name}.desktop
45
46%build
47%configure --with-freetype-bytecode=no -with-regular-link
48%{__make} %{?_smp_mflags}
49
50%install
51%{__rm} -rf %{buildroot}
52%makeinstall
53
54%{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
55desktop-file-install \
56        --vendor "" \
57        --dir %{buildroot}%{_datadir}/applications \
58        fontforge.desktop
59
60%{__install} -d -m0755 %{buildroot}%{_datadir}/pixmaps/
61%{__install} -m644 %{SOURCE20} %{buildroot}%{_datadir}/pixmaps/
62
63%find_lang FontForge
64
65%{__rm} -f %{buildroot}%{_libdir}/*.la
66
67%clean
68%{__rm} -rf %{buildroot}
69
70%post
71/sbin/ldconfig 2>/dev/null
72update-desktop-database %{_datadir}/applications &>/dev/null || :
73
74%postun
75/sbin/ldconfig 2>/dev/null
76update-desktop-database %{_datadir}/applications &>/dev/null || :
77
78%files -f FontForge.lang
79%defattr(-, root, root, 0755)
80%doc AUTHORS LICENSE README-unix
81%{_bindir}/*
82%{_libdir}/lib*.so.*
83%{_libdir}/lib*.so
84%{_libdir}/pkgconfig/fontforge.pc
85%dir %{_includedir}/fontforge
86%{_includedir}/fontforge/*
87%{_datadir}/applications/fontforge.desktop
88%{_datadir}/pixmaps/fontforge.png
89%{_datadir}/fontforge
90%{_mandir}/man1/fontforge.1*
91%{_mandir}/man1/fontimage.1*
92%{_mandir}/man1/fontlint.1*
93%{_mandir}/man1/sfddiff.1*
94
95%changelog
96* Sun Jul 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 20110222-1
97- new upstream version
98
99* Mon Sep 27 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 20100501-1
100- new upstream release
101
102* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 20090923-3
103- rebuilt with rpm-4.8.1 for pkg-config
104
105* Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 20090923-2
106- rebuilt with python-2.6.4-3
107
108* Sat Nov 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090923-1
109- new upstream release
110- add BR: pango-devel, cairo-devel
111
112* Wed Apr 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 20090408-1
113- new upstream release
114
115* Mon Nov 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20081115-1
116- new upstream release
117
118* Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-2
119- rebuild with python2.5
120
121* Sun Jun 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20080429-1
122- new upstream release
123- build with xorg-x11-7.3
124- add Requires: xdg-utils
125
126* Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-1
127- rebuild with xorg-x11-7.3
128
129* Mon Jul 30 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070723-0vl1
130- new upstream release
131
132* Sat May 05 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 20070501-0vl1
133- new upstream release
134
135* Wed Sep 13 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 20060822-0vl1
136- new upstream release
137- add -q option to %%setup
138
139* Sun Jul 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 20060703-0vl1
140- new upstream release
141
142* Mon Oct 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 20050502-0vl1
143- new upstream release
144- update Summaries and descriptions, URL...
145- add fontforge icons and desktop file
146- add Patch10 to prefer htmlview or firefox for default browser
147
148* Sat Mar 12 2005 Jun NISHII <jun@vinelinux.org>
149- move to fontforge
150
151* Fri Jul 19 2002 Ryoichi Ichiyama <ir@bellbind.net>
152- Updated to 2002/07/15.
153
154* Fri Apr 19 2002 Ryoichi Ichiyama <ir@bellbind.net>
155- Updated to 2002/04/16.
156
157* Sun Mar 3 2002 Ryoichi Ichiyama <ir@bellbind.net>
158- Updated to 2002/03/02.
159
160* Mon Feb 18 2002 Ryoichi Ichiyama <ir@bellbind.net>
161- Updated to 2002/02/16.
162
163* Sat Feb 16 2002 Ryoichi Ichiyama <ir@bellbind.net>
164- Updated to 2002/02/14.
165
166* Thu Feb 14 2002 Ryoichi Ichiyama <ir@bellbind.net>
167- Updated to 2002/02/12.
168
169* Mon Feb 10 2002 Ryoichi Ichiyama <ir@bellbind.net>
170- Updated to 2002/02/09.
171
172* Sat Feb 9 2002 Ryoichi Ichiyama <ir@bellbind.net>
173- Change SPEC file to VineLinux Style
174- Updated to 2002/02/05.
175
176* Fri Nov  2 2001 George Williams <gww@silcom.com>
177- went from three source packages down to just one which includes the others
178
179* Thu May 10 2001 George Williams <gww@silcom.com>
180- My first attempt at rpm, updated to 10 May sources
181
182* Tue May 01 2001 Scott Pakin <pakin@uiuc.edu>
183- Removed (unused) dynamic library files
184
185* Sun Apr 29 2001 Scott Pakin <pakin@uiuc.edu>
186- Upgraded from 220401 to 280401.
187
188* Tue Apr 24 2001 Scott Pakin <pakin@uiuc.edu>
189- Upgraded from 190401 to 220401.
190
191* Fri Apr 20 2001 Scott Pakin <pakin@uiuc.edu>
192- Upgraded from 020401 to 190401.
193
194* Tue Apr 10 2001 Scott Pakin <pakin@uiuc.edu>
195- Upgraded from 210301 to 020401.
196
197* Thu Mar 22 2001 Scott Pakin <pakin@uiuc.edu>
198- Initial release
Note: See TracBrowser for help on using the repository browser.