]> git.pld-linux.org Git - packages/libgee.git/blob - libgee.spec
- updated automake,glib2,vala versions
[packages/libgee.git] / libgee.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:           libgee
8 Version:        0.12.0
9 Release:        1
10 License:        LGPL v2+
11 Group:          Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgee/0.12/%{name}-%{version}.tar.xz
13 # Source0-md5:  d9965e1797d76775ae440230f30585f8
14 URL:            http://live.gnome.org/Libgee
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake >= 1:1.11
17 BuildRequires:  glib2-devel >= 1:2.36.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 >= 2:0.21.0
25 Requires:       glib2 >= 1:2.36.0
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 libgee is a collection library providing GObject-based interfaces and
30 classes for commonly used data structures.
31
32 %description -l pl.UTF-8
33 libgee jest biblioteką udostępniajacą oparte na bibliotece GObject
34 interfejsy oraz klasy powszechnie używanych struktur danych.
35
36 %package devel
37 Summary:        Header files for libgee library
38 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgee
39 Group:          Development/Libraries
40 Requires:       %{name} = %{version}-%{release}
41 Requires:       glib2-devel >= 1:2.36.0
42
43 %description devel
44 Header files for libgee library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki libgee.
48
49 %package static
50 Summary:        Static libgee library
51 Summary(pl.UTF-8):      Statyczna biblioteka libgee
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static libgee library.
57
58 %description static -l pl.UTF-8
59 Statyczna biblioteka libgee.
60
61 %package -n vala-libgee
62 Summary:        libgee API for Vala language
63 Summary(pl.UTF-8):      API libgee dla języka Vala
64 Group:          Development/Libraries
65 Requires:       %{name}-devel = %{version}-%{release}
66 Requires:       vala >= 2:0.21.0
67
68 %description -n vala-libgee
69 libgee API for Vala language.
70
71 %description -n vala-libgee -l pl.UTF-8
72 API libgee dla języka Vala.
73
74 %prep
75 %setup -q
76
77 %build
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__autoheader}
82 %{__automake}
83 %configure \
84         --disable-silent-rules \
85         %{?with_static_libs:--enable-static}
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgee-0.8.la
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
105 %attr(755,root,root) %{_libdir}/libgee-0.8.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libgee-0.8.so.2
107 %{_libdir}/girepository-1.0/Gee-0.8.typelib
108
109 %files devel
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/libgee-0.8.so
112 %{_pkgconfigdir}/gee-0.8.pc
113 %{_includedir}/gee-0.8
114 %{_datadir}/gir-1.0/Gee-0.8.gir
115
116 %if %{with static_libs}
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/libgee-0.8.a
120 %endif
121
122 %files -n vala-libgee
123 %defattr(644,root,root,755)
124 %{_datadir}/vala/vapi/gee-0.8.vapi
This page took 0.071136 seconds and 3 git commands to generate.