]> git.pld-linux.org Git - packages/libghttp.git/blob - libghttp.spec
- release 2: use new rpm automation.
[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.7
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(fr):      Librairies
10 Group(pl):      Biblioteki
11 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/libghttp/%{name}-%{version}.tar.gz
12 URL:            http://www.gnome.org/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Library for making HTTP 1.1 requests.
17
18 %description -l pl
19 Biblioteka funkcji umo¿liwiaj±cych realizacjê protoko³u HTTP 1.1.
20
21 %package devel
22 Summary:        GNOME http client development
23 Summary(pl):    Biblioteki i pliki nag³ówkowe libghttp
24 Group:          Development/Libraries
25 Group(de):      Entwicklung/Libraries
26 Group(fr):      Development/Librairies
27 Group(pl):      Programowanie/Biblioteki
28 Requires:       %{name} = %{version}
29
30 %description devel
31 Libraries and includes files you can use for libghttp development.
32
33 %description -l pl devel
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 Group(de):      X11/Entwicklung/Libraries
42 Group(pl):      X11/Programowanie/Biblioteki
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 GNOME http client static library.
47
48 %description -l pl static
49 Wersja statyczna biblioteki libghttp.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install DESTDIR=$RPM_BUILD_ROOT
62
63 gzip -9nf AUTHORS ChangeLog NEWS README
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_libdir}/lib*.so.*.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %doc {AUTHORS,ChangeLog,NEWS,README}.gz
78
79 %attr(755,root,root) %{_libdir}/lib*.so
80 %attr(755,root,root) %{_libdir}/lib*.la
81 %{_includedir}/*
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/lib*.a
This page took 0.052979 seconds and 4 git commands to generate.