source: projects/specs/trunk/r/rest/rest-vl.spec @ 9475

Revision 9475, 3.3 KB checked in by Takemikaduchi, 9 years ago (diff)

GNOME-3.16.0

Line 
1%define         package_version 0.7.93
2%define         package_release 1%{?_dist_release}
3
4Name:           rest
5Version:        %{package_version}
6Release:        %{package_release}
7Summary:        RESTful web api query library
8
9Group:          System Environment/Libraries
10License:        LGPLv2+
11URL:            http://git.gnome.org/browse/librest
12Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.tar.xz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  glib2-devel
17BuildRequires:  gobject-introspection-devel
18BuildRequires:  libsoup-devel
19BuildRequires:  ca-certificates
20BuildRequires:  gtk-doc
21
22Requires:       ca-certificates
23
24Vendor: Project Vine
25Distribution: Vine Linux
26Packager: Takemikaduchi
27
28%description
29This library has been designed to make it easier to access web services that
30claim to be "RESTful". A reasonable definition of what this means can be found
31on Wikipedia [1]. However a reasonable description is that a RESTful service
32should have urls that represent remote objects which methods can then be
33called on.
34
35
36%package        devel
37Summary:        Development tools for rest
38Summary(ja):    rest の開発環境
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Requires:       pkgconfig
42Requires:       glib2-devel
43Requires:       libsoup-devel
44Requires:       libxml2-devel
45
46%description    devel
47Header files and libraries for building a extension library for the
48rest.
49
50
51%package        doc
52Summary:        Documentation for rest
53Summary(ja):    rest 用のドキュメント
54Group:          Documentation
55Requires:       %{name} = %{version}-%{release}
56BuildArch:      noarch
57
58
59%description    doc
60This package contains documentation for rest.
61
62
63%prep
64%setup -q
65
66%build
67%configure \
68        --enable-gtk-doc \
69        --disable-static \
70        --enable-introspection=yes
71
72make %{?_smp_mflags}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77make DESTDIR=$RPM_BUILD_ROOT install
78
79rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
80
81%clean
82rm -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
107* Sat Mar 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.93-1
108- new upstream release
109
110* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.92-1
111- new upstream release
112
113* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.91-1
114- new upstream release
115
116* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.90-2
117- rebuild with VineSeed environment
118
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
123* Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.12-2
124- fix URL
125
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
130* Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.11-1
131- new upstream release
132
133* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.10-1
134- initial build for Vine Linux
135
Note: See TracBrowser for help on using the repository browser.