]> git.pld-linux.org Git - packages/libgee0.6.git/blob - libgee0.6.spec
- last libgee 0.6.x (parallel installable with 0.8.x) forked from libgee.spec as...
[packages/libgee0.6.git] / libgee0.6.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # static library
4 #
5 Summary:        libgee - GObject collection library
6 Summary(pl.UTF-8):      libgee - biblioteka kolekcji oparta na GObject
7 Name:           libgee0.6
8 Version:        0.6.5
9 Release:        1
10 License:        LGPL v2+
11 Group:          Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgee/0.6/libgee-%{version}.tar.xz
13 # Source0-md5:  644ee7b9cadd47a9605359781c0d0b9d
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
22 BuildRequires:  xz
23 # not required for stable releases (all generated files are included)
24 #BuildRequires: vala
25 Requires:       glib2 >= 1:2.12.0
26 Obsoletes:      libgee < 0.7
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 libgee is a collection library providing GObject-based interfaces and
31 classes for commonly used data structures.
32
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.
36
37 %package devel
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
44
45 %description devel
46 Header files for libgee library.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki libgee.
50
51 %package static
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
57
58 %description static
59 Static libgee library.
60
61 %description static -l pl.UTF-8
62 Statyczna biblioteka libgee.
63
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}
69 Requires:       vala
70 Obsoletes:      vala-libgee < 0.7
71
72 %description -n vala-libgee0.6
73 libgee API for Vala language.
74
75 %description -n vala-libgee0.6 -l pl.UTF-8
76 API libgee dla języka Vala.
77
78 %prep
79 %setup -q -n libgee-%{version}
80
81 %build
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --disable-silent-rules \
89         %{?with_static_libs:--enable-static}
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgee.la
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %files
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog NEWS README
109 %attr(755,root,root) %{_libdir}/libgee.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libgee.so.2
111 %{_libdir}/girepository-1.0/Gee-1.0.typelib
112
113 %files devel
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libgee.so
116 %{_pkgconfigdir}/gee-1.0.pc
117 %{_includedir}/gee-1.0
118 %{_datadir}/gir-1.0/Gee-1.0.gir
119
120 %if %{with static_libs}
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/libgee.a
124 %endif
125
126 %files -n vala-libgee0.6
127 %defattr(644,root,root,755)
128 %{_datadir}/vala/vapi/gee-1.0.vapi
This page took 0.094061 seconds and 3 git commands to generate.