source: projects/specs/trunk/u/uhttpmock/uhttpmock-vl.spec @ 9791

Revision 9791, 4.3 KB checked in by Takemikaduchi, 6 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

Line 
1%global glib2_version 2.36.0
2%global libsoup_version 2.37.9
3
4# Packagers: This is the API version of libuhttpmock, as it allows
5# for parallel installation of different major API versions (e.g. like
6# GTK+ 2 and 3).
7%global uhm_api_version 0.0
8
9Name:           uhttpmock
10Version:        0.5.0
11Release:        1%{?_dist_release}
12Summary:        HTTP web service mocking library
13Summary(ja):    HTTP Web サービス模擬ライブラリ
14License:        LGPLv2
15Group:          System Environment/Libraries
16URL:            http://gitorious.org/uhttpmock/
17
18Source0:        http://tecnocode.co.uk/downloads/%{name}/%{name}-%{version}.tar.xz
19
20BuildRoot: %{_tmppath}/%{name}-%{version}-root
21BuildRequires:  glib2-devel >= %{glib2_version}
22BuildRequires:  libsoup-devel >= %{libsoup_version}
23BuildRequires:  intltool
24BuildRequires:  gobject-introspection-devel
25BuildRequires:  gtk-doc
26BuildRequires:  vala-tools
27BuildRequires:  vala-devel
28BuildRequires:  gsettings-desktop-schemas
29
30Requires:       glib2 >= %{glib2_version}
31Requires:       libsoup >= %{libsoup_version}
32
33%description
34uhttpmock is a project for mocking web service APIs which use HTTP or HTTPS.
35It provides a library, libuhttpmock, which implements recording and
36playback of HTTP request–response traces.
37
38
39%package        devel
40Summary:        Development files for %{name}
41Summary(ja):    %{name} の開発用ファイル
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44
45%description devel
46This package contains libraries, header files and documentation for
47developing applications that use %{name}.
48
49
50%package        docs
51Summary:        Documentation for %{name}
52Summary(ja):    %{name} 用のドキュメント
53Group:          Documentation
54Requires:       %{name} = %{version}-%{release}
55BuildArch:      noarch
56
57%description    docs
58This package contains documentation for %{name}.
59
60
61%package        vala
62Summary:        Vala bindings for %{name}
63Summary(ja):    %{name} の Vala バインディング
64Group:          Development/Libraries
65Requires:       %{name} = %{version}-%{release}
66Requires:       vala
67
68%description    vala
69Vala bindings for %{name}.
70
71
72%prep
73%setup -q
74
75%build
76%configure \
77    --enable-gtk-doc \
78    --enable-introspection \
79    --enable-vala=yes \
80    --disable-static
81make %{?_smp_mflags}
82
83%check
84make check
85
86%install
87rm -rf $RPM_BUILD_ROOT
88make DESTDIR=$RPM_BUILD_ROOT install
89
90rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
91
92%post -p /sbin/ldconfig
93
94%postun -p /sbin/ldconfig
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
99%files
100%defattr(-,root,root,-)
101%doc README COPYING NEWS AUTHORS
102%{_libdir}/libuhttpmock-%{uhm_api_version}.so.0*
103%{_libdir}/girepository-1.0/Uhm-%{uhm_api_version}.typelib
104
105%files devel
106%defattr(-,root,root,-)
107%{_libdir}/libuhttpmock-%{uhm_api_version}.so
108%{_includedir}/libuhttpmock-%{uhm_api_version}/
109%{_libdir}/pkgconfig/libuhttpmock-%{uhm_api_version}.pc
110%{_datadir}/gir-1.0/Uhm-%{uhm_api_version}.gir
111
112%files docs
113%defattr(-,root,root,-)
114%{_datadir}/gtk-doc/html/libuhttpmock-%{uhm_api_version}/
115
116%files vala
117%defattr(-,root,root,-)
118%{_datadir}/vala/vapi/libuhttpmock-%{uhm_api_version}.deps
119%{_datadir}/vala/vapi/libuhttpmock-%{uhm_api_version}.vapi
120
121%changelog
122* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.0-1
123- update to 0.5.0
124
125* Fri Jan 30 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3.1-3
126- added %%clean section
127- moved devel subpackage to Development/Libraries Group
128
129* Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.3.1-2
130- added Group tag to main and devel packages
131
132* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.3.1-1
133- initial build for Vine Linux
134
135* Fri Aug 22 2014 Philip Withnall <philip@tecnocode.co.uk> - 0.3.1-1
136- Update to 0.3.1
137
138* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
139- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
140
141* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.3.0-2
142- Rebuilt for gobject-introspection 1.41.4
143
144* Sun Jun 22 2014 Philip Withnall <philip@tecnocode.co.uk> - 0.3.0-1
145- Update to 0.3.0
146
147* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
148- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
149
150* Tue Nov 05 2013 Philip Withnall <philip.withnall@collabora.co.uk> - 0.2.0-1
151- Initial spec file for version 0.2.0.
Note: See TracBrowser for help on using the repository browser.