source: projects/specs/branches/6/lib/libg/libghttp/libghttp-vl.spec @ 5648

Revision 5648, 3.1 KB checked in by Takemikaduchi, 12 years ago (diff)

arpscan, aslookup, audacity, black-box, bookview, bumprace, gimp-help, js: new upstream release
libsrtp, gstreamer-filters: new package
others: rebuild

Line 
1%define ver     1.0.9
2%define rel     2%{?_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} = %{version}-%{release}
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* Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.9-2
84- rebuild with Vine6 environment
85
86* Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.9-1vl5
87- applied new versioning policy, spec in utf-8
88- removed *.la
89
90* Wed Aug 29 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.9-0vl4
91- s/Copyright/License/
92- added --target=%%{_arch}-pc-linux-gnu to configure
93- added Patch1: libghttp-1.0.9-config.sub.patch for x86_64
94
95* Sat Jun 14 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl3
96- changed %{_docdit} to default
97
98* Thu Jun 12 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl2
99- Rebuild with new toolchains
100- fixed URL at Source
101
102* Thu Mar 15 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.9-0vl1
103- New upstream release.
104
105* Thu Dec 28 2000 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.8.cvs20001228-0vl1
106- Build for GtkHTML
107
108* Thu Dec 14 2000 Yoichi Imai <yoichi@silver-forest.com>
109- 1.0.8-0vl1
110- updated to 1.0.8
111
112* Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
113- 1.0.7-0vl1
114- updated to 1.0.7
115- added %build section
116
117* Wed Apr 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
118- updated to 1.0.6
119- added japanese description and summary.
120- added my poor timeout patch for stability.
121
122* Wed Apr  5 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
123- updated to 1.0.5
124
125* Sat Sep 18 1999 Kazuhito Nishi <nishi@imasy.or.jp>
126- First try at a spec file for Vine
127
Note: See TracBrowser for help on using the repository browser.