]> git.pld-linux.org Git - packages/gfontview.git/blobdiff - gfontview.spec
- updated to 0.4.1,
[packages/gfontview.git] / gfontview.spec
index 095bcf410895e9e013413d176b68a52417a93b63..88743c2090d01ef3816df01be6969f65450730d5 100644 (file)
@@ -1,45 +1,50 @@
 Summary:       A font viewer for Type 1 and TrueType fonts
 Summary(pl):   Przegl±darka czcionek Type 1 i TrueType
 Name:          gfontview
-Version:       0.3.2
-Release:       2
+Version:       0.4.1
+Release:       1
 License:       GPL
 Group:         X11/Utilities
 Group(pl):     X11/Narzêdzia
-Source0:       http://www.geocities.com/SiliconValley/Foothills/1458/%{name}-0_3_2.tgz
+Source0:       ftp://download.sourceforge.net/pub/sourceforge/gfontview/%{name}-%{version}.tar.gz
 Source1:       gfontview.desktop
 Patch0:                gfontview-autoconf.patch
 Icon:          gfontview.xpm
 URL:           http://www.geocities.com/SiliconValley/Foothills/1458/index.html
-BuildRequires: xpm-devel
-BuildRequires: gtk+-devel >= 1.2.6
-BuildRequires: t1lib-devel >= 1.0.0
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: freetype-devel
+BuildRequires: gettext-devel
+BuildRequires: gtk+-devel >= 1.2.6
 BuildRequires: libungif-devel
 BuildRequires: libstdc++-devel
+BuildRequires: t1lib-devel >= 1.0.0
+BuildRequires: xpm-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _prefix         /usr/X11R6
 
 %description
-gfontview is a Font Viewer for outline fonts (PostScript Type 1 and TrueType).
-It displays all fonts present in the chosen directory in a list, with a preview
-of the font in the main window. It also allows you to display a particular
-character or string of a font in an own window, this character or string can be
-antialiased (smoothed). The displayed character or string can be saved in GIF
-format. You can also print a sample of a font.  The program can also print a
-longer text in the selected font, thus allowing you to get an impresion of how
-a text page looks like in the selected font.
+gfontview is a Font Viewer for outline fonts (PostScript Type 1 and
+TrueType). It displays all fonts present in the chosen directory in a
+list, with a preview of the font in the main window. It also allows
+you to display a particular character or string of a font in an own
+window, this character or string can be antialiased (smoothed). The
+displayed character or string can be saved in GIF format. You can also
+print a sample of a font. The program can also print a longer text in
+the selected font, thus allowing you to get an impresion of how a text
+page looks like in the selected font.
 
 %description -l pl
 gfontview jest przegl±dark± czcionek (PostScrpit Type 1 i TrueType).
-Wy¶wietla listê wszystkich czcionek z wybranego katalogu i umo¿liwia podgl±d
-ka¿dej z nich zarówno w g³ównym oknie programu, jak i w oddzielnych oknach.
-Posiada mo¿liwo¶æ wyg³adzania czcionek (antialiasing), drukowania przyk³adów
-kroju w postaci pojedyñczych znaków, linii jak równie¿ wiêkszych partii
-tekstu, co pozwala na zorientowanie siê, jak wygl±da ca³a strona z
-wykorzystaniem wybranej czcionki. Program umo¿liwia tak¿e zapisanie znaku
-lub fragmentu tekstu w formacie GIF.
+Wy¶wietla listê wszystkich czcionek z wybranego katalogu i umo¿liwia
+podgl±d ka¿dej z nich zarówno w g³ównym oknie programu, jak i w
+oddzielnych oknach. Posiada mo¿liwo¶æ wyg³adzania czcionek
+(antialiasing), drukowania przyk³adów kroju w postaci pojedyñczych
+znaków, linii jak równie¿ wiêkszych partii tekstu, co pozwala na
+zorientowanie siê, jak wygl±da ca³a strona z wykorzystaniem wybranej
+czcionki. Program umo¿liwia tak¿e zapisanie znaku lub fragmentu tekstu
+w formacie GIF.
 
 
 %prep
@@ -47,6 +52,7 @@ lub fragmentu tekstu w formacie GIF.
 %patch -p1
 
 %build
+gettextize --copy --force
 aclocal -I .
 automake
 autoconf
@@ -57,23 +63,25 @@ export LDFLAGS CXXFLAGS
 %configure \
        --with-libungif \
        --with-fontdir=/usr/share/fonts/Type1
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_datadir}/misc,%{_applnkdir}/Utilities}
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 install .gfontviewrc $RPM_BUILD_ROOT%{_datadir}/misc/gfontviewrc
 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
 
 gzip -9nf README ChangeLog AUTHORS NEWS TODO
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {README,ChangeLog,AUTHORS,NEWS,TODO}.gz
 %attr(755,root,root) %{_bindir}/gfontview
This page took 0.070165 seconds and 4 git commands to generate.