]> git.pld-linux.org Git - packages/gb.git/blame - gb.spec
- updated gettext BR
[packages/gb.git] / gb.spec
CommitLineData
4f75b570 1Summary: GB - GNOME Basic
9442f1af 2Summary(pl.UTF-8): GB - GNOME Basic
82810894 3Name: gb
5bea3a89 4Version: 0.0.20
3e6008f8 5Release: 5
aa24c5d4 6License: LGPL v2 (gbrun), GPL v2 (gb)
82810894 7Group: X11/Libraries
aa24c5d4 8Source0: http://ftp.gnome.org/pub/GNOME/sources/gb/0.0/%{name}-%{version}.tar.gz
634e96f8 9# Source0-md5: 19e35bd7f24ad619250484a997c0e02d
27f33cc6 10Patch0: %{name}-am_fixes.patch
db881768 11Patch1: %{name}-am15.patch
aa24c5d4 12Patch2: %{name}-gbrun.patch
3e6008f8 13Patch3: %{name}-locale_names.patch
aa24c5d4 14URL: http://www.gnome.org/projects/gb/
3e9838a7 15BuildRequires: autoconf
27f33cc6 16BuildRequires: automake
82810894 17BuildRequires: flex
207f83a2 18BuildRequires: gettext-tools
3c52f91e 19BuildRequires: gnome-libs-devel
d9096e78 20BuildRequires: gnome-print-devel >= 0.28
5bea3a89 21BuildRequires: libtool
82810894 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
82810894 24%description
25This is an embryonic attempt to provide VB compatible functionality
26for the GNOME project, particularly with respect to office (VBA)
27compatibility.
28
7e2b747f
JR
29%description -l pl.UTF-8
30Pakiet ten zawiera bibliotekę która udostępnia funkcje umożliwiające
31realizację VB (Visual Basic) dla aplikacji GNOME.
f3863397 32
82810894 33%package devel
4f75b570 34Summary: Development resources for GNOME Basic
9442f1af 35Summary(pl.UTF-8): Zasoby potrzebne przy tworzeniu aplikacji używających GNOME Basic
82810894 36Group: X11/Development/Libraries
c9a5f4e4 37Requires: %{name} = %{version}-%{release}
82810894 38
39%description devel
4f75b570 40Development resources for GNOME Basic.
82810894 41
7e2b747f
JR
42%description devel -l pl.UTF-8
43Zasoby potrzebne przy tworzeniu aplikacji używających gb.
f3863397 44
82810894 45%package static
4f75b570 46Summary: Static libraries for GNOME Basic
9442f1af 47Summary(pl.UTF-8): Biblioteki statyczne do GNOME Basic
82810894 48Group: X11/Development/Libraries
c9a5f4e4 49Requires: %{name}-devel = %{version}-%{release}
82810894 50
51%description static
4f75b570 52Static libraries for GNOME Basic.
82810894 53
7e2b747f 54%description static -l pl.UTF-8
4f75b570 55Biblioteki 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
64mv -f po/{no,nb}.po
82810894 65
66%build
35a90182 67rm -f missing
5bea3a89 68sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp
69mv -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
78rm -rf $RPM_BUILD_ROOT
79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
82
5bea3a89 83%find_lang %{name}
84
82810894 85%clean
86rm -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
This page took 0.074973 seconds and 4 git commands to generate.