]> git.pld-linux.org Git - packages/gdl.git/blame - gdl.spec
noarch apidoc
[packages/gdl.git] / gdl.spec
CommitLineData
3b6f844f
JB
1#
2# Conditional build:
3%bcond_without static_libs # static library
08eb8cd3 4
3b6f844f
JB
5Summary: GNOME Devtools Library
6Summary(pl.UTF-8): Biblioteka GNOME Devtools Library
c95a282d 7Name: gdl
116ec37f 8Version: 3.18.0
08eb8cd3 9Release: 2
3b6f844f 10License: LGPL v2.1+
c95a282d 11Group: Libraries
116ec37f
ŁK
12Source0: http://ftp.gnome.org/pub/GNOME/sources/gdl/3.18/%{name}-%{version}.tar.xz
13# Source0-md5: 25f2e50969406563b78c8ad4571ef826
376cfa5b 14BuildRequires: autoconf >= 2.65
3b6f844f
JB
15BuildRequires: automake >= 1:1.10
16BuildRequires: docbook-dtd43-xml
3e6268c9 17BuildRequires: gettext-tools
376cfa5b
MB
18BuildRequires: gobject-introspection-devel >= 0.10.0
19BuildRequires: gtk+3-devel >= 3.0.0
89566316 20BuildRequires: gtk-doc >= 1.4
e0cd39c8 21BuildRequires: intltool >= 0.40.4
c95a282d 22BuildRequires: libtool
89566316 23BuildRequires: libxml2-devel >= 1:2.6.26
b2420242 24BuildRequires: pkgconfig
26d861f6 25# sr@Latn vs. sr@latin
26Conflicts: glibc-misc < 6:2.7
c95a282d 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
3b6f844f
JB
30The GNOME Devtools Library package provides a docking system and
31several utilities useful to GNOME development tools and GNOME
32applications in general.
c95a282d 33
f403039b 34%description -l pl.UTF-8
3b6f844f
JB
35Pakiet GNOME Devtools Library zapewnia system dokujący oraz kilka
36narzędzi przydatnych w narzędziach programistycznych GNOME oraz
37ogólnie aplikacjach GNOME.
a070abb4 38
c95a282d 39%package devel
40Summary: Header files for gdl development
3b6f844f 41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gdl
c95a282d 42Group: Development/Libraries
4ddc4132 43Requires: %{name} = %{version}-%{release}
376cfa5b 44Requires: gtk+3-devel >= 3.0.0
89566316 45Requires: libxml2-devel >= 1:2.6.26
c95a282d 46
47%description devel
48This package contains the header files needed to develop programs that
49use these gdl.
50
f403039b
JR
51%description devel -l pl.UTF-8
52Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
53używających bibliotek gdl.
c95a282d 54
55%package static
3b6f844f
JB
56Summary: Static gdl library
57Summary(pl.UTF-8): Statyczna biblioteka gdl
c95a282d 58Group: Development/Libraries
4ddc4132 59Requires: %{name}-devel = %{version}-%{release}
c95a282d 60
61%description static
3b6f844f 62This package contains the static gdl library.
c95a282d 63
f403039b 64%description static -l pl.UTF-8
3b6f844f 65Pakiet zawiera statyczną bibliotekę gdl.
c95a282d 66
89566316
MB
67%package apidocs
68Summary: gdl library API documentation
69Summary(pl.UTF-8): Dokumentacja API biblioteki gdl
70Group: Documentation
71Requires: gtk-doc-common
08eb8cd3
ER
72%if "%{_rpmversion}" >= "5"
73BuildArch: noarch
74%endif
89566316
MB
75
76%description apidocs
77gdl library API documentation.
78
79%description apidocs -l pl.UTF-8
80Dokumentacja API biblioteki gdl.
81
c95a282d 82%prep
83%setup -q
84
85%build
3b6f844f 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 \
89566316 95 --enable-gtk-doc \
3b6f844f
JB
96 --disable-silent-rules \
97 %{?with_static_libs:--enable-static} \
98 --with-html-dir=%{_gtkdocdir}
ed81ca9b 99
c95a282d 100%{__make}
101
102%install
103rm -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
113rm -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)
3b6f844f 120%doc AUTHORS ChangeLog MAINTAINERS 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
3b6f844f 132%if %{with static_libs}
c95a282d 133%files static
134%defattr(644,root,root,755)
376cfa5b 135%{_libdir}/libgdl-3.a
3b6f844f 136%endif
89566316
MB
137
138%files apidocs
139%defattr(644,root,root,755)
376cfa5b 140%{_gtkdocdir}/gdl-3.0
This page took 0.151537 seconds and 4 git commands to generate.