]> git.pld-linux.org Git - packages/libghttp.git/blob - libghttp.spec
- updated to 1.0.4.
[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.4
5 Release:        1
6 Group:          X11/GNOME/Libraries
7 Group(pl):      X11/GNOME/Biblioteki
8 Copyright:      GPL
9 Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
10 URL:            http://www.gnome.org/
11 BuildRoot:      /tmp/%{name}-%{version}-root
12
13 %define _prefix /usr/X11R6
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³owkowe libghttp
24 Group:          X11/GNOME/Development/Libraries
25 Group(pl):      X11/GNOME/Programowanie/Biblioteki
26 Requires:       %{name} = %{version}
27
28 %description devel
29 Libraries and includes files you can use for libghttp development
30
31 %description devel -l pl
32 Biblioteki i pliki nag³owkowe potrzebne do programowania z wykorzystaniem 
33 libghttp
34
35 %package static
36 Summary:        GNOME http client static library
37 Summary(pl):    Statyczna biblioteka libghttp
38 Group:          X11/GNOME/Development/Libraries
39 Group(pl):      X11/GNOME/Programowanie/Biblioteki
40 Requires:       %{name}-devel = %{version}
41
42 %description static
43 GNOME http client static library.
44
45 %description static -l pl
46 Wersja statyczna biblioteki libghttp
47
48 %prep
49 %setup -q
50
51 %build
52 CFLAGS="$RPM_OPT_FLAGS" LDCONFIG="-s" \
53 ./configure %{_target} \
54         --prefix=%{_prefix}
55 make
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 make install DESTDIR=$RPM_BUILD_ROOT
61
62 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
63
64 gzip -9nf AUTHORS ChangeLog NEWS README
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/lib*.so.*.*
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc {AUTHORS,ChangeLog,NEWS,README}.gz
79
80 %attr(755,root,root) %{_libdir}/lib*.so
81 %{_includedir}/*
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/lib*.a
86
87 %changelog
88 * Tue May 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
89   [1.0.2-1]
90 - added using macros in spec.
91
92 * Sun Mar 14 1999 Micha³ Kuratczyk <kura@pld.org.pl>
93   [0.99-2]
94 - added Group(pl),
95 - added gzipping documentation.
96
97 * Mon Jan 04 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
98   [0.99-1]
99 - added LDFLAGS="-s" to ./configure enviroment,
100 - fixed permission on /usr/X11R6/lib/lib* files.
101
102 * Fri Oct  2 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
103   [0.30-1]
104 - added -q %setup parameter,
105 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
106 - added using %%{name} and %%{version} in Source,
107 - changed Copyright field to GPL,
108 - removed Packager field (this must be placed in private ~/.rpmrc),
109 - removed COPYING from %doc,
110 - all %doc moved to devel,
111 - added full %attr description in %files,
112 - added stripping shared libraries.
This page took 0.129604 seconds and 4 git commands to generate.