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