]> git.pld-linux.org Git - SPECS.git/blob - libtlen.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / libtlen.spec
1
2 %define         _snap   20060309
3
4 Summary:        Tlen.pl client library
5 Summary(pl.UTF-8):      Biblioteka kliencka Tlen.pl
6 Name:           libtlen
7 Version:        0
8 Release:        0.%{_snap}.2
9 Epoch:          1
10 License:        LGPL
11 Group:          Libraries
12 Source0:        http://dl.sourceforge.net/sourceforge/tleenx/%{name}-%{_snap}.tar.gz
13 # Source0-md5:  4a49ac97af4c25b6b924fa929c00e278
14 URL:            http://libtlen.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libstdc++-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 libtlen is a library providing an API for client programs which want
22 to use Tlen.pl, an Instant Messanging protocol based on Jabber, but
23 with some modifications.
24
25 %description -l pl.UTF-8
26 Biblioteka libtlen dostarcza API dla programów klienckich korzystających
27 z protokołu Tlen.pl który bazuje na Jabber z niewielkimi modyfikacjami.
28
29 %package devel
30 Summary:        Header files for developping programs using libtlen
31 Summary(pl.UTF-8):      Pliki nagłówkowe do biblioteki libtlen
32 Group:          Development/Libraries
33 Requires:       %{name} = %{epoch}:%{version}-%{release}
34
35 %description devel
36 This package is required to develop programs that use Tlen.pl
37 protocol.
38
39 %description devel -l pl.UTF-8
40 Pakiet wymagany przy pisaniu programów korzystających z protokołu
41 Tlen.pl.
42
43 %package static
44 Summary:        Static version of libtlen library
45 Summary(pl.UTF-8):      Biblioteka statyczna libtlen
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
48
49 %description static
50 Static libtlen library.
51
52 %description static -l pl.UTF-8
53 Biblioteka statyczna libtlen.
54
55 %prep
56 %setup -q -n %{name}-%{_snap}
57
58 %build
59
60 %configure
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc docs/AUTHORS docs/TODO
79 %attr(755,root,root) %{_libdir}/libtlen.so.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libtlen.so.1
81
82 %files devel
83 %defattr(644,root,root,755)
84 %doc docs/*.html
85 %{_includedir}/*
86 %{_libdir}/libtlen.so
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libtlen.a
This page took 0.056106 seconds and 3 git commands to generate.