]> git.pld-linux.org Git - packages/ekg.git/blob - ekg.spec
- added de descriptions for ekg (thanks for monchichi@uni-entenhausen.de)
[packages/ekg.git] / ekg.spec
1 #
2 # Conditional build:
3 # _with_ioctl_daemon - with ioctl_daemon (suid-root!)
4 #
5 %define         snapshot        20020528
6 Summary:        A client compatible with Gadu-Gadu
7 Summary(pl):    Eksperymentalny Klient Gadu-Gadu
8 Summary(de):    Einen client kompatibel zu Gadu-Gadu 
9 Name:           ekg
10 Version:        0.9.0.%{snapshot}
11 Release:        2
12 License:        GPL
13 Group:          Networking/Utilities
14 Source0:        http://dev.null.pl/ekg/%{name}-%{snapshot}.tar.gz
15 Patch0:         %{name}-home_etc.patch
16 URL:            http://dev.null.pl/ekg/
17 BuildRequires:  autoconf
18 BuildRequires:  ncurses-devel
19 BuildRequires:  readline-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 A client compatible with Gadu-Gadu.
24
25 %description -l pl
26 Eksperymentalny Klient Gadu-Gadu.
27
28 %description -l de
29 Einen client kompatibel zu Gadu-Gadu.
30
31 %package -n libgadu
32 Summary:        libgadu library
33 Summary(pl):    Biblioteka libgadu
34 Group:          Libraries
35 Obsoletes:      libgg
36 License:        LGPL
37
38 %description -n libgadu
39 libgadu is intended to make it easy to add Gadu-Gadu communication
40 support to your software.
41
42 %description -n libgadu -l pl
43 libgadu umo¿liwia ³atwe dodanie do ró¿nych aplikacji komunikacji
44 bazuj±cej na protokole Gadu-Gadu.
45  
46 %package -n libgadu-devel
47 Summary:        libgadu library development
48 Summary(pl):    Czê¶æ biblioteki libgadu dla programistów
49 Group:          Development/Libraries
50 Requires:       libgadu
51 Obsoletes:      libgg-devel
52 License:        LGPL
53
54 %description -n libgadu-devel
55 The libgadu-devel package contains the header files and some
56 documentation needed to develop application with libgadu.
57
58 %description -n libgadu-devel -l pl
59 Pakiet libgadu-devel zawiera pliki nag³ówkowe i dokumentacjê,
60 potrzebne do kompilowania aplikacji korzystaj±cych z libgadu.
61
62 %package -n libgadu-static
63 Summary:        Static libgadu Library
64 Summary(pl):    Statyczna biblioteka libgadu
65 Group:          Development/Libraries
66 Requires:       libgadu-devel
67 Obsoletes:      libgg-static
68 License:        LGPL
69
70 %description -n libgadu-static
71 Static libgadu library.
72
73 %description -n libgadu-static -l pl
74 Statyczna biblioteka libgadu.
75
76 %prep
77 %setup -q -n %{name}-%{snapshot}
78 %patch0 -p1
79
80 %build
81 %{__autoconf}
82 %configure \
83         --with-shared \
84         %{?!debug:--without-debug} \
85         %{?!_with_ioctl_daemon:--without-ioctl}
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}} \
92         $RPM_BUILD_ROOT{%{_mandir}/{,pl/}man1,%{_datadir}/ekg/themes}
93
94 install src/ekg $RPM_BUILD_ROOT%{_bindir}
95 install contrib/ekl2.pl $RPM_BUILD_ROOT%{_bindir}
96 install contrib/ekl2.sh $RPM_BUILD_ROOT%{_bindir}
97 install lib/libgadu.h $RPM_BUILD_ROOT%{_includedir}
98 install lib/libgadu.a $RPM_BUILD_ROOT%{_libdir}
99 install lib/libgadu.so.* $RPM_BUILD_ROOT%{_libdir}
100
101 install themes/*.theme $RPM_BUILD_ROOT%{_datadir}/ekg/themes
102
103 install docs/ekg.man.pl $RPM_BUILD_ROOT%{_mandir}/pl/man1/ekg.1
104 install docs/ekg.man.en $RPM_BUILD_ROOT%{_mandir}/man1/ekg.1
105
106 # For libgadu-devel
107
108 rm examples/Makefile examples/Makefile.in
109
110 %if %{?_with_ioctl_daemon:1}%{?!_with_ioctl_daemon:0}
111 install src/ioctl_daemon $RPM_BUILD_ROOT%{_bindir}
112 %endif
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %post   -n libgadu -p /sbin/ldconfig
118 %postun -n libgadu -p /sbin/ldconfig
119
120 %files
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/e*
123 %doc docs/{7thguard,dcc,on,themes,vars,emoticons}.txt
124 %doc ChangeLog docs/{FAQ,README,TODO,ULOTKA} docs/emoticons.sample
125 %{?_with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctl_daemon}
126 %{_datadir}/ekg
127 %{_mandir}/man1/*
128 %lang(pl) %{_mandir}/pl/man1/*
129
130 %files -n libgadu
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/libgadu.so.*
133
134 %files -n libgadu-devel
135 %defattr(644,root,root,755)
136 %doc docs/{7thguard,api,devel-hints,dcc-protocol}.txt protocol.html
137 %doc ChangeLog docs/{README,TODO} examples
138 %{_includedir}/libgadu.h
139
140 %files -n libgadu-static
141 %defattr(644,root,root,755)
142 %attr(644,root,root) %{_libdir}/libgadu.a
This page took 0.092074 seconds and 4 git commands to generate.