]>
Commit | Line | Data |
---|---|---|
18a79e61 MB |
1 | Summary: libgee - GObject collection library |
2 | Summary(pl.UTF-8): libgee - GObject collection library | |
3 | Name: libgee | |
be5c05e1 | 4 | Version: 0.6.3 |
ffc03a43 | 5 | Release: 1 |
3b8ea569 | 6 | License: LGPL v2+ |
18a79e61 | 7 | Group: Libraries |
ffc03a43 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgee/0.6/%{name}-%{version}.tar.xz |
be5c05e1 | 9 | # Source0-md5: 59464a3ebc772fd1e2c04cf2f438680c |
3b8ea569 MB |
10 | URL: http://live.gnome.org/Libgee |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
48230550 | 13 | BuildRequires: glib2-devel >= 1:2.12.0 |
ae07db21 | 14 | BuildRequires: gobject-introspection-devel >= 0.9.0 |
3b8ea569 MB |
15 | BuildRequires: libtool |
16 | BuildRequires: pkgconfig | |
ffc03a43 | 17 | BuildRequires: tar >= 1:1.22 |
3b8ea569 | 18 | BuildRequires: vala |
ffc03a43 | 19 | BuildRequires: xz |
18a79e61 MB |
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} | |
48230550 | 35 | Requires: glib2-devel >= 1:2.12.0 |
18a79e61 MB |
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 | |
3b8ea569 MB |
47 | %{__libtoolize} |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__autoheader} | |
51 | %{__automake} | |
f98396b5 AF |
52 | %configure \ |
53 | --disable-silent-rules | |
18a79e61 MB |
54 | %{__make} |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
3180cd8e AF |
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgee.la |
63 | ||
18a79e61 MB |
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.*.*.* | |
f98396b5 | 74 | %attr(755,root,root) %ghost %{_libdir}/libgee.so.2 |
633560df | 75 | %{_libdir}/girepository-1.0/Gee-1.0.typelib |
18a79e61 MB |
76 | |
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %attr(755,root,root) %{_libdir}/libgee.so | |
18a79e61 MB |
80 | %{_pkgconfigdir}/gee-1.0.pc |
81 | %{_includedir}/gee-1.0 | |
82 | %{_datadir}/vala/vapi/gee-1.0.vapi | |
48230550 | 83 | %{_datadir}/gir-1.0/Gee-1.0.gir |