diff --git a/.gitignore b/.gitignore index e69de29..44b58e7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/fntsample-3.2.tar.gz diff --git a/fntsample.spec b/fntsample.spec new file mode 100644 index 0000000..081a440 --- /dev/null +++ b/fntsample.spec @@ -0,0 +1,41 @@ +Name: fntsample +Version: 3.2 +Release: 1%{?dist} +Summary: A program for making font samples that show Unicode coverage of the font + +License: GPLv3+ +URL: http://sourceforge.net/projects/fntsample +Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz +BuildRequires: gettext-devel unicode-ucd +BuildRequires: cairo-devel freetype-devel +BuildRequires: fontconfig-devel pango-devel + +%description +A program for making font samples that show Unicode coverage of +the font and are similar in appearance to Unicode charts. +Samples can be saved as PDF or PostScript files. + +%prep +%setup -q + + +%build +%configure --with-unicode-blocks=%{_datadir}/unicode/ucd/Blocks.txt +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" + +%find_lang %{name} + +%files -f %{name}.lang +%doc ChangeLog COPYING +%{_bindir}/fntsample +%{_bindir}/pdfoutline +%{_mandir}/man1/*.gz + +%changelog +* Thu Aug 22 2013 Parag Nemade - 3.2-1 +- Initial Fedora release. + diff --git a/sources b/sources index e69de29..bd83520 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0073844734ed244ff31d97e876da1455 fntsample-3.2.tar.gz