1 | Name: libzapojit |
---|
2 | Version: 0.0.2 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs |
---|
5 | Summary(ja): SkyDrive と Hotmail の REST API 用 GLib/GObject ラッパー |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: LGPLv2+ |
---|
9 | URL: https://live.gnome.org/Zapojit |
---|
10 | Source0: http://download.gnome.org/sources/%{name}/0.0/%{name}-%{version}.tar.xz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | BuildRequires: glib2-devel >= 2.12.0 |
---|
14 | BuildRequires: json-glib-devel |
---|
15 | BuildRequires: rest-devel |
---|
16 | BuildRequires: libsoup-devel |
---|
17 | BuildRequires: gnome-online-accounts-devel |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | Packager: Takemikaduchi |
---|
22 | |
---|
23 | |
---|
24 | %description |
---|
25 | Zapojit is a GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs. |
---|
26 | |
---|
27 | |
---|
28 | %package devel |
---|
29 | Summary: Development files for %{name} |
---|
30 | Summary(ja): %{name} の開発ファイル |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | Requires: pkgconfig |
---|
34 | Requires: gobject-introspection-devel |
---|
35 | |
---|
36 | %description devel |
---|
37 | The %{name}-devel package contains libraries and header files for |
---|
38 | developing applications that use %{name}. |
---|
39 | |
---|
40 | |
---|
41 | %package doc |
---|
42 | Summary: Documentation for %{name} |
---|
43 | Summary(ja): %{name} 用のドキュメント |
---|
44 | Group: Documentation |
---|
45 | Requires: %{name} = %{version}-%{release} |
---|
46 | BuildArch: noarch |
---|
47 | |
---|
48 | %description doc |
---|
49 | This package contains documentation for %{name}. |
---|
50 | |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | |
---|
55 | %build |
---|
56 | %configure --disable-static |
---|
57 | make %{?_smp_mflags} |
---|
58 | |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
64 | |
---|
65 | rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name} |
---|
66 | |
---|
67 | |
---|
68 | %clean |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | |
---|
72 | %post -p /sbin/ldconfig |
---|
73 | |
---|
74 | %postun -p /sbin/ldconfig |
---|
75 | |
---|
76 | |
---|
77 | %files |
---|
78 | %defattr(-,root,root,-) |
---|
79 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
80 | %{_libdir}/%{name}*.so.* |
---|
81 | %{_libdir}/girepository-1.0/Zpj-0.0.typelib |
---|
82 | |
---|
83 | %files devel |
---|
84 | %defattr(-,root,root,-) |
---|
85 | %{_includedir}/%{name}-0.0 |
---|
86 | %{_libdir}/%{name}*.so |
---|
87 | %{_libdir}/pkgconfig/zapojit-0.0.pc |
---|
88 | %{_datadir}/gir-1.0/Zpj-0.0.gir |
---|
89 | |
---|
90 | %files doc |
---|
91 | %defattr(-,root,root,-) |
---|
92 | %{_datadir}/gtk-doc/html/%{name}-0.0 |
---|
93 | |
---|
94 | |
---|
95 | %changelog |
---|
96 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.2-1 |
---|
97 | - initial build |
---|