]>
Commit | Line | Data |
---|---|---|
1 | Summary: GB - GNOME Basic | |
2 | Summary(pl.UTF-8): GB - GNOME Basic | |
3 | Name: gb | |
4 | Version: 0.0.20 | |
5 | Release: 5 | |
6 | License: GPL | |
7 | Group: X11/Libraries | |
8 | Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gb/0.0/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 19e35bd7f24ad619250484a997c0e02d | |
10 | Patch0: %{name}-am_fixes.patch | |
11 | Patch1: %{name}-am15.patch | |
12 | Patch2: %{name}-%{name}run.patch | |
13 | Patch3: %{name}-locale_names.patch | |
14 | URL: http://www.gnome.org/gb/ | |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRequires: flex | |
18 | BuildRequires: gettext-devel | |
19 | BuildRequires: gnome-libs-devel | |
20 | BuildRequires: gnome-print-devel >= 0.28 | |
21 | BuildRequires: libtool | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | This is an embryonic attempt to provide VB compatible functionality | |
26 | for the GNOME project, particularly with respect to office (VBA) | |
27 | compatibility. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Pakiet ten zawiera bibliotekę która udostępnia funkcje umożliwiające | |
31 | realizację VB (Visual Basic) dla aplikacji GNOME. | |
32 | ||
33 | %package devel | |
34 | Summary: Development resources for GNOME Basic | |
35 | Summary(pl.UTF-8): Zasoby potrzebne przy tworzeniu aplikacji używających GNOME Basic | |
36 | Group: X11/Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description devel | |
40 | Development resources for GNOME Basic. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Zasoby potrzebne przy tworzeniu aplikacji używających gb. | |
44 | ||
45 | %package static | |
46 | Summary: Static libraries for GNOME Basic | |
47 | Summary(pl.UTF-8): Biblioteki statyczne do GNOME Basic | |
48 | Group: X11/Development/Libraries | |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static libraries for GNOME Basic. | |
53 | ||
54 | %description static -l pl.UTF-8 | |
55 | Biblioteki statyczne do GNOME Basic. | |
56 | ||
57 | %prep | |
58 | %setup -q | |
59 | %patch0 -p1 | |
60 | %patch1 -p1 | |
61 | %patch2 -p1 | |
62 | %patch3 -p1 | |
63 | ||
64 | mv -f po/{no,nb}.po | |
65 | ||
66 | %build | |
67 | rm -f missing | |
68 | sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp | |
69 | mv -f configure.in.tmp configure.in | |
70 | %{__libtoolize} | |
71 | %{__aclocal} -I %{_aclocaldir}/gnome | |
72 | %{__autoconf} | |
73 | %{__automake} | |
74 | %configure | |
75 | %{__make} | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
83 | %find_lang %{name} | |
84 | ||
85 | %clean | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %post -p /sbin/ldconfig | |
89 | %postun -p /sbin/ldconfig | |
90 | ||
91 | %files -f %{name}.lang | |
92 | %defattr(644,root,root,755) | |
93 | %attr(755,root,root) %{_bindir}/gb | |
94 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
95 | ||
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
98 | %doc ChangeLog NEWS README TODO docs/*.txt | |
99 | %attr(755,root,root) %{_libdir}/lib*.so | |
100 | %{_libdir}/lib*.la | |
101 | %attr(755,root,root) %{_libdir}/*.sh | |
102 | %{_includedir}/* | |
103 | ||
104 | %files static | |
105 | %defattr(644,root,root,755) | |
106 | %{_libdir}/lib*.a |