]> git.pld-linux.org Git - packages/libghttp.git/blob - libghttp.spec
- tabs in preamble
[packages/libghttp.git] / libghttp.spec
1 Summary:        GNOME HTTP client library
2 Summary(es.UTF-8):      Biblioteca cliente HTTP del GNOME
3 Summary(ko.UTF-8):      GNOME HTTP 클라이언트 라이브러리
4 Summary(pl.UTF-8):      Biblioteka funkcji klienta HTTP
5 Summary(pt_BR.UTF-8):   Biblioteca cliente para HTTP do GNOME
6 Summary(ru.UTF-8):      Библиотека HTTP-клиента для GNOME
7 Summary(uk.UTF-8):      Бібліотека HTTP-клієнта для GNOME
8 Name:           libghttp
9 Version:        1.0.9
10 Release:        10
11 Epoch:          1
12 License:        LGPL
13 Group:          Libraries
14 Source0:        http://ftp.gnome.org/pub/gnome/sources/libghttp/1.0/%{name}-%{version}.tar.gz
15 # Source0-md5:  0690e7456f9a15c635f240f3d6d5dab2
16 Patch0:         %{name}-ac.patch
17 Patch1:         %{name}-fixlocale.patch
18 Patch2:         %{name}-ssl.patch
19 URL:            http://www.gnome.org/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  libtool
23 BuildRequires:  openssl-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Library for making HTTP 1.1 requests.
28
29 %description -l es.UTF-8
30 Biblioteca cliente HTTP 1.1 del GNOME.
31
32 %description -l pl.UTF-8
33 Biblioteka funkcji umożliwiających realizację zapytań HTTP 1.1.
34
35 %description -l pt_BR.UTF-8
36 Biblioteca cliente para HTTP 1.1 do GNOME.
37
38 %description -l ru.UTF-8
39 Библиотека для исполнения HTTP 1.1 запросов.
40
41 %description -l uk.UTF-8
42 Бібліотека для виконання HTTP 1.1 запитів.
43
44 %package devel
45 Summary:        GNOME HTTP client development
46 Summary(es.UTF-8):      Biblioteca cliente HTTP 1.1 del GNOME - desarrollo
47 Summary(ko.UTF-8):      GNOME HTTP 클라이언트 개발에 필요한 라이브러리와 헤더 파일
48 Summary(pl.UTF-8):      Biblioteki i pliki nagłówkowe libghttp
49 Summary(pt_BR.UTF-8):   Componentes para desenvolvimento com o cliente HTTP do GNOME.
50 Summary(ru.UTF-8):      Разработка HTTP-клиентов под GNOME
51 Summary(uk.UTF-8):      Розробка HTTP-клієнтів під GNOME
52 Group:          Development/Libraries
53 Requires:       %{name} = %{epoch}:%{version}-%{release}
54
55 %description devel
56 Libraries and includes files you can use for libghttp development.
57
58 %description devel -l es.UTF-8
59 Biblioteca cliente HTTP 1.1 del GNOME - desarrollo.
60
61 %description devel -l pl.UTF-8
62 Biblioteki i pliki nagłówkowe potrzebne do programowania z
63 wykorzystaniem libghttp.
64
65 %description devel -l pt_BR.UTF-8
66 Componentes para desenvolvimento com o cliente HTTP do GNOME.
67
68 %description devel -l ru.UTF-8
69 Хедеры для разработки программ с использованием libghttp.
70
71 %description devel -l uk.UTF-8
72 Хедери для розробки програм з використанням libghttp.
73
74 %package static
75 Summary:        GNOME HTTP client static library
76 Summary(pl.UTF-8):      Statyczna biblioteka libghttp
77 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento com libghttp
78 Summary(ru.UTF-8):      Разработка HTTP-клиентов под GNOME - статические библиотеки
79 Summary(uk.UTF-8):      Розробка HTTP-клієнтів під GNOME - статичні бібліотеки
80 Group:          X11/Development/Libraries
81 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
82 Requires:       openssl-devel
83
84 %description static
85 GNOME HTTP client static library.
86
87 %description static -l pl.UTF-8
88 Wersja statyczna biblioteki libghttp.
89
90 %description static -l pt_BR.UTF-8
91 Bibliotecas estáticas para desenvolvimento com libghttp.
92
93 %description static -l ru.UTF-8
94 Статические библиотеки для разработки программ с использованием
95 libghttp.
96
97 %description static -l uk.UTF-8
98 Статичні бібліотеки для розробки програм з використанням libghttp.
99
100 %prep
101 %setup -q
102 %patch0 -p1
103 %patch1 -p1
104 %patch2 -p1
105
106 %build
107 %{__libtoolize}
108 %{__aclocal}
109 %{__autoconf}
110 %{__automake}
111 %configure \
112         --enable-ssl
113 %{__make} \
114         libghttp_la_LIBADD="-lssl -lcrypto"
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118 install -d $RPM_BUILD_ROOT%{_includedir}/ghttp-1.0
119
120 %{__make} install \
121         DESTDIR=$RPM_BUILD_ROOT
122
123 install http_*.h $RPM_BUILD_ROOT%{_includedir}/ghttp-1.0
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %post   -p /sbin/ldconfig
129 %postun -p /sbin/ldconfig
130
131 %files
132 %defattr(644,root,root,755)
133 %doc AUTHORS ChangeLog NEWS README
134 %attr(755,root,root) %{_libdir}/libghttp.so.*.*
135
136 %files devel
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/ghttpConf.sh
139 %attr(755,root,root) %{_libdir}/libghttp.so
140 %{_libdir}/libghttp.la
141 %{_includedir}/ghttp*.h
142 %{_includedir}/ghttp-1.0
143
144 %files static
145 %defattr(644,root,root,755)
146 %{_libdir}/libghttp.a
This page took 0.112641 seconds and 4 git commands to generate.