]>
Commit | Line | Data |
---|---|---|
18a79e61 MB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without apidocs # do not build and package API docs | |
4 | # | |
5 | Summary: libgee - GObject collection library | |
6 | Summary(pl.UTF-8): libgee - GObject collection library | |
7 | Name: libgee | |
8 | Version: 0.1.5 | |
9 | Release: 0.1 | |
10 | License: LGPL | |
11 | Group: Libraries | |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgee/0.1/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 80102073421e4d7fb18a6aa9622f4de2 | |
14 | BuildRequires: xulrunner-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | libgee is a collection library providing GObject-based interfaces and | |
19 | classes for commonly used data structures. | |
20 | ||
21 | %description -l pl.UTF-8 | |
22 | libgee jest zbiorem bibliotek dostarczających interfejs GObject i | |
23 | klasy powszechnie używanych struktur danych. | |
24 | ||
25 | %package devel | |
26 | Summary: Header files for libgee library | |
27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgee | |
28 | Group: Development/Libraries | |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
31 | %description devel | |
32 | Header files for libgee library. | |
33 | ||
34 | %description devel -l pl.UTF-8 | |
35 | Pliki nagłówkowe biblioteki libgee. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %configure | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %post -p /sbin/ldconfig | |
54 | %postun -p /sbin/ldconfig | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc AUTHORS ChangeLog NEWS README | |
59 | %attr(755,root,root) %{_libdir}/libgee.so.*.*.* | |
60 | %attr(755,root,root) %ghost %{_libdir}/libgee.so.0 | |
61 | ||
62 | %files devel | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_libdir}/libgee.so | |
65 | %{_libdir}/libgee.la | |
66 | %{_pkgconfigdir}/gee-1.0.pc | |
67 | %{_includedir}/gee-1.0 | |
68 | %{_datadir}/vala/vapi/gee-1.0.vapi |