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