blob: 9e73631db8cc991cfd93d30c36f3874bb80ef743 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22
#
# >> macros
# << macros
Name: libgee
Summary: GObject collection library
Version: 0.9.92
Release: 1
Group: System/Libraries
License: LGPLv2+
URL: http://live.gnome.org/Libgee
Source0: http://download.gnome.org/sources/%{name}/0.9/%{name}-%{version}.tar.bz2
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
%description
libgee is a collection library providing GObject-based interfaces and
classes for commonly used data structures.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
%configure --disable-static
make %{?jobs:-j%jobs}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
# >> install post
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# << install post
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
# >> files
%doc COPYING
%{_libdir}/*.so.*
# << files
%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/gee-0.8.pc
%{_datadir}/vala/vapi/gee-0.8.vapi
# << files devel
|