]> git.pld-linux.org Git - packages/gdkxft.git/blobdiff - gdkxft.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/gdkxft.git] / gdkxft.spec
index d0253b64ffeea0a13331ba1eb25e57fe1a8436c2..6920c86af5653c74b6fffc87dbb6a1a51b8ae3be 100644 (file)
@@ -2,10 +2,9 @@
 # Conditional build:
 %bcond_without gnome           # without capplet subpackage (which require GNOME libs to build)
 #
-%include       /usr/lib/rpm/macros.perl
 Summary:       Adapt GTK-1.2 to support xft fonts
-Summary(pl):   Wsparcie dla fontów xft dla GTK-1.2
-Summary(pt_BR):        Adapta o GTK-1.2 para suportar fontes xft
+Summary(pl.UTF-8):     Wsparcie dla fontów xft dla GTK-1.2
+Summary(pt_BR.UTF-8):  Adapta o GTK-1.2 para suportar fontes xft
 Name:          gdkxft
 Version:       1.5
 Release:       12
@@ -28,70 +27,70 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 A library that adds transparent support for anti-aliased fonts to the
-libgdk component of gtk+-1.2.x. Gtk+ widgets will automagically use
+libgdk component of gtk+-1.2.x. GTK+ widgets will automagically use
 the fonts.
 
-%description -l pl
-Biblioteka dodaj±ca prze¼roczyst± obs³ugê dla wyg³adzanych fontów w
-komponencie libgdk biblioteki gtk+-1.2.x. Widgety gtk+ automatycznie
-bêd± u¿ywa³y tych fontów.
+%description -l pl.UTF-8
+Biblioteka dodająca przezroczystą obsługę dla wygładzanych fontów w
+komponencie libgdk biblioteki gtk+-1.2.x. Widgety GTK+ automatycznie
+będą używały tych fontów.
 
-%description -l pt_BR
-Este pacote contém bibliotecas para adicionar suporte transparente a
+%description -l pt_BR.UTF-8
+Este pacote contém bibliotecas para adicionar suporte transparente a
 fontes anti-aliased para o componente libgdk do gtk+-1.2. Os widgets
-Gtk+ vão automaticamente usar essas fontes.
+GTK+ vão automaticamente usar essas fontes.
 
 %package devel
 Summary:       Header files for developing apps
-Summary(es):   Bibliotecas y archivos de inclusión para desarrollo
-Summary(pl):   Pliki nag³owkowe gdkxft
-Summary(pt_BR):        Bibliotecas e arquivos de inclusão para desenvolvimento
+Summary(es.UTF-8):     Bibliotecas y archivos de inclusión para desarrollo
+Summary(pl.UTF-8):     Pliki nagłowkowe gdkxft
+Summary(pt_BR.UTF-8):  Bibliotecas e arquivos de inclusão para desenvolvimento
 Group:         Development/Libraries
-PreReq:                %{name} = %{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Header files for developing apps with will use libgdkxft.
 
-%description devel -l pl
-Pliki nag³ówkowe do tworzenia aplikacji u¿ywaj±cych libgdkxft.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe do tworzenia aplikacji używających libgdkxft.
 
-%description devel -l pt_BR
-Bibliotecas e arquivos de inclusão necessários para desenvolvimento
+%description devel -l pt_BR.UTF-8
+Bibliotecas e arquivos de inclusão necessários para desenvolvimento
 baseado na libgdkxft.
 
 %package static
 Summary:       Static libraries for libgdkxft development
-Summary(pl):   Statyczna biblioteka libgdkxft
-Summary(pt_BR):        Bibliotecas estáticas para desenvolvimento com a libgdkxft
+Summary(pl.UTF-8):     Statyczna biblioteka libgdkxft
+Summary(pt_BR.UTF-8):  Bibliotecas estáticas para desenvolvimento com a libgdkxft
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static libraries for libgdkxft development.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczna biblioteka libgdkxft.
 
-%description static -l pt_BR
-Bibliotecas estáticas para desenvolvimento com a libgdkxft.
+%description static -l pt_BR.UTF-8
+Bibliotecas estáticas para desenvolvimento com a libgdkxft.
 
 %package capplet
 Summary:       Capplet to configure gdkxft in GNOME
-Summary(pl):   Narzêdzie do konfiguracji gdkxft w GNOME
+Summary(pl.UTF-8):     Narzędzie do konfiguracji gdkxft w GNOME
 Group:         X11/Applications
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description capplet
 Capplet to configure gdkxft in GNOME.
 
-%description capplet -l pl
-Narzêdzie do konfiguracji gdkxft w GNOME.
+%description capplet -l pl.UTF-8
+Narzędzie do konfiguracji gdkxft w GNOME.
 
 %prep
 %setup -q
 
 %build
-%if %{without gnome}
+%if !%{with gnome}
 cat >> acinclude.m4 <<EOF
 AC_DEFUN([AM_PATH_LIBGLADE],[
 AM_CONDITIONAL([HAVE_ORBIT],false)
@@ -104,7 +103,7 @@ rm -f missing
 %{__autoconf}
 %{__automake}
 %configure \
-       CFLAGS="%{rpmcflags} -I%{_includedir}/freetype2" \
+       CFLAGS="%{rpmcflags} -I/usr/include/freetype2" \
        --enable-static \
        --enable-shared
 
@@ -153,7 +152,7 @@ fi
 %dir %{_datadir}/themes/Gdkxft/gtk
 %ghost %{_datadir}/themes/Gdkxft/gtk/gtkrc
 %attr(755,root,root) %ghost /etc/X11/xinit/xinitrc.d/gdkxft
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/gdkxft.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gdkxft.conf
 %attr(755,root,root) %{_sbindir}/gdkxft_sysinstall
 %attr(755,root,root) %{_libdir}/libgdkxft.so.*.*
 
This page took 0.090675 seconds and 4 git commands to generate.