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.34/%{name}-%{version}.tar.xz
13 # Source0-md5: d624f2ca85555402828d5c4a98912b82
14 URL: https://gitlab.gnome.org/GNOME/gdl
15 BuildRequires: autoconf >= 2.65
16 BuildRequires: automake >= 1:1.10
17 BuildRequires: docbook-dtd43-xml
18 BuildRequires: gettext-tools
19 BuildRequires: gobject-introspection-devel >= 0.10.0
20 BuildRequires: gtk+3-devel >= 3.0.0
21 BuildRequires: gtk-doc >= 1.4
22 BuildRequires: intltool >= 0.40.4
23 BuildRequires: libtool
24 BuildRequires: libxml2-devel >= 1:2.6.26
25 BuildRequires: pkgconfig
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 The GNOME Devtools Library package provides a docking system and
30 several utilities useful to GNOME development tools and GNOME
31 applications in general.
33 %description -l pl.UTF-8
34 Pakiet GNOME Devtools Library zapewnia system dokujący oraz kilka
35 narzędzi przydatnych w narzędziach programistycznych GNOME oraz
36 ogólnie aplikacjach GNOME.
39 Summary: Header files for gdl development
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gdl
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: gtk+3-devel >= 3.0.0
44 Requires: libxml2-devel >= 1:2.6.26
47 This package contains the header files needed to develop programs that
50 %description devel -l pl.UTF-8
51 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
52 używających bibliotek gdl.
55 Summary: Static gdl library
56 Summary(pl.UTF-8): Statyczna biblioteka gdl
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
61 This package contains the static gdl library.
63 %description static -l pl.UTF-8
64 Pakiet zawiera statyczną bibliotekę gdl.
67 Summary: gdl library API documentation
68 Summary(pl.UTF-8): Dokumentacja API biblioteki gdl
70 Requires: gtk-doc-common
74 gdl library API documentation.
76 %description apidocs -l pl.UTF-8
77 Dokumentacja API biblioteki gdl.
93 --disable-silent-rules \
94 %{?with_static_libs:--enable-static} \
95 --with-html-dir=%{_gtkdocdir}
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
115 %files -f %{name}-3.lang
116 %defattr(644,root,root,755)
117 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
118 %attr(755,root,root) %{_libdir}/libgdl-3.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libgdl-3.so.5
120 %{_libdir}/girepository-1.0/Gdl-3.typelib
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libgdl-3.so
125 %{_datadir}/gir-1.0/Gdl-3.gir
126 %{_includedir}/libgdl-3.0
127 %{_pkgconfigdir}/gdl-3.0.pc
129 %if %{with static_libs}
131 %defattr(644,root,root,755)
132 %{_libdir}/libgdl-3.a
136 %defattr(644,root,root,755)
137 %{_gtkdocdir}/gdl-3.0