3 %bcond_without static_libs # static library
5 Summary: GNOME Devtools Library
6 Summary(pl.UTF-8): Biblioteka GNOME Devtools Library
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/gdl/3.28/%{name}-%{version}.tar.xz
13 # Source0-md5: c8ca925553bc64f52f5dab1a11135d90
14 BuildRequires: autoconf >= 2.65
15 BuildRequires: automake >= 1:1.10
16 BuildRequires: docbook-dtd43-xml
17 BuildRequires: gettext-tools
18 BuildRequires: gobject-introspection-devel >= 0.10.0
19 BuildRequires: gtk+3-devel >= 3.0.0
20 BuildRequires: gtk-doc >= 1.4
21 BuildRequires: intltool >= 0.40.4
22 BuildRequires: libtool
23 BuildRequires: libxml2-devel >= 1:2.6.26
24 BuildRequires: pkgconfig
25 # sr@Latn vs. sr@latin
26 Conflicts: glibc-misc < 6:2.7
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 The GNOME Devtools Library package provides a docking system and
31 several utilities useful to GNOME development tools and GNOME
32 applications in general.
34 %description -l pl.UTF-8
35 Pakiet GNOME Devtools Library zapewnia system dokujący oraz kilka
36 narzędzi przydatnych w narzędziach programistycznych GNOME oraz
37 ogólnie aplikacjach GNOME.
40 Summary: Header files for gdl development
41 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gdl
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: gtk+3-devel >= 3.0.0
45 Requires: libxml2-devel >= 1:2.6.26
48 This package contains the header files needed to develop programs that
51 %description devel -l pl.UTF-8
52 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
53 używających bibliotek gdl.
56 Summary: Static gdl library
57 Summary(pl.UTF-8): Statyczna biblioteka gdl
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 This package contains the static gdl library.
64 %description static -l pl.UTF-8
65 Pakiet zawiera statyczną bibliotekę gdl.
68 Summary: gdl library API documentation
69 Summary(pl.UTF-8): Dokumentacja API biblioteki gdl
71 Requires: gtk-doc-common
72 %if "%{_rpmversion}" >= "5"
77 gdl library API documentation.
79 %description apidocs -l pl.UTF-8
80 Dokumentacja API biblioteki gdl.
96 --disable-silent-rules \
97 %{?with_static_libs:--enable-static} \
98 --with-html-dir=%{_gtkdocdir}
103 rm -rf $RPM_BUILD_ROOT
106 DESTDIR=$RPM_BUILD_ROOT
108 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
113 rm -rf $RPM_BUILD_ROOT
115 %post -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
118 %files -f %{name}-3.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
121 %attr(755,root,root) %{_libdir}/libgdl-3.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libgdl-3.so.5
123 %{_libdir}/girepository-1.0/Gdl-3.typelib
126 %defattr(644,root,root,755)
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
132 %if %{with static_libs}
134 %defattr(644,root,root,755)
135 %{_libdir}/libgdl-3.a
139 %defattr(644,root,root,755)
140 %{_gtkdocdir}/gdl-3.0