packages: freetype1-tools/freetype1-tools.spec (NEW) - todo - everything ap...

w.kier w.kier at pld-linux.org
Mon Nov 16 23:45:03 CET 2009


Author: w.kier                       Date: Mon Nov 16 22:45:03 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- todo - everything apart ttf2bdf
- initial release

---- Files affected:
packages/freetype1-tools:
   freetype1-tools.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/freetype1-tools/freetype1-tools.spec
diff -u /dev/null packages/freetype1-tools/freetype1-tools.spec:1.1
--- /dev/null	Mon Nov 16 23:45:03 2009
+++ packages/freetype1-tools/freetype1-tools.spec	Mon Nov 16 23:44:58 2009
@@ -0,0 +1,140 @@
+# TODO - awerything appart ttf2bdf
+%bcond_without	ttf2bdf
+%bcond_with	ttf2pfb
+%bcond_with     ttf2pk
+%bcond_with     ttfbanner
+	
+Summary:	freetype1 extra tool
+Summary(pl.UTF-8):	Dodatkowe programy rozpowszechniane z freetype1
+Name:		freetype1-tools
+Version:	1.3.1
+Release:	1
+License:	BSD-like
+Group:		Libraries
+Source0:	ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
+# Source0-md5:	9a9e7ad00c1ef6dfbf8f8e19ceefb300
+URL:		http://freetype.sourceforge.net/freetype1/index.html
+Patch0:         freetype-DESTDIR.patch
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	gettext-devel
+BuildRequires:	libtool
+BuildRequires:	freetype1-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Freetype1 extra tool
+
+%description -l pl.UTF-8
+Dodatkowe programy rozpowszechniane z freetype1.
+
+
+%package -n %{name}-ttf2bdf
+Summary: Convert true type fonts to bitmap bdf format
+Summary(pl.UTF-8): Program do konwersji czcionek true type do formatu bdf
+Group:	Applications/Utilities
+Requires: freetype1
+
+%description -n %{name}-ttf2bdf
+Tool to convert true type fonts to bitmap bdf format.
+
+%description -l pl.UTF-8 -n %{name}-ttf2bdf
+Program do konwersji czcionek true type do formatu bdf.
+
+%package -n %{name}-ttf2pfb
+Summary: Convert true type fonts to Type1 pfb format
+Summary(pl.UTF-8): Program do konwersji czcionek true type do formatu Type1 pfb
+Group: Applications/Utilities
+Requires: freetype1
+
+%description -n %{name}-ttf2pfb
+Tool to convert true type fonts to Type1 pfb format.
+
+%description -l pl.UTF-8 -n %{name}-ttf2pfb
+Program do konwersji czcionek true type do formatu Type1 pfb.
+
+%package -n %{name}-ttf2pk
+Summary: Convert true type fonts to TeX format
+Summary(pl.UTF-8): Program do konwersji czcionek true type do formatu TeX
+Group: Applications/Utilities
+Requires: freetype1
+
+%description -n %{name}-ttf2pk
+Tool to convert true type fonts to TeX format.
+
+%description -l pl.UTF-8 -n %{name}-ttf2pk
+Program do konwersji czcionek true type do formatu TeX.
+
+%package -n %{name}-ttfbanner
+Summary: Make posters using a TrueType font
+Summary(pl.UTF-8): Hm. ??? Make posters using a TrueType font
+Group: Applications/Utilities
+Requires: freetype1
+
+%description -n %{name}-ttfbanner
+Make posters using a TrueType font.
+
+%description -l pl.UTF-8 -n %{name}-ttfbanner
+Hm. Make posters using a TrueType font.
+
+%prep
+%setup -q -n freetype-%{version}
+%patch0 -p1
+
+%build
+
+for bdir in %{?with_ttf2bdf:ttf2bdf} %{?with_ttf2pfb:ttf2bdf} \
+	%{?with_ttf2pk:ttf2pk} %{?with_ttfbanner:ttfbanner}; do
+	cd contrib/$bdir
+	%{__libtoolize}
+	%{__aclocal}
+	%{__autoconf}
+	%configure
+	%{__make}
+	cd ../../
+done
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+for bdir in %{?with_ttf2bdf:ttf2bdf} %{?with_ttf2pfb:ttf2bdf} \
+                %{?with_ttf2pk:ttf2pk} %{?with_ttfbanner:ttfbanner}; do
+	cd contrib/$bdir
+	%{__make} install \
+		DESTDIR=$RPM_BUILD_ROOT
+	cd ../../
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with ttf2bdf}
+%files -n %{name}-ttf2bdf
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ttf2bdf
+%{_mandir}/man1/ttf2bdf.1.gz
+%endif
+
+%if %{with ttf2pfb}
+%files -n %{name}-ttf2pfb
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ttf2pfb
+%{_mandir}/man1/ttf2pfb.1.gz
+%endif
+
+%if %{with ttf2pk}
+%files -n %{name}-ttf2pk
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir/ttf2pk
+%{_mandir}/man1/ttf2pk.1.gz
+%endif
+
+%if %{with ttfbanner}
+%files -n %{name}-ttfbanner
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ttfbanner
+%{_mandir}/man1/ttfbanner.1.gz
+%endif
+
================================================================


More information about the pld-cvs-commit mailing list