]> git.pld-linux.org Git - packages/gdl.git/blob - gdl.spec
- updated gettext BR
[packages/gdl.git] / gdl.spec
1 Summary:        GNOME Devtool Libraries
2 Summary(pl.UTF-8):      Biblioteki GNOME Devtool
3 Name:           gdl
4 Version:        3.14.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gdl/3.14/%{name}-%{version}.tar.xz
9 # Source0-md5:  46167a3b42d021de34567db81e78be43
10 BuildRequires:  autoconf >= 2.65
11 BuildRequires:  automake
12 BuildRequires:  docbook-dtd412-xml
13 BuildRequires:  gettext-tools
14 BuildRequires:  gobject-introspection-devel >= 0.10.0
15 BuildRequires:  gtk+3-devel >= 3.0.0
16 BuildRequires:  gtk-doc >= 1.4
17 BuildRequires:  intltool >= 0.40.4
18 BuildRequires:  libtool
19 BuildRequires:  libxml2-devel >= 1:2.6.26
20 BuildRequires:  pkgconfig
21 # sr@Latn vs. sr@latin
22 Conflicts:      glibc-misc < 6:2.7
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This package contains components and libraries that are intended to be
27 shared between GNOME development tools, including gnome-debug,
28 gnome-build, and anjuta2. The current pieces of GDL include: a symbol
29 browser bonobo component (symbol-browser-control), a docking widget
30 (gdl), a utility library that also contains the stubs and skels for
31 the symbol browser and text editor components (gdl, idl).
32
33 %description -l pl.UTF-8
34 Ten pakiet zawiera komponenty i biblioteki zaprojektowane jako wspólne
35 dla różnych narzędzi programistycznych GNOME, takich jak: gnome-debug,
36 gnome-build i anjuta2. Aktualnie GDL zawiera: przeglądarkę symboli
37 jako komponent bonobo (symbol-browser-control), dokowany element
38 interfejsu graficznego (gdl), bibliotekę narzędzi zawierającą także
39 szkielety dla przeglądarki symboli i komponentów edytora tekstu (gdl,
40 idl).
41
42 %package devel
43 Summary:        Header files for gdl development
44 Summary(pl.UTF-8):      Pliki nagłówkowe do biblioteki gdl
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-%{release}
47 Requires:       gtk+3-devel >= 3.0.0
48 Requires:       libxml2-devel >= 1:2.6.26
49
50 %description devel
51 This package contains the header files needed to develop programs that
52 use these gdl.
53
54 %description devel -l pl.UTF-8
55 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
56 używających bibliotek gdl.
57
58 %package static
59 Summary:        Static libraries for gdl development
60 Summary(pl.UTF-8):      Statyczne biblioteki gdl
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{version}-%{release}
63
64 %description static
65 This package contains the static gdl libraries.
66
67 %description static -l pl.UTF-8
68 Pakiet zawiera statyczne biblioteki gdl.
69
70 %package apidocs
71 Summary:        gdl library API documentation
72 Summary(pl.UTF-8):      Dokumentacja API biblioteki gdl
73 Group:          Documentation
74 Requires:       gtk-doc-common
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         --disable-silent-rules \
96         --with-html-dir=%{_gtkdocdir} \
97         --enable-gtk-doc \
98         --enable-static
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 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 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libgdl-3.a
135
136 %files apidocs
137 %defattr(644,root,root,755)
138 %{_gtkdocdir}/gdl-3.0
This page took 0.063133 seconds and 3 git commands to generate.