]> git.pld-linux.org Git - packages/gfontview.git/blobdiff - gfontview.spec
- use new %doc.
[packages/gfontview.git] / gfontview.spec
index fba459382b199d8fe78c513c81a688f6eaf258fa..09beb1d511baaa07faa51f7fa668efbaf8218ee5 100644 (file)
@@ -1,19 +1,18 @@
 Summary:       A font viewer for Type 1 and TrueType fonts
 Summary(pl):   Przegl±darka czcionek Type 1 i TrueType
 Name:          gfontview
-Version:       0.4.1
-Release:       1
+Version:       0.5.0
+Release:       2
 License:       GPL
-Group:         X11/Utilities
-Group(pl):     X11/Narzêdzia
+Group:         X11/Applications
 Source0:       ftp://download.sourceforge.net/pub/sourceforge/gfontview/%{name}-%{version}.tar.gz
-Source1:       gfontview.desktop
-Patch0:                gfontview-autoconf.patch
+Source1:       %{name}.desktop
+Patch0:                %{name}-autoconf.patch
 Icon:          gfontview.xpm
-URL:           http://www.geocities.com/SiliconValley/Foothills/1458/index.html
+URL:           http://gfontview.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: freetype-devel
+BuildRequires: freetype1-devel
 BuildRequires: gettext-devel
 BuildRequires: gtk+-devel >= 1.2.6
 BuildRequires: libungif-devel
@@ -45,7 +44,6 @@ zorientowanie si
 czcionki. Program umo¿liwia tak¿e zapisanie znaku lub fragmentu tekstu
 w formacie GIF.
 
-
 %prep
 %setup -q
 %patch -p1
@@ -53,12 +51,11 @@ w formacie GIF.
 %build
 gettextize --copy --force
 aclocal -I .
-automake -a -c
-autoconf
+%{__automake}
+%{__autoconf}
 autoheader
-LDFLAGS="-s"
-CXXFLAGS="$RPM_OPT_FLAGS -I/usr/include/freetype -fno-rtti -fno-exceptions -fno-implicit-templates"
-export LDFLAGS CXXFLAGS
+CXXFLAGS="%{rpmcflags} -I/usr/include/freetype \
+       -fno-rtti -fno-exceptions -fno-implicit-templates"
 %configure \
        --with-libungif \
        --with-fontdir=/usr/share/fonts/Type1
@@ -70,11 +67,9 @@ install -d $RPM_BUILD_ROOT{%{_datadir}/misc,%{_applnkdir}/Utilities}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install .gfontviewrc $RPM_BUILD_ROOT%{_datadir}/misc/gfontviewrc
+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
@@ -82,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {README,ChangeLog,AUTHORS,NEWS,TODO}.gz
+%doc README ChangeLog AUTHORS NEWS TODO
 %attr(755,root,root) %{_bindir}/gfontview
 
 %config(noreplace) %verify(not size mtime md5) %{_datadir}/misc/gfontviewrc
This page took 0.095601 seconds and 4 git commands to generate.