]>
Commit | Line | Data |
---|---|---|
1 | Summary: libgee - GObject collection library | |
2 | Summary(pl.UTF-8): libgee - GObject collection library | |
3 | Name: libgee | |
4 | Version: 0.6.3 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgee/0.6/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 59464a3ebc772fd1e2c04cf2f438680c | |
10 | URL: http://live.gnome.org/Libgee | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: glib2-devel >= 1:2.12.0 | |
14 | BuildRequires: gobject-introspection-devel >= 0.9.0 | |
15 | BuildRequires: libtool | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: tar >= 1:1.22 | |
18 | BuildRequires: vala | |
19 | BuildRequires: xz | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | libgee is a collection library providing GObject-based interfaces and | |
24 | classes for commonly used data structures. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | libgee jest zbiorem bibliotek dostarczających interfejs GObject i | |
28 | klasy powszechnie używanych struktur danych. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for libgee library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgee | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | Requires: glib2-devel >= 1:2.12.0 | |
36 | ||
37 | %description devel | |
38 | Header files for libgee library. | |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Pliki nagłówkowe biblioteki libgee. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | ||
46 | %build | |
47 | %{__libtoolize} | |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__autoheader} | |
51 | %{__automake} | |
52 | %configure \ | |
53 | --disable-silent-rules | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgee.la | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post -p /sbin/ldconfig | |
68 | %postun -p /sbin/ldconfig | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS ChangeLog NEWS README | |
73 | %attr(755,root,root) %{_libdir}/libgee.so.*.*.* | |
74 | %attr(755,root,root) %ghost %{_libdir}/libgee.so.2 | |
75 | %{_libdir}/girepository-1.0/Gee-1.0.typelib | |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %attr(755,root,root) %{_libdir}/libgee.so | |
80 | %{_pkgconfigdir}/gee-1.0.pc | |
81 | %{_includedir}/gee-1.0 | |
82 | %{_datadir}/vala/vapi/gee-1.0.vapi | |
83 | %{_datadir}/gir-1.0/Gee-1.0.gir |