]> git.pld-linux.org Git - packages/gdkxft.git/blob - gdkxft.spec
- added devel and static subpackages,
[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 Summary(pt_BR): Adapta o GTK-1.2 para suportar fontes xft
5 Name:           gdkxft
6 Version:        1.4
7 Release:        2
8 License:        LGPL
9 Group:          X11/Libraries
10 Group(de):      X11/Libraries
11 Group(es):      X11/Bibliotecas
12 Group(fr):      X11/Librairies
13 Group(pl):      X11/Biblioteki
14 Group(pt_BR):   X11/Bibliotecas
15 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
16 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
17 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/gdkxft/%{name}-%{version}.tar.gz
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libtool
21 BuildRequires:  libglade-devel
22 BuildRequires:  gtk+-devel >= 1.2.0
23 BuildRequires:  perl-devel
24 Prereq:         /sbin/ldconfig
25 URL:            http://philrsss.anu.edu.au/~josh/gdkxft/
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 w
38 komponencie libgdk biblioteki gtk+-1.2.x. Widgety gtk+ automatycznie
39 bêd± u¿ywa³y tych fontów.
40
41 %description -l pt_BR
42 Este pacote contém bibliotecas para adicionar suporte transparente a
43 fontes anti-aliased para o componente libgdk do gtk+-1.2. Os widgets
44 Gtk+ vão automaticamente usar essas fontes.
45
46 %package devel
47 Summary:        Files and libraries for developing apps
48 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento
49 Summary(es):    Bibliotecas y archivos de inclusión para desarrollo
50 Group:          Development/Libraries
51 Group(de):      Entwicklung/Libraries
52 Group(es):      Desarrollo/Bibliotecas
53 Group(fr):      Development/Librairies
54 Group(pl):      Programowanie/Biblioteki
55 Group(pt_BR):   Desenvolvimento/Bibliotecas
56 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
57 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
58 PreReq:         %{name} = %{version}-%{release}
59
60 %description devel
61 Header files and libraries for developing apps with will use
62 libgdkxft.
63
64 %description -l pt_BR devel
65 Bibliotecas e arquivos de inclusão necessários para desenvolvimento
66 baseado na libgdkxft.
67
68 %package static
69 Summary:        Static libraries for libgdkxft development
70 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a libgdkxft
71 Group:          Development/Libraries
72 Group(de):      Entwicklung/Libraries
73 Group(es):      Desarrollo/Bibliotecas
74 Group(fr):      Development/Librairies
75 Group(pl):      Programowanie/Biblioteki
76 Group(pt_BR):   Desenvolvimento/Bibliotecas
77 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
78 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
79 Requires:       %{name}-devel = %{version}-%{release}
80
81 %description static
82 Static libraries for libgdkxft development.
83
84 %description -l pt_BR static
85 Bibliotecas estáticas para desenvolvimento com a libgdkxft.
86
87
88 %package capplet
89 Summary:        Capplet to configure gdkxft in GNOME
90 Summary(pl):    Narzêdzie do konfiguracji gdkxft w GNOME
91 Group:          X11/Applications
92 Group(de):      X11/Applikationen
93 Group(es):      X11/Aplicaciones
94 Group(pl):      X11/Aplikacje
95 Group(pt_BR):   X11/Aplicações
96 Group(pt):      X11/Aplicações
97
98 %description capplet
99 Capplet to configure gdkxft in GNOME.
100
101 %description capplet -l pl
102 Narzêdzie do konfiguracji gdkxft w GNOME.
103
104 %prep
105 %setup -q
106
107 %build
108 rm -f missing
109 libtoolize --copy --force
110 aclocal
111 autoconf
112 automake -a -c
113 %configure
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT
121         
122 gzip -9nf AUTHORS COPYING ChangeLog NEWS README
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %post
128 %{_sbindir}/gdkxft_sysinstall
129 /sbin/ldconfig
130
131 %preun
132 %{_sbindir}/gdkxft_sysinstall -u
133
134 %postun -p /sbin/ldconfig
135
136 %files
137 %defattr(644,root,root,755)
138 %doc *.gz
139 %config %{_sysconfdir}/gdkxft.conf
140 %attr(755,root,root) %{_sbindir}/gdkxft_sysinstall
141 %attr(755,root,root) %{_libdir}/libgdkxft.so.*.*
142
143 %files devel
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/libgdkxft.la
146 %attr(755,root,root) %{_libdir}/libgdkxft.so
147
148 %files static
149 %defattr(644,root,root,755)
150 %{_libdir}/libgdkxft.a
151
152 %files capplet
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_bindir}/*-capplet
This page took 0.041641 seconds and 4 git commands to generate.