]> git.pld-linux.org Git - packages/libghttp.git/blob - libghttp.spec
- massive attack, adding Source-md5
[packages/libghttp.git] / libghttp.spec
1 Summary:        GNOME http client library
2 Summary(pl):    Biblioteka funkcji klienta http
3 Name:           libghttp
4 Version:        1.0.9
5 Release:        5
6 Epoch:          1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/libghttp/1.0/%{name}-%{version}.tar.gz
10 # Source0-md5: 0690e7456f9a15c635f240f3d6d5dab2
11 Patch0:         %{name}-ac.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Library for making HTTP 1.1 requests.
20
21 %description -l pl
22 Biblioteka funkcji umo¿liwiaj±cych realizacjê zapytañ HTTP 1.1.
23
24 %package devel
25 Summary:        GNOME http client development
26 Summary(pl):    Biblioteki i pliki nag³ówkowe libghttp
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}
29
30 %description devel
31 Libraries and includes files you can use for libghttp development.
32
33 %description devel -l pl
34 Biblioteki i pliki nag³ówkowe potrzebne do programowania z
35 wykorzystaniem libghttp.
36
37 %package static
38 Summary:        GNOME http client static library
39 Summary(pl):    Statyczna biblioteka libghttp
40 Group:          X11/Development/Libraries
41 Requires:       %{name}-devel = %{version}
42
43 %description static
44 GNOME http client static library.
45
46 %description static -l pl
47 Wersja statyczna biblioteki libghttp.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %configure
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_includedir}/ghttp-1.0
63
64 %{__make} install DESTDIR=$RPM_BUILD_ROOT
65
66 install http_*.h $RPM_BUILD_ROOT%{_includedir}/ghttp-1.0
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README
77 %attr(755,root,root) %{_libdir}/lib*.so.*.*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/*.sh
82 %attr(755,root,root) %{_libdir}/lib*.so
83 %{_libdir}/lib*.la
84 %{_includedir}/*
85
86 %files static
87 %defattr(644,root,root,755)
88 %{_libdir}/lib*.a
This page took 0.072217 seconds and 4 git commands to generate.