]>
Commit | Line | Data |
---|---|---|
24f77259 | 1 | Summary: GNOME Devtool Libraries |
cfb69378 | 2 | Summary(pl.UTF-8): Biblioteki GNOME Devtool |
c95a282d | 3 | Name: gdl |
fb3064f6 | 4 | Version: 2.28.0 |
6628307d | 5 | Release: 2 |
89566316 | 6 | License: GPL v2+ |
c95a282d | 7 | Group: Libraries |
fb3064f6 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gdl/2.28/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: fb0030d3a81fd52932f9cba09e4ce1e0 | |
89566316 | 10 | BuildRequires: autoconf >= 2.53 |
c95a282d | 11 | BuildRequires: automake |
b2420242 | 12 | BuildRequires: gettext-devel |
7f310be4 | 13 | BuildRequires: gtk+2-devel >= 2:2.16.0 |
89566316 | 14 | BuildRequires: gtk-doc >= 1.4 |
92e83b0f | 15 | BuildRequires: intltool >= 0.40.0 |
c95a282d | 16 | BuildRequires: libtool |
89566316 | 17 | BuildRequires: libxml2-devel >= 1:2.6.26 |
b2420242 | 18 | BuildRequires: pkgconfig |
26d861f6 | 19 | # sr@Latn vs. sr@latin |
20 | Conflicts: glibc-misc < 6:2.7 | |
c95a282d | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | This package contains components and libraries that are intended to be | |
25 | shared between GNOME development tools, including gnome-debug, | |
26 | gnome-build, and anjuta2. The current pieces of GDL include: a symbol | |
cce19a1d | 27 | browser bonobo component (symbol-browser-control), a docking widget |
28 | (gdl), a utility library that also contains the stubs and skels for | |
29 | the symbol browser and text editor components (gdl, idl). | |
c95a282d | 30 | |
f403039b JR |
31 | %description -l pl.UTF-8 |
32 | Ten pakiet zawiera komponenty i biblioteki zaprojektowane jako wspólne | |
33 | dla różnych narzędzi programistycznych GNOME, takich jak: gnome-debug, | |
34 | gnome-build i anjuta2. Aktualnie GDL zawiera: przeglądarkę symboli | |
f7783e9f | 35 | jako komponent bonobo (symbol-browser-control), dokowany element |
f403039b JR |
36 | interfejsu graficznego (gdl), bibliotekę narzędzi zawierającą także |
37 | szkielety dla przeglądarki symboli i komponentów edytora tekstu (gdl, | |
f7783e9f | 38 | idl). |
a070abb4 | 39 | |
c95a282d | 40 | %package devel |
41 | Summary: Header files for gdl development | |
cfb69378 | 42 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki gdl |
c95a282d | 43 | Group: Development/Libraries |
4ddc4132 | 44 | Requires: %{name} = %{version}-%{release} |
7f310be4 | 45 | Requires: gtk+2-devel >= 2:2.16.0 |
89566316 | 46 | Requires: libxml2-devel >= 1:2.6.26 |
c95a282d | 47 | |
48 | %description devel | |
49 | This package contains the header files needed to develop programs that | |
50 | use these gdl. | |
51 | ||
f403039b JR |
52 | %description devel -l pl.UTF-8 |
53 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów | |
54 | używających bibliotek gdl. | |
c95a282d | 55 | |
56 | %package static | |
57 | Summary: Static libraries for gdl development | |
cfb69378 | 58 | Summary(pl.UTF-8): Statyczne biblioteki gdl |
c95a282d | 59 | Group: Development/Libraries |
4ddc4132 | 60 | Requires: %{name}-devel = %{version}-%{release} |
c95a282d | 61 | |
62 | %description static | |
63 | This package contains the static gdl libraries. | |
64 | ||
f403039b | 65 | %description static -l pl.UTF-8 |
c95a282d | 66 | Pakiet zawiera statyczne biblioteki gdl. |
67 | ||
89566316 MB |
68 | %package apidocs |
69 | Summary: gdl library API documentation | |
70 | Summary(pl.UTF-8): Dokumentacja API biblioteki gdl | |
71 | Group: Documentation | |
72 | Requires: gtk-doc-common | |
73 | ||
74 | %description apidocs | |
75 | gdl library API documentation. | |
76 | ||
77 | %description apidocs -l pl.UTF-8 | |
78 | Dokumentacja API biblioteki gdl. | |
79 | ||
c95a282d | 80 | %prep |
81 | %setup -q | |
82 | ||
83 | %build | |
fe8ddd99 | 84 | %{__glib_gettextize} |
e90ea9cb | 85 | %{__intltoolize} |
c95a282d | 86 | %{__libtoolize} |
8af38820 | 87 | %{__aclocal} |
c95a282d | 88 | %{__autoconf} |
89566316 | 89 | %{__autoheader} |
c95a282d | 90 | %{__automake} |
ed81ca9b | 91 | %configure \ |
89566316 MB |
92 | --with-html-dir=%{_gtkdocdir} \ |
93 | --enable-gtk-doc \ | |
ed81ca9b MB |
94 | --enable-static |
95 | ||
c95a282d | 96 | %{__make} |
97 | ||
98 | %install | |
99 | rm -rf $RPM_BUILD_ROOT | |
100 | ||
101 | %{__make} install \ | |
102 | DESTDIR=$RPM_BUILD_ROOT | |
103 | ||
89566316 | 104 | %find_lang %{name}-1 |
c95a282d | 105 | |
106 | %clean | |
107 | rm -rf $RPM_BUILD_ROOT | |
108 | ||
97e15588 JB |
109 | %post -p /sbin/ldconfig |
110 | %postun -p /sbin/ldconfig | |
c95a282d | 111 | |
a070abb4 | 112 | %files -f %{name}-1.lang |
c95a282d | 113 | %defattr(644,root,root,755) |
114 | %doc AUTHORS ChangeLog NEWS README | |
89566316 | 115 | %attr(755,root,root) %{_libdir}/libgdl-1.so.*.*.* |
fb3064f6 | 116 | %attr(755,root,root) %ghost %{_libdir}/libgdl-1.so.3 |
c95a282d | 117 | %{_datadir}/gdl |
c95a282d | 118 | |
119 | %files devel | |
120 | %defattr(644,root,root,755) | |
89566316 | 121 | %attr(755,root,root) %{_libdir}/libgdl-1.so |
c95a282d | 122 | %{_includedir}/libgdl-1.0 |
89566316 | 123 | %{_libdir}/libgdl-1.la |
89566316 | 124 | %{_pkgconfigdir}/gdl-1.0.pc |
c95a282d | 125 | |
126 | %files static | |
127 | %defattr(644,root,root,755) | |
89566316 | 128 | %{_libdir}/libgdl-1.a |
89566316 MB |
129 | |
130 | %files apidocs | |
131 | %defattr(644,root,root,755) | |
132 | %{_gtkdocdir}/gdl |