rest-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. %define package_version 0.7.90
  2. %define package_release 1%{?_dist_release}
  3. Name: rest
  4. Version: %{package_version}
  5. Release: %{package_release}
  6. Summary: RESTful web api query library
  7. Group: System Environment/Libraries
  8. License: LGPLv2+
  9. URL: http://git.gnome.org/browse/librest
  10. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: glib2-devel
  13. BuildRequires: gobject-introspection-devel
  14. BuildRequires: libsoup-devel
  15. BuildRequires: ca-certificates
  16. BuildRequires: gtk-doc
  17. Requires: ca-certificates
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. This library has been designed to make it easier to access web services that
  23. claim to be "RESTful". A reasonable definition of what this means can be found
  24. on Wikipedia [1]. However a reasonable description is that a RESTful service
  25. should have urls that represent remote objects which methods can then be
  26. called on.
  27. %package devel
  28. Summary: Development tools for rest
  29. Summary(ja): rest の開発環境
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: pkgconfig
  33. Requires: glib2-devel
  34. Requires: libsoup-devel
  35. Requires: libxml2-devel
  36. %description devel
  37. Header files and libraries for building a extension library for the
  38. rest.
  39. %package doc
  40. Summary: Documentation for rest
  41. Summary(ja): rest 用のドキュメント
  42. Group: Documentation
  43. Requires: %{name} = %{version}-%{release}
  44. BuildArch: noarch
  45. %description doc
  46. This package contains documentation for rest.
  47. %prep
  48. %setup -q
  49. %build
  50. %configure \
  51. --enable-gtk-doc \
  52. --disable-static \
  53. --enable-introspection=yes
  54. make %{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make DESTDIR=$RPM_BUILD_ROOT install
  58. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  59. %clean
  60. rm -rf $RPM_BUILD_ROOT
  61. %post -p /sbin/ldconfig
  62. %postun -p /sbin/ldconfig
  63. %files
  64. %defattr(-,root,root,-)
  65. %doc ChangeLog AUTHORS COPYING NEWS README
  66. %{_libdir}/*.so.*
  67. %{_libdir}/girepository-1.0/*.typelib
  68. %files devel
  69. %defattr(-, root, root)
  70. %{_includedir}/%{name}-0.7
  71. %{_libdir}/*.so
  72. %{_libdir}/pkgconfig/*.pc
  73. %{_datadir}/gir-1.0/*.gir
  74. %files doc
  75. %defattr(-, root, root)
  76. %{_datadir}/gtk-doc/html/%{name}-0.7
  77. %changelog
  78. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.90-1
  79. - new upstream release
  80. - change BuildRequires: ca-certificates instead of openssl-devel
  81. * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.12-2
  82. - fix URL
  83. * Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.12-1
  84. - new upstream release
  85. - add BuildRequires: openssl
  86. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.11-1
  87. - new upstream release
  88. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.10-1
  89. - initial build for Vine Linux