]> git.pld-linux.org Git - packages/gfontview.git/blobdiff - gfontview.spec
- use new %doc.
[packages/gfontview.git] / gfontview.spec
index 4d0499433e0e746f525c88bb561b9b4e8d41d393..09beb1d511baaa07faa51f7fa668efbaf8218ee5 100644 (file)
@@ -1,12 +1,10 @@
 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
+Version:       0.5.0
 Release:       2
 License:       GPL
 Group:         X11/Applications
-Group(de):     X11/Applikationen
-Group(pl):     X11/Aplikacje
 Source0:       ftp://download.sourceforge.net/pub/sourceforge/gfontview/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
 Patch0:                %{name}-autoconf.patch
@@ -46,7 +44,6 @@ zorientowanie si
 czcionki. Program umo¿liwia tak¿e zapisanie znaku lub fragmentu tekstu
 w formacie GIF.
 
-
 %prep
 %setup -q
 %patch -p1
@@ -54,10 +51,10 @@ w formacie GIF.
 %build
 gettextize --copy --force
 aclocal -I .
-automake -a -c
-autoconf
+%{__automake}
+%{__autoconf}
 autoheader
-CXXFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g} -I/usr/include/freetype \
+CXXFLAGS="%{rpmcflags} -I/usr/include/freetype \
        -fno-rtti -fno-exceptions -fno-implicit-templates"
 %configure \
        --with-libungif \
@@ -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.042772 seconds and 4 git commands to generate.