]> git.pld-linux.org Git - packages/libgadu.git/blame - libgadu.spec
- up to 1.12.0
[packages/libgadu.git] / libgadu.spec
CommitLineData
3d9fc0ba
JB
1#
2# Conditional build:
3%bcond_without pthread # POSIX threads support
1cf8ca0d 4%bcond_with openssl # use OpenSSL instead of GnuTLS
3d9fc0ba 5#
1af3612e 6Summary: libgadu library
f26f7e48
ER
7Summary(es.UTF-8): Biblioteca libgadu
8Summary(pl.UTF-8): Biblioteka libgadu
1af3612e 9Name: libgadu
63ff3ad5 10Version: 1.12.0
fc612e50 11Release: 1
1af3612e
TP
12Epoch: 4
13License: LGPL v2.1
14Group: Libraries
63ff3ad5
WF
15Source0: http://github.com/wojtekka/libgadu/releases/download/%{version}/%{name}-%{version}.tar.gz
16# Source0-md5: e4569a0ed26136c4634fa8c4013910e3
1af3612e 17URL: http://toxygen.net/libgadu/
41367f7c 18BuildRequires: autoconf >= 2.50
1af3612e 19BuildRequires: automake
1cf8ca0d 20%{!?with_openssl:BuildRequires: gnutls-devel}
1e98addf 21BuildRequires: libtool
1cf8ca0d 22%{?with_openssl:BuildRequires: openssl-devel >= 0.9.7d}
d2a44ef0 23BuildRequires: pkgconfig
33e5bd14 24BuildRequires: zlib-devel
1af3612e
TP
25Obsoletes: libgg
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29libgadu is intended to make it easy to add Gadu-Gadu communication
30support to your software.
31
9f72441e
JR
32%description -l de.UTF-8
33Mit libgadu ist es Ihnen möglich auf einfache Weise Gadu-Gadu
34Kommunikations-Unterstützung in Ihre Software einzubinden.
1af3612e 35
9f72441e
JR
36%description -l es.UTF-8
37libgadu está pensada para facilitar añadirle comunicación vía
1af3612e
TP
38Gadu-Gadu a su software.
39
9f72441e
JR
40%description -l pl.UTF-8
41libgadu umożliwia łatwe dodanie do różnych aplikacji komunikacji
42bazującej na protokole Gadu-Gadu.
1af3612e 43
3d9fc0ba 44%package devel
1af3612e 45Summary: libgadu development library
f26f7e48
ER
46Summary(es.UTF-8): Biblioteca de desarrollo de libgadu
47Summary(pl.UTF-8): Część biblioteki libgadu dla programistów
1af3612e 48Group: Development/Libraries
3d9fc0ba 49Requires: %{name} = %{epoch}:%{version}-%{release}
1cf8ca0d
JB
50%{!?with_openssl:Requires: gnutls-devel}
51%{?with_openssl:Requires: openssl-devel}
33e5bd14 52Requires: zlib-devel
1af3612e
TP
53Obsoletes: libgg-devel
54
3d9fc0ba 55%description devel
1af3612e
TP
56The libgadu-devel package contains the header files and some
57documentation needed to develop application with libgadu.
58
9f72441e
JR
59%description devel -l de.UTF-8
60Das libgadu-devel Paket enthält Header-Files (Kopfzeilenordner) und
61die Dokumentation die Sie benötigen um mit libgadu Anwendungen zu
1af3612e
TP
62entwickeln.
63
9f72441e 64%description devel -l es.UTF-8
1af3612e 65El paquete libgadu-devel contiene los ficheros de cabecera, juntos con
9f72441e 66una documentación, necesarios para desarrollar aplicaciones que usar
1af3612e
TP
67libgadu.
68
9f72441e
JR
69%description devel -l pl.UTF-8
70Pakiet libgadu-devel zawiera pliki nagłówkowe i dokumentację,
71potrzebne do kompilowania aplikacji korzystających z libgadu.
1af3612e 72
3d9fc0ba 73%package static
1af3612e 74Summary: Static libgadu library
f26f7e48
ER
75Summary(es.UTF-8): Biblioteca libgadu estática
76Summary(pl.UTF-8): Statyczna biblioteka libgadu
1af3612e 77Group: Development/Libraries
3d9fc0ba 78Requires: %{name}-devel = %{epoch}:%{version}-%{release}
1af3612e
TP
79Obsoletes: libgg-static
80
3d9fc0ba 81%description static
1af3612e
TP
82Static libgadu library.
83
9f72441e 84%description static -l de.UTF-8
1af3612e
TP
85Statisches libgadu Archiv.
86
9f72441e
JR
87%description static -l es.UTF-8
88Biblioteca libgadu estática.
1af3612e 89
9f72441e 90%description static -l pl.UTF-8
1af3612e
TP
91Statyczna biblioteka libgadu.
92
93%prep
195d5801 94%setup -q
1af3612e
TP
95
96%build
1e98addf 97%{__libtoolize}
1af3612e
TP
98%{__aclocal} -I m4
99%{__autoconf}
100%{__autoheader}
101%{__automake}
102%configure \
1cf8ca0d 103 --disable-silent-rules \
ff3d9877 104 --without-bind \
1cf8ca0d 105 %{?with_openssl:--without-gnutls} \
1af3612e
TP
106%if %{with pthread}
107 --with-pthread \
108%else
109 --without-pthread \
1af3612e 110%endif
04bfda1d 111
1af3612e
TP
112%{__make}
113
114%install
115rm -rf $RPM_BUILD_ROOT
116
117%{__make} install \
118 DESTDIR=$RPM_BUILD_ROOT
119
120%clean
121rm -rf $RPM_BUILD_ROOT
122
123%post -p /sbin/ldconfig
124%postun -p /sbin/ldconfig
125
126%files
127%defattr(644,root,root,755)
41367f7c 128%doc AUTHORS ChangeLog NEWS README
ae709be0 129%attr(755,root,root) %{_libdir}/libgadu.so.*.*.*
d216da08 130%attr(755,root,root) %ghost %{_libdir}/libgadu.so.3
1af3612e 131
ec898fd7 132%files devel
1af3612e 133%defattr(644,root,root,755)
1af3612e
TP
134%attr(755,root,root) %{_libdir}/libgadu.so
135%{_includedir}/libgadu.h
136%{_pkgconfigdir}/libgadu.pc
ae709be0 137%{_libdir}/libgadu.la
1af3612e 138
ec898fd7 139%files static
1af3612e
TP
140%defattr(644,root,root,755)
141%{_libdir}/libgadu.a
This page took 0.12435 seconds and 4 git commands to generate.