]> git.pld-linux.org Git - packages/gdl.git/blob - gdl.spec
- updated to 3.40.0
[packages/gdl.git] / gdl.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # static library
4
5 Summary:        GNOME Devtools Library
6 Summary(pl.UTF-8):      Biblioteka GNOME Devtools Library
7 Name:           gdl
8 Version:        3.28.0
9 Release:        1
10 License:        LGPL v2.1+
11 Group:          Libraries
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)
28
29 %description
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.
33
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.
38
39 %package devel
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
46
47 %description devel
48 This package contains the header files needed to develop programs that
49 use these gdl.
50
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.
54
55 %package static
56 Summary:        Static gdl library
57 Summary(pl.UTF-8):      Statyczna biblioteka gdl
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}-%{release}
60
61 %description static
62 This package contains the static gdl library.
63
64 %description static -l pl.UTF-8
65 Pakiet zawiera statyczną bibliotekę gdl.
66
67 %package apidocs
68 Summary:        gdl library API documentation
69 Summary(pl.UTF-8):      Dokumentacja API biblioteki gdl
70 Group:          Documentation
71 Requires:       gtk-doc-common
72 %if "%{_rpmversion}" >= "5"
73 BuildArch:      noarch
74 %endif
75
76 %description apidocs
77 gdl library API documentation.
78
79 %description apidocs -l pl.UTF-8
80 Dokumentacja API biblioteki gdl.
81
82 %prep
83 %setup -q
84
85 %build
86 #{__glib_gettextize}
87 %{__gtkdocize}
88 %{__intltoolize}
89 %{__libtoolize}
90 %{__aclocal} -I m4
91 %{__autoconf}
92 %{__autoheader}
93 %{__automake}
94 %configure \
95         --enable-gtk-doc \
96         --disable-silent-rules \
97         %{?with_static_libs:--enable-static} \
98         --with-html-dir=%{_gtkdocdir}
99
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 %{__make} install \
106         DESTDIR=$RPM_BUILD_ROOT
107
108 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
109
110 %find_lang %{name}-3
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post   -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
117
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
124
125 %files devel
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
131
132 %if %{with static_libs}
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/libgdl-3.a
136 %endif
137
138 %files apidocs
139 %defattr(644,root,root,755)
140 %{_gtkdocdir}/gdl-3.0
This page took 0.092525 seconds and 3 git commands to generate.