]> git.pld-linux.org Git - packages/gdl.git/blame - gdl.spec
- updated to 3.40.0
[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
50d2f9ba 8Version: 3.40.0
4e8a3220 9Release: 1
3b6f844f 10License: LGPL v2.1+
c95a282d 11Group: Libraries
50d2f9ba
JB
12Source0: https://download.gnome.org/sources/gdl/3.40/%{name}-%{version}.tar.xz
13# Source0-md5: 21df1254b49b74a498feb99be57364d0
15aa7e9f 14URL: https://gitlab.gnome.org/GNOME/gdl
376cfa5b 15BuildRequires: autoconf >= 2.65
3b6f844f
JB
16BuildRequires: automake >= 1:1.10
17BuildRequires: docbook-dtd43-xml
3e6268c9 18BuildRequires: gettext-tools
376cfa5b
MB
19BuildRequires: gobject-introspection-devel >= 0.10.0
20BuildRequires: gtk+3-devel >= 3.0.0
89566316 21BuildRequires: gtk-doc >= 1.4
e0cd39c8 22BuildRequires: intltool >= 0.40.4
c95a282d 23BuildRequires: libtool
89566316 24BuildRequires: libxml2-devel >= 1:2.6.26
b2420242 25BuildRequires: pkgconfig
50d2f9ba
JB
26BuildRequires: rpm-build >= 4.6
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
c95a282d 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
3b6f844f
JB
32The GNOME Devtools Library package provides a docking system and
33several utilities useful to GNOME development tools and GNOME
34applications in general.
c95a282d 35
f403039b 36%description -l pl.UTF-8
3b6f844f
JB
37Pakiet GNOME Devtools Library zapewnia system dokujący oraz kilka
38narzędzi przydatnych w narzędziach programistycznych GNOME oraz
39ogólnie aplikacjach GNOME.
a070abb4 40
c95a282d 41%package devel
42Summary: Header files for gdl development
3b6f844f 43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gdl
c95a282d 44Group: Development/Libraries
4ddc4132 45Requires: %{name} = %{version}-%{release}
376cfa5b 46Requires: gtk+3-devel >= 3.0.0
89566316 47Requires: libxml2-devel >= 1:2.6.26
c95a282d 48
49%description devel
50This package contains the header files needed to develop programs that
51use these gdl.
52
f403039b
JR
53%description devel -l pl.UTF-8
54Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
55używających bibliotek gdl.
c95a282d 56
57%package static
3b6f844f
JB
58Summary: Static gdl library
59Summary(pl.UTF-8): Statyczna biblioteka gdl
c95a282d 60Group: Development/Libraries
4ddc4132 61Requires: %{name}-devel = %{version}-%{release}
c95a282d 62
63%description static
3b6f844f 64This package contains the static gdl library.
c95a282d 65
f403039b 66%description static -l pl.UTF-8
3b6f844f 67Pakiet zawiera statyczną bibliotekę gdl.
c95a282d 68
89566316
MB
69%package apidocs
70Summary: gdl library API documentation
71Summary(pl.UTF-8): Dokumentacja API biblioteki gdl
72Group: Documentation
73Requires: gtk-doc-common
08eb8cd3 74BuildArch: noarch
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.08908 seconds and 4 git commands to generate.