]> git.pld-linux.org Git - packages/gdl.git/blob - gdl.spec
2a6dbe57bfa48c80b3c700d4940840936d8c2e2e
[packages/gdl.git] / gdl.spec
1 Summary:        GNOME Devtool Libraries
2 Summary(pl.UTF-8):      Biblioteki GNOME Devtool
3 Name:           gdl
4 Version:        2.30.0
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gdl/2.30/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ce4eef03a36bf6abd9f8cbad4806d7b8
10 BuildRequires:  autoconf >= 2.53
11 BuildRequires:  automake
12 BuildRequires:  docbook-dtd412-xml
13 BuildRequires:  gettext-devel
14 BuildRequires:  gtk+2-devel >= 2:2.16.0
15 BuildRequires:  gtk-doc >= 1.4
16 BuildRequires:  intltool >= 0.40.0
17 BuildRequires:  libtool
18 BuildRequires:  libxml2-devel >= 1:2.6.26
19 BuildRequires:  pkgconfig
20 BuildRequires:  sed >= 4.0
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+2-devel >= 2:2.16.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 sed -i -e 's/^en@shaw//' po/LINGUAS
86 rm -f po/en@shaw.po
87
88 %build
89 %{__glib_gettextize}
90 %{__gtkdocize}
91 %{__intltoolize}
92 %{__libtoolize}
93 %{__aclocal}
94 %{__autoconf}
95 %{__autoheader}
96 %{__automake}
97 %configure \
98         --disable-silent-rules \
99         --with-html-dir=%{_gtkdocdir} \
100         --enable-gtk-doc \
101         --enable-static
102
103 %{__make}
104
105 %install
106 rm -rf $RPM_BUILD_ROOT
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT
110
111 %find_lang %{name}-1
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post   -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
118
119 %files -f %{name}-1.lang
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog NEWS README
122 %attr(755,root,root) %{_libdir}/libgdl-1.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libgdl-1.so.3
124 %{_datadir}/gdl
125
126 %files devel
127 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/libgdl-1.so
129 %{_includedir}/libgdl-1.0
130 %{_libdir}/libgdl-1.la
131 %{_pkgconfigdir}/gdl-1.0.pc
132
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/libgdl-1.a
136
137 %files apidocs
138 %defattr(644,root,root,755)
139 %{_gtkdocdir}/gdl
This page took 0.074304 seconds and 3 git commands to generate.