libghttp-vl.spec 3.0 KB

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