diff --git a/ttf2pt1.spec b/ttf2pt1.spec index 1c9c364..dcfa6c5 100644 --- a/ttf2pt1.spec +++ b/ttf2pt1.spec @@ -1,9 +1,9 @@ Name: ttf2pt1 Version: 3.4.4 -Release: 13%{?dist} +Release: 14%{?dist} Summary: TrueType to Adobe Type 1 font converter +Summary(sv): Konverterare från TrueType till Adobe Type 1 -Group: Applications/Publishing License: GPLv2+ and BSD with advertising URL: http://%name.sourceforge.net Source: http://download.sourceforge.net/%name/%name-%version.tgz @@ -11,10 +11,9 @@ Patch0: ttf2pt1-destdir.patch Patch1: ttf2pt1-freetype.patch Patch2: ttf2pt1-sed.patch Patch3: ttf2pt1-doc.patch -BuildRoot: %(mktemp -ud %_tmppath/%name-%version-%release-XXXXXX) BuildRequires: freetype-devel >= 2.0.3 -BuildRequires: perl +BuildRequires: perl-podlators BuildRequires: fakeroot BuildRequires: t1lib-devel @@ -24,6 +23,12 @@ Requires: t1utils Ttf2pt1 is a font converter from the True Type format (and some other formats supported by the FreeType library as well) to the Adobe Type1 format. +%description -l sv +Ttf2pt1 är en konverterare för typsnitt från formatet True Type (och +några andra format som stödjs av biblioteket FreeType) till formatet +Adobe Type 1. + + %prep %setup -q %patch0 @@ -31,6 +36,7 @@ supported by the FreeType library as well) to the Adobe Type1 format. %patch2 %patch3 + %build make CFLAGS_SYS='%optflags -D_GNU_SOURCE' CFLAGS_FT="`pkg-config --cflags freetype2`" LIBS_FT="`pkg-config --libs freetype2`" VERSION=%version all rm -rf __dist_other @@ -39,7 +45,6 @@ cp -p other/bz* other/Makefile other/README* __dist_other/other make -C other cmpf dmpf %install -rm -rf %buildroot # The installation does explicit chown to root and chgrp to bin. # Use fakeroot to avoid getting errors in the build. RPM will # make sure the ownership is correct in the final package. @@ -56,11 +61,8 @@ cp other/lst.pl %buildroot/%_bindir/%{name}_lst cp other/showdf %buildroot/%_bindir/%{name}_showdf cp other/showg %buildroot/%_bindir/%{name}_showg -%clean -rm -rf %buildroot %files -%defattr(-,root,root) %doc CHANGES* README* FONTS FONTS.html COPYRIGHT app/TeX __dist_other/other %doc scripts/convert.cfg.sample %_bindir/%{name}* @@ -71,6 +73,13 @@ rm -rf %buildroot %changelog +* Mon Feb 18 2013 Göran Uddeborg 3.4.2-14 +- pod2man is now in the package perl-podlators. Do buildrequire on + that package rather than perl. +- Remove some obsolete sections like an explicit buildroot definition + and clean section. +- Provide Swedish translation of the summary and description. + * Fri Feb 15 2013 Fedora Release Engineering - 3.4.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -117,14 +126,14 @@ rm -rf %buildroot * Sun Sep 5 2004 Göran Uddeborg 3.4.4-1 - Upgraded to 3.4.4. -* Tue Oct 7 2003 Göran Uddeborg 3.4.3-1 +* Tue Oct 7 2003 Göran Uddeborg 3.4.3-1 - Upgraded to 3.4.3. -* Tue Oct 15 2002 Göran Uddeborg 3.4.2-1 +* Tue Oct 15 2002 Göran Uddeborg 3.4.2-1 - Upgraded to 3.4.2. -* Thu Dec 27 2001 Göran Uddeborg +* Thu Dec 27 2001 Göran Uddeborg - Added build requirement on freetype-devel. -* Mon Nov 26 2001 Göran Uddeborg +* Mon Nov 26 2001 Göran Uddeborg - First RPM packaging.