]>
Commit | Line | Data |
---|---|---|
1 | Summary: GNOME Devtool Libraries | |
2 | Summary(pl.UTF-8): Biblioteki GNOME Devtool | |
3 | Name: gdl | |
4 | Version: 0.7.5 | |
5 | Release: 2 | |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gdl/0.7/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 85c867019080bd9b5bb1cdb880a82ff2 | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: gettext-devel | |
13 | BuildRequires: gnome-common >= 2.18.0 | |
14 | BuildRequires: intltool | |
15 | BuildRequires: libbonoboui-devel >= 2.18.0 | |
16 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
17 | BuildRequires: libgnomeui-devel >= 2.18.1 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: pkgconfig | |
20 | # sr@Latn vs. sr@latin | |
21 | Conflicts: glibc-misc < 6:2.7 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | This package contains components and libraries that are intended to be | |
26 | shared between GNOME development tools, including gnome-debug, | |
27 | gnome-build, and anjuta2. The current pieces of GDL include: a symbol | |
28 | browser bonobo component (symbol-browser-control), a docking widget | |
29 | (gdl), a utility library that also contains the stubs and skels for | |
30 | the symbol browser and text editor components (gdl, idl). | |
31 | ||
32 | %description -l pl.UTF-8 | |
33 | Ten pakiet zawiera komponenty i biblioteki zaprojektowane jako wspólne | |
34 | dla różnych narzędzi programistycznych GNOME, takich jak: gnome-debug, | |
35 | gnome-build i anjuta2. Aktualnie GDL zawiera: przeglądarkę symboli | |
36 | jako komponent bonobo (symbol-browser-control), dokowany element | |
37 | interfejsu graficznego (gdl), bibliotekę narzędzi zawierającą także | |
38 | szkielety dla przeglądarki symboli i komponentów edytora tekstu (gdl, | |
39 | idl). | |
40 | ||
41 | %package devel | |
42 | Summary: Header files for gdl development | |
43 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki gdl | |
44 | Group: Development/Libraries | |
45 | Requires: %{name} = %{version}-%{release} | |
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 libraries for gdl development | |
57 | Summary(pl.UTF-8): Statyczne biblioteki gdl | |
58 | Group: Development/Libraries | |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
62 | This package contains the static gdl libraries. | |
63 | ||
64 | %description static -l pl.UTF-8 | |
65 | Pakiet zawiera statyczne biblioteki gdl. | |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | ||
70 | %build | |
71 | %{__glib_gettextize} | |
72 | %{__intltoolize} | |
73 | %{__libtoolize} | |
74 | %{__aclocal} | |
75 | %{__autoconf} | |
76 | %{__automake} | |
77 | %configure \ | |
78 | --enable-static | |
79 | ||
80 | %{__make} | |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
87 | ||
88 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ | |
89 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
90 | %find_lang %{name}-1 --with-gnome | |
91 | ||
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post -p /sbin/ldconfig | |
96 | %postun -p /sbin/ldconfig | |
97 | ||
98 | %files -f %{name}-1.lang | |
99 | %defattr(644,root,root,755) | |
100 | %doc AUTHORS ChangeLog NEWS README | |
101 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
102 | %{_datadir}/gdl | |
103 | ||
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %{_includedir}/libgdl-1.0 | |
107 | %{_libdir}/lib*.la | |
108 | %attr(755,root,root) %{_libdir}/lib*.so | |
109 | %{_pkgconfigdir}/*.pc | |
110 | ||
111 | %files static | |
112 | %defattr(644,root,root,755) | |
113 | %{_libdir}/lib*.a |