3 %bcond_without static_libs # static library
5 Summary: libgee - GObject collection library
6 Summary(pl.UTF-8): libgee - biblioteka kolekcji oparta na GObject
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/libgee/0.6/libgee-%{version}.tar.xz
13 # Source0-md5: 2688c24f9a12e7616ee808f9092d0afe
14 URL: http://live.gnome.org/Libgee
15 BuildRequires: autoconf >= 2.50
16 BuildRequires: automake
17 BuildRequires: glib2-devel >= 1:2.12.0
18 BuildRequires: gobject-introspection-devel >= 0.9.0
19 BuildRequires: libtool
20 BuildRequires: pkgconfig
21 BuildRequires: tar >= 1:1.22
23 # not required for stable releases (all generated files are included)
25 Requires: glib2 >= 1:2.12.0
26 Obsoletes: libgee < 0.7
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 libgee is a collection library providing GObject-based interfaces and
31 classes for commonly used data structures.
33 %description -l pl.UTF-8
34 libgee jest biblioteką udostępniajacą oparte na bibliotece GObject
35 interfejsy oraz klasy powszechnie używanych struktur danych.
38 Summary: Header files for libgee library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgee
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
42 Requires: glib2-devel >= 1:2.12.0
43 Obsoletes: libgee-devel < 0.7
46 Header files for libgee library.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki libgee.
52 Summary: Static libgee library
53 Summary(pl.UTF-8): Statyczna biblioteka libgee
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
56 Obsoletes: libgee-static < 0.7
59 Static libgee library.
61 %description static -l pl.UTF-8
62 Statyczna biblioteka libgee.
64 %package -n vala-libgee0.6
65 Summary: libgee API for Vala language
66 Summary(pl.UTF-8): API libgee dla języka Vala
67 Group: Development/Libraries
68 Requires: %{name}-devel = %{version}-%{release}
70 Obsoletes: vala-libgee < 0.7
73 %description -n vala-libgee0.6
74 libgee API for Vala language.
76 %description -n vala-libgee0.6 -l pl.UTF-8
77 API libgee dla języka Vala.
80 %setup -q -n libgee-%{version}
89 --disable-silent-rules \
90 %{?with_static_libs:--enable-static}
94 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgee.la
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog NEWS README
110 %attr(755,root,root) %{_libdir}/libgee.so.*.*.*
111 %attr(755,root,root) %ghost %{_libdir}/libgee.so.2
112 %{_libdir}/girepository-1.0/Gee-1.0.typelib
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/libgee.so
117 %{_pkgconfigdir}/gee-1.0.pc
118 %{_includedir}/gee-1.0
119 %{_datadir}/gir-1.0/Gee-1.0.gir
121 %if %{with static_libs}
123 %defattr(644,root,root,755)
127 %files -n vala-libgee0.6
128 %defattr(644,root,root,755)
129 %{_datadir}/vala/vapi/gee-1.0.vapi