rest-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. %define package_version 0.7.11
  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://www.clutter-project.org/
  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: gtk-doc
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. This library has been designed to make it easier to access web services that
  21. claim to be "RESTful". A reasonable definition of what this means can be found
  22. on Wikipedia [1]. However a reasonable description is that a RESTful service
  23. should have urls that represent remote objects which methods can then be
  24. called on.
  25. %package devel
  26. Summary: Development tools for rest
  27. Summary(ja): rest の開発環境
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: pkgconfig
  31. Requires: glib2-devel
  32. Requires: libsoup-devel
  33. Requires: libxml2-devel
  34. %description devel
  35. Header files and libraries for building a extension library for the
  36. rest.
  37. %package doc
  38. Summary: Documentation for rest
  39. Summary(ja): rest 用のドキュメント
  40. Group: Documentation
  41. Requires: %{name} = %{version}-%{release}
  42. BuildArch: noarch
  43. %description doc
  44. This package contains documentation for rest.
  45. %prep
  46. %setup -q
  47. %build
  48. %configure \
  49. --enable-gtk-doc \
  50. --disable-static \
  51. --enable-introspection=yes
  52. make %{?_smp_mflags}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. make DESTDIR=$RPM_BUILD_ROOT install
  56. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post -p /sbin/ldconfig
  60. %postun -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root,-)
  63. %doc ChangeLog AUTHORS COPYING NEWS README
  64. %{_libdir}/*.so.*
  65. %{_libdir}/girepository-1.0/*.typelib
  66. %files devel
  67. %defattr(-, root, root)
  68. %{_includedir}/%{name}-0.7
  69. %{_libdir}/*.so
  70. %{_libdir}/pkgconfig/*.pc
  71. %{_datadir}/gir-1.0/*.gir
  72. %files doc
  73. %defattr(-, root, root)
  74. %{_datadir}/gtk-doc/html/%{name}-0.7
  75. %changelog
  76. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.11-1
  77. - new upstream release
  78. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.10-1
  79. - initial build for Vine Linux