source: projects/specs/trunk/lib/libg/libghttp/libghttp-vl.spec @ 521

Revision 521, 3.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define ver     1.0.9
2%define rel     1%{?_dist_release}
3%define name    libghttp
4
5Summary:        GNOME http client library
6Summary(ja):    GNOME HTTPクライアントライブラリ
7Name:           %name
8Version:        %ver
9Release:        %rel
10License:        LGPL
11Group:          System Environment/Libraries
12BuildRoot:      %{_tmppath}/%{name}-%{ver}-root
13#Docdir:        %{_prefix}/doc
14URL:            http://www.gnome.org/
15Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{ver}.tar.gz
16
17# patch for vine
18Patch0:         libghttp-1.0.6-timeout.patch
19Patch1:     libghttp-1.0.9-config.sub.patch
20
21%description
22Library for making HTTP 1.1 requests.
23
24%description -l ja
25HTTP 1.1 リクエストを作成するためのライブラリ
26
27%package devel
28Summary:        GNOME http client development
29Summary(ja):    GNOME HTTPクライアント開発
30Group:          Development/Libraries
31Requires:       %{name} = %{PACKAGE_VERSION}
32
33%description devel
34Libraries and includes files you can use for libghttp development
35
36%description -l ja devel
37libghttp開発で使用するライブラリとヘッダファイル
38
39
40%prep
41%setup -q
42%patch0 -p1 -b .timeout
43%patch1 -p1 -b .config.sub
44
45%build
46%configure --target=%{_arch}-pc-linux-gnu
47make
48
49%install
50[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
51%makeinstall
52
53## remove unuse files
54rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
55
56
57%clean
58[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
59
60%post
61#if ! grep %{prefix}/lib /etc/ld.so.conf > /dev/null ; then
62#  echo "%{prefix}/lib" >> /etc/ld.so.conf
63#fi
64
65/sbin/ldconfig
66
67%postun -p /sbin/ldconfig
68
69%files
70%defattr(-, root, root)
71%doc AUTHORS COPYING ChangeLog NEWS README doc/ghttp.html
72%{_libdir}/*.so.*
73
74%files devel
75%defattr(-, root, root)
76%{_libdir}/*.so
77#%{_libdir}/*.la
78%{_libdir}/*.a
79%{_libdir}/*.sh
80%{_includedir}/*
81
82%changelog
83* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.9-1vl5
84- applied new versioning policy, spec in utf-8
85- removed *.la
86
87* Wed Aug 29 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.9-0vl4
88- s/Copyright/License/
89- added --target=%%{_arch}-pc-linux-gnu to configure
90- added Patch1: libghttp-1.0.9-config.sub.patch for x86_64
91
92* Sat Jun 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl3
93- changed %{_docdit} to default
94
95* Thu Jun 12 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl2
96- Rebuild with new toolchains
97- fixed URL at Source
98
99* Thu Mar 15 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.9-0vl1
100- New upstream release.
101
102* Thu Dec 28 2000 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.8.cvs20001228-0vl1
103- Build for GtkHTML
104
105* Thu Dec 14 2000 Yoichi Imai <yoichi@silver-forest.com>
106- 1.0.8-0vl1
107- updated to 1.0.8
108
109* Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
110- 1.0.7-0vl1
111- updated to 1.0.7
112- added %build section
113
114* Wed Apr 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
115- updated to 1.0.6
116- added japanese description and summary.
117- added my poor timeout patch for stability.
118
119* Wed Apr  5 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
120- updated to 1.0.5
121
122* Sat Sep 18 1999 Kazuhito Nishi <nishi@imasy.or.jp>
123- First try at a spec file for Vine
124
Note: See TracBrowser for help on using the repository browser.