]> git.pld-linux.org Git - packages/gdkxft.git/blob - gdkxft.spec
- added capplet for GNOME in separate pkg
[packages/gdkxft.git] / gdkxft.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Adapt GTK-1.2 to support xft fonts
3 Summary(pl):    Wsparcie dla fontów xft dla GTK-1.2
4 Name:           gdkxft
5 Version:        1.4
6 Release:        2
7 License:        LGPL
8 Group:          X11/Libraries
9 Group(de):      X11/Libraries
10 Group(es):      X11/Bibliotecas
11 Group(fr):      X11/Librairies
12 Group(pl):      X11/Biblioteki
13 Group(pt_BR):   X11/Bibliotecas
14 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
15 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
16 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/gdkxft/%{name}-%{version}.tar.gz
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 URL:            http://philrsss.anu.edu.au/~josh/gdkxft/
19 Prereq:         /sbin/ldconfig
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  libtool
23 BuildRequires:  XFree86-devel
24 BuildRequires:  libglade-devel
25 BuildRequires:  perl-devel
26 BuildRequires:  gtk+-devel >= 1.2.0
27
28 %define         _prefix         /usr/X11R6
29 %define         _mandir         %{_prefix}/man
30
31 %description 
32 A library that adds transparent support for anti-aliased fonts to the
33 libgdk component of gtk+-1.2.x. Gtk+ widgets will automagically use
34 the fonts.
35
36 %description -l pl
37 Biblioteka dodaj±ca prze¼roczyst± obs³ugê dla wyg³adzanych fontów
38 w komponencie libgdk biblioteki gtk+-1.2.x. Widgety gtk+ automatycznie
39 bêd± u¿ywa³y tych fontów.
40
41 %package capplet
42 Summary:        Capplet to configure gdkxft in GNOME
43 Summary(pl):    Narzêdzie do konfiguracji gdkxft w GNOME
44 Group:          X11/Applications
45
46 %description capplet
47 Capplet to configure gdkxft in GNOME
48
49 %description capplet -l pl
50 Narzêdzie do konfiguracji gdkxft w GNOME
51
52 %prep
53 %setup -q
54
55 %build
56 rm missing
57 libtoolize --copy --force
58 aclocal
59 autoconf
60 automake -a -c
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69         
70 gzip -9nf AUTHORS COPYING ChangeLog NEWS README
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 %{_sbindir}/gdkxft_sysinstall
77 /sbin/ldconfig
78
79 %preun
80 %{_sbindir}/gdkxft_sysinstall -u
81
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc *.gz
87 %config %{_sysconfdir}/gdkxft.conf
88 %{_libdir}/libgdkxft.so*
89 %{_libdir}/libgdkxft.la
90 %attr(644,root,root) %{_libdir}/libgdkxft.a
91 %attr(755,root,root) %{_sbindir}/gdkxft_sysinstall
92
93 %files capplet
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_bindir}/*-capplet
This page took 0.041668 seconds and 4 git commands to generate.