]> git.pld-linux.org Git - packages/gal.git/blob - gal.spec
4e0706aa66e1c7c74f008cf45c8b06ec6b237b08
[packages/gal.git] / gal.spec
1 Summary:        GNOME Application Libs (GAL)
2 Summary(pl):    Biblioteki Aplikacji GNOME (GAL)
3 Name:           gal
4 Version:        0.11.2
5 Release:        1
6 Epoch:          1
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 Source0:        ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gal/%{name}-%{version}.tar.bz2
14 Patch0:         %{name}-no_version.patch
15 Patch1:         %{name}-no_macros_in_AC_OUTPUT.patch
16 Patch2:         %{name}-i18n.patch
17 Patch3:         %{name}-am15.patch
18 BuildRequires:  automake
19 BuildRequires:  autoconf
20 BuildRequires:  libtool
21 BuildRequires:  gettext-devel
22 BuildRequires:  gnome-libs-devel >= 1.2.12
23 BuildRequires:  gnome-print-devel >= 0.28
24 BuildRequires:  gnome-vfs-devel
25 BuildRequires:  gtk+-devel
26 BuildRequires:  libglade-devel >= 0.13
27 BuildRequires:  libtool
28 BuildRequires:  libunicode-devel
29 BuildRequires:  libxml-devel
30 BuildRequires:  xml-i18n-tools
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _prefix         /usr/X11R6
34 %define         _mandir         %{_prefix}/man
35
36 %description
37 This the GNOME Application Libs (GAL). This module contains some
38 library functions that came from Gnumeric and Evolution. The idea is
39 to reuse those widgets across various larger GNOME applications that
40 might want to use these widgets.
41
42 %description -l pl
43 Pakiet zawiera funkcje pochodz±ce z programów Gnumeric i Evolution.
44 Ide± tej biblioteki jest u¿ywanie tych funkcji i wigetów w innych
45 programach GNOME.
46
47 %package devel
48 Summary:        gal header files and development documentation
49 Summary(pl):    pliki nag³ówkowe i dokumentacja gala
50 Group:          X11/Development/Libraries
51 Group(de):      X11/Entwicklung/Libraries
52 Group(pl):      X11/Programowanie/Biblioteki
53 Requires:       %{name} = %{version}
54
55 %description devel
56 Header files and development documentation for the gal libraries.
57
58 %description -l pl devel
59 Pliki nag³ówkowe i dokumentacja do bibliotek gal.
60
61 %package static
62 Summary:        gal static libraries
63 Summary(pl):    Biblioteki statyczne gala
64 Group:          X11/Development/Libraries
65 Group(de):      X11/Entwicklung/Libraries
66 Group(pl):      X11/Programowanie/Biblioteki
67 Requires:       %{name}-devel = %{version}
68
69 %description static
70 Gal static libraries.
71
72 %description -l pl static
73 Biblioteki statyczne gal.
74
75 %prep
76 %setup -q
77 %patch0 -p1
78 %patch1 -p1
79 %patch2 -p1
80 %patch3 -p1
81
82 %build
83 sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
84 mv -f configure.in.tmp configure.in
85 rm -f missing
86 libtoolize --copy --force
87 gettextize --copy --force
88 aclocal -I %{_aclocaldir}/gnome
89 autoconf
90 automake -a -c
91 %configure \
92         --enable-static
93 %{__make}
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97
98 %{__make} install \
99         DESTDIR=$RPM_BUILD_ROOT
100
101 gzip -9nf AUTHORS ChangeLog NEWS README
102
103 %find_lang %{name}
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %post   -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
110
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/lib*.so.*.*
114 %{_datadir}/etable
115 %dir %{_datadir}/gal
116 %{_datadir}/gal/glade
117
118 %files devel
119 %defattr(644,root,root,755)
120 %doc *.gz
121 %attr(755,root,root) %{_libdir}/*.sh
122 %attr(755,root,root) %{_libdir}/lib*.la
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %{_includedir}/gal
125
126 %files static
127 %defattr(644,root,root,755)
128 %{_libdir}/lib*.a
This page took 0.073004 seconds and 3 git commands to generate.