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