]>
Commit | Line | Data |
---|---|---|
1 | Summary: GNOME Devtool Libraries | |
2 | Summary(pl.UTF-8): Biblioteki GNOME Devtool | |
3 | Name: gdl | |
4 | Version: 0.7.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gdl/0.7/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 5f3e065d4fcafc072b12e19e855c2fa1 | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: gettext-devel | |
13 | BuildRequires: gnome-common >= 2.12.0 | |
14 | BuildRequires: intltool | |
15 | BuildRequires: libbonoboui-devel >= 2.16.0 | |
16 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
17 | BuildRequires: libgnomeui-devel >= 2.16.1 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: pkgconfig | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This package contains components and libraries that are intended to be | |
24 | shared between GNOME development tools, including gnome-debug, | |
25 | gnome-build, and anjuta2. The current pieces of GDL include: a symbol | |
26 | browser bonobo component (symbol-browser-control), a docking widget | |
27 | (gdl), a utility library that also contains the stubs and skels for | |
28 | the symbol browser and text editor components (gdl, idl). | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Ten pakiet zawiera komponenty i biblioteki zaprojektowane jako wspólne | |
32 | dla różnych narzędzi programistycznych GNOME, takich jak: gnome-debug, | |
33 | gnome-build i anjuta2. Aktualnie GDL zawiera: przeglądarkę symboli | |
34 | jako komponent bonobo (symbol-browser-control), dokowany element | |
35 | interfejsu graficznego (gdl), bibliotekę narzędzi zawierającą także | |
36 | szkielety dla przeglądarki symboli i komponentów edytora tekstu (gdl, | |
37 | idl). | |
38 | ||
39 | %package devel | |
40 | Summary: Header files for gdl development | |
41 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki gdl | |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{version}-%{release} | |
44 | ||
45 | %description devel | |
46 | This package contains the header files needed to develop programs that | |
47 | use these gdl. | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów | |
51 | używających bibliotek gdl. | |
52 | ||
53 | %package static | |
54 | Summary: Static libraries for gdl development | |
55 | Summary(pl.UTF-8): Statyczne biblioteki gdl | |
56 | Group: Development/Libraries | |
57 | Requires: %{name}-devel = %{version}-%{release} | |
58 | ||
59 | %description static | |
60 | This package contains the static gdl libraries. | |
61 | ||
62 | %description static -l pl.UTF-8 | |
63 | Pakiet zawiera statyczne biblioteki gdl. | |
64 | ||
65 | %prep | |
66 | %setup -q | |
67 | ||
68 | %build | |
69 | %{__glib_gettextize} | |
70 | %{__intltoolize} | |
71 | %{__libtoolize} | |
72 | %{__aclocal} | |
73 | %{__autoconf} | |
74 | %{__automake} | |
75 | %configure \ | |
76 | --enable-static | |
77 | ||
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %find_lang %{name}-1 --with-gnome | |
87 | ||
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %post -p /sbin/ldconfig | |
92 | %postun -p /sbin/ldconfig | |
93 | ||
94 | %files -f %{name}-1.lang | |
95 | %defattr(644,root,root,755) | |
96 | %doc AUTHORS ChangeLog NEWS README | |
97 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
98 | %{_datadir}/gdl | |
99 | ||
100 | %files devel | |
101 | %defattr(644,root,root,755) | |
102 | %{_includedir}/libgdl-1.0 | |
103 | %{_libdir}/lib*.la | |
104 | %attr(755,root,root) %{_libdir}/lib*.so | |
105 | %{_pkgconfigdir}/*.pc | |
106 | ||
107 | %files static | |
108 | %defattr(644,root,root,755) | |
109 | %{_libdir}/lib*.a |