~ubuntu-branches/ubuntu/trusty/meanwhile/trusty

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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Christopher (siege) O'Brien  <siege@preoccupied.net>

%define with_doc_subpackage  @WITH_DOC_SUBPACKAGE@%{nil}


Summary: Lotus Sametime Community Client library
Name: @PACKAGE@
Epoch: 0
Version: @VERSION@
Release: @RELEASE@
License: LGPL
Group: Applications/Internet
URL: http://meanwhile.sourceforge.net/

Requires: glib2 >= @GLIB_VERSION@

Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: glib2-devel >= @GLIB_VERSION@

%if %{with_doc_subpackage}
BuildRequires: doxygen
%endif


%description
Library for connecting as a client to a Lotus Sametime
community. Provides a simplified interface for authentication,
presence, messaging, conferencing, and remote preferences.


%prep
%setup -q


%build
%if %{with_doc_subpackage}
%configure --enable-doxygen
%else
%configure
%endif
%{__make} %{?_smp_mflags}


%install
%{__rm} -rf %{buildroot}
%{makeinstall}


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,0755)
%doc AUTHORS ChangeLog COPYING INSTALL LICENSE NEWS README TODO
%{_libdir}/libmeanwhile.so*


%package devel
Group: Applications/Internet
Summary: Development package for the Meanwhile library
License: LGPL
Requires: %{name} = %{version}-%{release}


%description devel
Development package for the Meanwhile library


%files devel
%defattr(-,root,root,-)
%{_includedir}/meanwhile/
%{_libdir}/libmeanwhile.a
%{_libdir}/libmeanwhile.la
%{_libdir}/pkgconfig/meanwhile.pc


%if %{with_doc_subpackage}
%package doc
Group: Applications/Internet
Summary: Documentation for the Meanwhile library
License: GNU Free Documentation License


%description doc
Documentation for the Meanwhile library


%files doc
%defattr(-,root,root,-)
%{_datadir}/doc/%{name}-doc-%{version}/
%endif


%post
/sbin/ldconfig 2> /dev/null


%postun
/sbin/ldconfig 2> /dev/null


%changelog
* Fri Nov 18 2005  <siege@preoccupied.net>
- removed the gmp and gmp-devel requirements

* Wed Sep 21 2005  <siege@preoccupied.net>
- added doc sub package

* Sat Sep 17 2005  <siege@preoccupied.net>
- added gmp and gmp-devel requrements

* Sun Jan 16 2005  <siege@preoccupied.net>
- removed python package (now in meanwhile-python module)

* Mon Dec 27 2004  <siege@preoccupied.net>
- updated python package

* Thu Jul 22 2004  <siege@preoccupied.net>
- moved .a, .la into -devel package
- added docs to install

* Mon May 10 2004  <siege@preoccupied.net>
- Separated meanwhile from meanwhile-gaim
- First distribution with autoconf/automake/libtool

* Tue Apr 13 2004  <siege@preoccupied.net> 
- Initial rpm build.