]>
Commit | Line | Data |
---|---|---|
4f75b570 | 1 | Summary: GB - GNOME Basic |
9442f1af | 2 | Summary(pl.UTF-8): GB - GNOME Basic |
82810894 | 3 | Name: gb |
5bea3a89 | 4 | Version: 0.0.20 |
3e6008f8 | 5 | Release: 5 |
aa24c5d4 | 6 | License: LGPL v2 (gbrun), GPL v2 (gb) |
82810894 | 7 | Group: X11/Libraries |
aa24c5d4 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gb/0.0/%{name}-%{version}.tar.gz |
634e96f8 | 9 | # Source0-md5: 19e35bd7f24ad619250484a997c0e02d |
27f33cc6 | 10 | Patch0: %{name}-am_fixes.patch |
db881768 | 11 | Patch1: %{name}-am15.patch |
aa24c5d4 | 12 | Patch2: %{name}-gbrun.patch |
3e6008f8 | 13 | Patch3: %{name}-locale_names.patch |
aa24c5d4 | 14 | URL: http://www.gnome.org/projects/gb/ |
3e9838a7 | 15 | BuildRequires: autoconf |
27f33cc6 | 16 | BuildRequires: automake |
82810894 | 17 | BuildRequires: flex |
207f83a2 | 18 | BuildRequires: gettext-tools |
3c52f91e | 19 | BuildRequires: gnome-libs-devel |
d9096e78 | 20 | BuildRequires: gnome-print-devel >= 0.28 |
5bea3a89 | 21 | BuildRequires: libtool |
82810894 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
82810894 | 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 | ||
7e2b747f JR |
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. | |
f3863397 | 32 | |
82810894 | 33 | %package devel |
4f75b570 | 34 | Summary: Development resources for GNOME Basic |
9442f1af | 35 | Summary(pl.UTF-8): Zasoby potrzebne przy tworzeniu aplikacji używających GNOME Basic |
82810894 | 36 | Group: X11/Development/Libraries |
c9a5f4e4 | 37 | Requires: %{name} = %{version}-%{release} |
82810894 | 38 | |
39 | %description devel | |
4f75b570 | 40 | Development resources for GNOME Basic. |
82810894 | 41 | |
7e2b747f JR |
42 | %description devel -l pl.UTF-8 |
43 | Zasoby potrzebne przy tworzeniu aplikacji używających gb. | |
f3863397 | 44 | |
82810894 | 45 | %package static |
4f75b570 | 46 | Summary: Static libraries for GNOME Basic |
9442f1af | 47 | Summary(pl.UTF-8): Biblioteki statyczne do GNOME Basic |
82810894 | 48 | Group: X11/Development/Libraries |
c9a5f4e4 | 49 | Requires: %{name}-devel = %{version}-%{release} |
82810894 | 50 | |
51 | %description static | |
4f75b570 | 52 | Static libraries for GNOME Basic. |
82810894 | 53 | |
7e2b747f | 54 | %description static -l pl.UTF-8 |
4f75b570 | 55 | Biblioteki statyczne do GNOME Basic. |
f3863397 | 56 | |
82810894 | 57 | %prep |
58 | %setup -q | |
54246ae0 | 59 | %patch0 -p1 |
db881768 | 60 | %patch1 -p1 |
61 | %patch2 -p1 | |
3e6008f8 | 62 | %patch3 -p1 |
63 | ||
64 | mv -f po/{no,nb}.po | |
82810894 | 65 | |
66 | %build | |
35a90182 | 67 | rm -f missing |
5bea3a89 | 68 | sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp |
69 | mv -f configure.in.tmp configure.in | |
59406175 | 70 | %{__libtoolize} |
e9eec32f | 71 | %{__aclocal} -I %{_aclocaldir}/gnome |
9d216cd9 | 72 | %{__autoconf} |
73 | %{__automake} | |
82810894 | 74 | %configure |
75 | %{__make} | |
76 | ||
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %{__make} install \ | |
81 | DESTDIR=$RPM_BUILD_ROOT | |
82 | ||
5bea3a89 | 83 | %find_lang %{name} |
84 | ||
82810894 | 85 | %clean |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
3e9838a7 JB |
88 | %post -p /sbin/ldconfig |
89 | %postun -p /sbin/ldconfig | |
90 | ||
5bea3a89 | 91 | %files -f %{name}.lang |
82810894 | 92 | %defattr(644,root,root,755) |
5bea3a89 | 93 | %attr(755,root,root) %{_bindir}/gb |
82810894 | 94 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
95 | ||
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
e9eec32f | 98 | %doc ChangeLog NEWS README TODO docs/*.txt |
82810894 | 99 | %attr(755,root,root) %{_libdir}/lib*.so |
7729f02f | 100 | %{_libdir}/lib*.la |
82810894 | 101 | %attr(755,root,root) %{_libdir}/*.sh |
102 | %{_includedir}/* | |
103 | ||
104 | %files static | |
105 | %defattr(644,root,root,755) | |
106 | %{_libdir}/lib*.a |