1
|
1 |
%define ver @VERSION@ |
|
2 |
%define name @PACKAGE@ |
|
3 |
|
|
4 |
Summary: Loadmouth is a Jabber client written in C. |
|
5 |
Name: %name |
|
6 |
Version: %ver |
|
7 |
Release: cf1 |
|
8 |
URL: http://people.codefactory.se/~micke/loudmouth |
|
9 |
Source0: %{name}-%{ver}.tar.gz |
|
10 |
License: LGPL |
|
11 |
Group: System Environment/Libraries |
|
12 |
BuildRoot: %{_tmppath}/%{name}-root |
|
13 |
Requires: glib2 >= @GLIB2_REQUIRED@ |
|
14 |
BuildRequires: glib2-devel >= @GLIB2_REQUIRED@ |
|
15 |
|
|
16 |
%description |
|
17 |
Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows. |
|
18 |
|
|
19 |
%package devel |
|
20 |
Summary: Development files for RoadRunner.. |
|
21 |
Group: Development/Libraries |
|
22 |
Requires: %name = %{PACKAGE_VERSION} |
|
23 |
Requires: glib2-devel >= @GLIB2_REQUIRED@ |
|
24 |
|
|
25 |
%description devel |
|
26 |
Loudmouth is a lightweight and easy-to-use C library for programming with the Jabber protocol. It's designed to be easy to get started with and yet extensible to let you do anything the Jabber protocol allows. |
|
27 |
|
|
28 |
%prep |
|
29 |
%setup -q |
|
30 |
|
|
31 |
%build |
|
32 |
|
|
33 |
%configure |
|
34 |
make |
|
35 |
|
|
36 |
%install |
|
37 |
rm -rf %{buildroot} |
|
38 |
%makeinstall |
|
39 |
|
|
40 |
# remove, not shipped |
|
41 |
rm -f $RPM_BUILD_ROOT%{_libdir}/libloudmouth.la |
|
42 |
|
|
43 |
%clean |
|
44 |
rm -rf $RPM_BUILD_ROOT |
|
45 |
|
|
46 |
%files |
|
47 |
%defattr(-,root,root) |
|
48 |
%doc ChangeLog NEWS README COPYING |
|
49 |
%{_libdir}/libloudmouth*.so.* |
|
50 |
|
|
51 |
%files devel |
|
52 |
%defattr(-,root,root) |
|
53 |
%{_libdir}/libloudmouth*.so |
|
54 |
%{_libdir}/libloudmouth*.a |
|
55 |
%{_libdir}/pkgconfig/* |
|
56 |
%{_prefix}/include/loudmouth-1.0 |
|
57 |
%{_datadir}/gtk-doc/html/loudmouth |
|
58 |
|
|
59 |
%changelog |
|
60 |
* Sat Mar 29 2003 Mikael Hallendal <micke@codefactory.se> |
|
61 |
- Initial build |