diff --git a/.gitignore b/.gitignore index 44b58e7..397800b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /fntsample-3.2.tar.gz +/fntsample-5.2.tar.gz diff --git a/fntsample.spec b/fntsample.spec index 52017d2..fb0439e 100644 --- a/fntsample.spec +++ b/fntsample.spec @@ -1,11 +1,11 @@ Name: fntsample -Version: 3.2 -Release: 10%{?dist} +Version: 5.2 +Release: 1%{?dist} Summary: A program for making font samples that show Unicode coverage of the font License: GPLv3+ -URL: http://fntsample.sourceforge.net/ -Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/eugmes/fntsample/releases +Source0: https://github.com/eugmes/fntsample/archive/release/%{version}/%{name}-%{version}.tar.gz BuildRequires: gettext-devel perl-generators unicode-ucd BuildRequires: cairo-devel freetype-devel BuildRequires: fontconfig-devel pango-devel @@ -17,27 +17,32 @@ the font and are similar in appearance to Unicode charts. Samples can be saved as PDF or PostScript files. %prep -%autosetup +%autosetup -n %{name}-release-%{version} %build -%configure --with-unicode-blocks=%{_datadir}/unicode/ucd/Blocks.txt -make %{?_smp_mflags} - +%cmake -DUNICODE_BLOCKS=%{_datadir}/unicode/ucd/Blocks.txt +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +%make_install + +%check +ctest -V %{?_smp_flags} %find_lang %{name} %files -f %{name}.lang -%doc ChangeLog +%doc ChangeLog README.rst %license COPYING %{_bindir}/fntsample %{_bindir}/pdfoutline %{_mandir}/man1/*.gz %changelog +* Mon Mar 05 2018 Parag Nemade - 5.2-1 +- Update to 5.2 release (rh#1550623) + * Mon Feb 19 2018 Parag Nemade - 3.2-10 - Add BuildRequires: gcc as per packaging guidelines - Added %%license diff --git a/sources b/sources index bd83520..8a01260 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0073844734ed244ff31d97e876da1455 fntsample-3.2.tar.gz +SHA512 (fntsample-5.2.tar.gz) = f80304471c214fb974623df26c6397a1b675a48aa54104217cbca6fdbc28ca746c37470ba97e6f4f5c2ce18ca233900bbf58dffc0480d3454c6c975090926a03