]> git.pld-linux.org Git - packages/gal.git/blob - gal.spec
768b455501c73c2ca6db4cf53dbea2e6e24d1134
[packages/gal.git] / gal.spec
1 Summary:        GNOME Application Libs (GAL)
2 Summary(pl):    Biblioteki Aplikacji GNOME (GAL)
3 Summary(pt_BR): G App Libs: Biblioteca para uso em aplicativos GNOME
4 Name:           gal
5 Version:        0.18
6 Release:        1
7 Epoch:          1
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.gnome.org/pub/GNOME/unstable/sources/gal/%{name}-%{version}.tar.bz2
18 Patch0:         %{name}-no_version.patch
19 Patch1:         %{name}-no_macros_in_AC_OUTPUT.patch
20 Patch2:         %{name}-am15.patch
21 BuildRequires:  automake
22 BuildRequires:  autoconf
23 BuildRequires:  libtool
24 BuildRequires:  gettext-devel
25 BuildRequires:  gnome-libs-devel >= 1.2.12
26 BuildRequires:  gnome-print-devel >= 0.28
27 BuildRequires:  gnome-vfs-devel
28 BuildRequires:  gtk+-devel
29 BuildRequires:  libglade-devel >= 0.13
30 BuildRequires:  libtool
31 BuildRequires:  libunicode-devel
32 BuildRequires:  libxml-devel
33 BuildRequires:  xml-i18n-tools
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _prefix         /usr/X11R6
37 %define         _mandir         %{_prefix}/man
38
39 %description
40 This the GNOME Application Libs (GAL). This module contains some
41 library functions that came from Gnumeric and Evolution. The idea is
42 to reuse those widgets across various larger GNOME applications that
43 might want to use these widgets.
44
45 %description -l pl
46 Pakiet zawiera funkcje pochodz±ce z programów Gnumeric i Evolution.
47 Ide± tej biblioteki jest u¿ywanie tych funkcji i wigetów w innych
48 programach GNOME.
49
50 %description -l pt_BR
51 Este módulo contém algumas funções de biblioteca que vinham com o
52 Gnumeric e com o Evolution. A idéia é reutilizar estes componentes em
53 uma série de aplicações GNOME maiores.
54
55 %package devel
56 Summary:        gal header files and development documentation
57 Summary(pl):    pliki nag³ówkowe i dokumentacja gala
58 Summary(pt_BR): Arquivos de inclusão do gal
59 Group:          X11/Development/Libraries
60 Group(de):      X11/Entwicklung/Libraries
61 Group(es):      X11/Desarrollo/Bibliotecas
62 Group(fr):      X11/Development/Librairies
63 Group(pl):      X11/Programowanie/Biblioteki
64 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
65 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
66 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
67 Requires:       %{name} = %{version}
68
69 %description devel
70 Header files and development documentation for the gal libraries.
71
72 %description -l pl devel
73 Pliki nag³ówkowe i dokumentacja do bibliotek gal.
74
75 %description -l pt_BR devel 
76 Arquivos de inclusão necessários para compilar os aplicativos que usam
77 o gal.
78
79 %package static
80 Summary:        gal static libraries
81 Summary(pl):    Biblioteki statyczne gala
82 Summary(pt_BR): Bibliotecas estáticas do gal
83 Group:          X11/Development/Libraries
84 Group(de):      X11/Entwicklung/Libraries
85 Group(es):      X11/Desarrollo/Bibliotecas
86 Group(fr):      X11/Development/Librairies
87 Group(pl):      X11/Programowanie/Biblioteki
88 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
89 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
90 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
91 Requires:       %{name}-devel = %{version}
92
93 %description static
94 Gal static libraries.
95
96 %description -l pl static
97 Biblioteki statyczne gal.
98
99 %description -l pt_BR static
100 Bibliotecas estáticas do gal.
101
102 %prep
103 %setup -q
104 %patch0 -p1
105 %patch1 -p1
106 %patch2 -p1
107
108 %build
109 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
110 mv -f configure.in.tmp configure.in
111 rm -f missing
112 libtoolize --copy --force
113 gettextize --copy --force
114 aclocal -I %{_aclocaldir}/gnome
115 autoconf
116 automake -a -c
117 %configure \
118         --enable-static
119 %{__make}
120
121 %install
122 rm -rf $RPM_BUILD_ROOT
123
124 %{__make} install \
125         DESTDIR=$RPM_BUILD_ROOT
126
127 gzip -9nf AUTHORS ChangeLog NEWS README
128
129 %find_lang %{name}
130
131 %clean
132 rm -rf $RPM_BUILD_ROOT
133
134 %post   -p /sbin/ldconfig
135 %postun -p /sbin/ldconfig
136
137 %files -f %{name}.lang
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_libdir}/lib*.so.*.*
140 %{_datadir}/etable
141 %dir %{_datadir}/gal
142 %{_datadir}/gal/glade
143
144 %files devel
145 %defattr(644,root,root,755)
146 %doc *.gz
147 %attr(755,root,root) %{_libdir}/*.sh
148 %attr(755,root,root) %{_libdir}/lib*.la
149 %attr(755,root,root) %{_libdir}/lib*.so
150 %{_includedir}/gal
151
152 %files static
153 %defattr(644,root,root,755)
154 %{_libdir}/lib*.a
This page took 0.03221 seconds and 3 git commands to generate.