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