[9475] | 1 | %define package_version 0.7.93 |
---|
[8353] | 2 | %define package_release 1%{?_dist_release} |
---|
[4616] | 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+ |
---|
[6011] | 11 | URL: http://git.gnome.org/browse/librest |
---|
[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 |
---|
[6890] | 19 | BuildRequires: ca-certificates |
---|
[4616] | 20 | BuildRequires: gtk-doc |
---|
| 21 | |
---|
[6890] | 22 | Requires: ca-certificates |
---|
| 23 | |
---|
[4616] | 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | Packager: Takemikaduchi |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | This library has been designed to make it easier to access web services that |
---|
| 30 | claim to be "RESTful". A reasonable definition of what this means can be found |
---|
| 31 | on Wikipedia [1]. However a reasonable description is that a RESTful service |
---|
| 32 | should have urls that represent remote objects which methods can then be |
---|
| 33 | called on. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %package devel |
---|
| 37 | Summary: Development tools for rest |
---|
| 38 | Summary(ja): rest の開発環境 |
---|
| 39 | Group: Development/Libraries |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
| 41 | Requires: pkgconfig |
---|
| 42 | Requires: glib2-devel |
---|
| 43 | Requires: libsoup-devel |
---|
| 44 | Requires: libxml2-devel |
---|
| 45 | |
---|
| 46 | %description devel |
---|
| 47 | Header files and libraries for building a extension library for the |
---|
| 48 | rest. |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %package doc |
---|
| 52 | Summary: Documentation for rest |
---|
| 53 | Summary(ja): rest 用のドキュメント |
---|
| 54 | Group: Documentation |
---|
| 55 | Requires: %{name} = %{version}-%{release} |
---|
[9475] | 56 | BuildArch: noarch |
---|
[4616] | 57 | |
---|
| 58 | |
---|
| 59 | %description doc |
---|
| 60 | This package contains documentation for rest. |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | %prep |
---|
| 64 | %setup -q |
---|
| 65 | |
---|
| 66 | %build |
---|
| 67 | %configure \ |
---|
| 68 | --enable-gtk-doc \ |
---|
| 69 | --disable-static \ |
---|
[6890] | 70 | --enable-introspection=yes |
---|
[4616] | 71 | |
---|
| 72 | make %{?_smp_mflags} |
---|
| 73 | |
---|
| 74 | %install |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 76 | |
---|
| 77 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 78 | |
---|
| 79 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 80 | |
---|
| 81 | %clean |
---|
| 82 | rm -rf $RPM_BUILD_ROOT |
---|
| 83 | |
---|
| 84 | %post -p /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | %postun -p /sbin/ldconfig |
---|
| 87 | |
---|
| 88 | %files |
---|
| 89 | %defattr(-,root,root,-) |
---|
| 90 | %doc ChangeLog AUTHORS COPYING NEWS README |
---|
| 91 | %{_libdir}/*.so.* |
---|
| 92 | %{_libdir}/girepository-1.0/*.typelib |
---|
| 93 | |
---|
| 94 | %files devel |
---|
| 95 | %defattr(-, root, root) |
---|
| 96 | %{_includedir}/%{name}-0.7 |
---|
| 97 | %{_libdir}/*.so |
---|
| 98 | %{_libdir}/pkgconfig/*.pc |
---|
| 99 | %{_datadir}/gir-1.0/*.gir |
---|
| 100 | |
---|
| 101 | %files doc |
---|
| 102 | %defattr(-, root, root) |
---|
| 103 | %{_datadir}/gtk-doc/html/%{name}-0.7 |
---|
| 104 | |
---|
| 105 | |
---|
| 106 | %changelog |
---|
[9475] | 107 | * Sat Mar 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.93-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
[9073] | 110 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.92-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[8353] | 113 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.91-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
[8119] | 116 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.90-2 |
---|
| 117 | - rebuild with VineSeed environment |
---|
| 118 | |
---|
[6890] | 119 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.90-1 |
---|
| 120 | - new upstream release |
---|
| 121 | - change BuildRequires: ca-certificates instead of openssl-devel |
---|
| 122 | |
---|
[6011] | 123 | * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.12-2 |
---|
| 124 | - fix URL |
---|
| 125 | |
---|
[5168] | 126 | * Wed Nov 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.12-1 |
---|
| 127 | - new upstream release |
---|
| 128 | - add BuildRequires: openssl |
---|
| 129 | |
---|
[5094] | 130 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.11-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[4616] | 133 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.10-1 |
---|
| 134 | - initial build for Vine Linux |
---|
| 135 | |
---|