]>
Commit | Line | Data |
---|---|---|
24f77259 | 1 | Summary: GNOME Devtool Libraries |
cfb69378 | 2 | Summary(pl.UTF-8): Biblioteki GNOME Devtool |
c95a282d | 3 | Name: gdl |
2c5c09a3 | 4 | Version: 0.7.5 |
26d861f6 | 5 | Release: 2 |
c95a282d | 6 | License: GPL |
7 | Group: Libraries | |
ed81ca9b | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gdl/0.7/%{name}-%{version}.tar.bz2 |
2c5c09a3 | 9 | # Source0-md5: 85c867019080bd9b5bb1cdb880a82ff2 |
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 |
26d861f6 | 20 | # sr@Latn vs. sr@latin |
21 | Conflicts: glibc-misc < 6:2.7 | |
c95a282d | 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 | |
cce19a1d | 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). | |
c95a282d | 31 | |
f403039b JR |
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 | |
f7783e9f | 36 | jako komponent bonobo (symbol-browser-control), dokowany element |
f403039b JR |
37 | interfejsu graficznego (gdl), bibliotekę narzędzi zawierającą także |
38 | szkielety dla przeglądarki symboli i komponentów edytora tekstu (gdl, | |
f7783e9f | 39 | idl). |
a070abb4 | 40 | |
c95a282d | 41 | %package devel |
42 | Summary: Header files for gdl development | |
cfb69378 | 43 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki gdl |
c95a282d | 44 | Group: Development/Libraries |
4ddc4132 | 45 | Requires: %{name} = %{version}-%{release} |
c95a282d | 46 | |
47 | %description devel | |
48 | This package contains the header files needed to develop programs that | |
49 | use these gdl. | |
50 | ||
f403039b JR |
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. | |
c95a282d | 54 | |
55 | %package static | |
56 | Summary: Static libraries for gdl development | |
cfb69378 | 57 | Summary(pl.UTF-8): Statyczne biblioteki gdl |
c95a282d | 58 | Group: Development/Libraries |
4ddc4132 | 59 | Requires: %{name}-devel = %{version}-%{release} |
c95a282d | 60 | |
61 | %description static | |
62 | This package contains the static gdl libraries. | |
63 | ||
f403039b | 64 | %description static -l pl.UTF-8 |
c95a282d | 65 | Pakiet zawiera statyczne biblioteki gdl. |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | ||
70 | %build | |
fe8ddd99 | 71 | %{__glib_gettextize} |
e90ea9cb | 72 | %{__intltoolize} |
c95a282d | 73 | %{__libtoolize} |
8af38820 | 74 | %{__aclocal} |
c95a282d | 75 | %{__autoconf} |
76 | %{__automake} | |
ed81ca9b MB |
77 | %configure \ |
78 | --enable-static | |
79 | ||
c95a282d | 80 | %{__make} |
81 | ||
82 | %install | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %{__make} install \ | |
86 | DESTDIR=$RPM_BUILD_ROOT | |
87 | ||
26d861f6 | 88 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
89 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
a070abb4 | 90 | %find_lang %{name}-1 --with-gnome |
c95a282d | 91 | |
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
97e15588 JB |
95 | %post -p /sbin/ldconfig |
96 | %postun -p /sbin/ldconfig | |
c95a282d | 97 | |
a070abb4 | 98 | %files -f %{name}-1.lang |
c95a282d | 99 | %defattr(644,root,root,755) |
100 | %doc AUTHORS ChangeLog NEWS README | |
c95a282d | 101 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
102 | %{_datadir}/gdl | |
c95a282d | 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 |