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