1 | %define package_version 3.2.0.1 |
---|
2 | %define package_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Name: gnome-online-accounts |
---|
5 | Version: %{package_version} |
---|
6 | Release: %{package_release} |
---|
7 | Summary: GNOME applications and libraries to access the user's online accounts |
---|
8 | |
---|
9 | Group: System Environment/Libraries |
---|
10 | License: LGPLv2+ |
---|
11 | URL: http://www.clutter-project.org/ |
---|
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | BuildRequires: glib2-devel |
---|
17 | BuildRequires: gobject-introspection-devel |
---|
18 | BuildRequires: gtk3-devel |
---|
19 | BuildRequires: WebKit3-gtk-devel |
---|
20 | BuildRequires: json-glib-devel |
---|
21 | BuildRequires: libgnome-keyring-devel |
---|
22 | BuildRequires: libnotify-devel |
---|
23 | BuildRequires: rest-devel |
---|
24 | BuildRequires: gtk-doc |
---|
25 | |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | Packager: Takemikaduchi |
---|
29 | |
---|
30 | %description |
---|
31 | Gnome-online-accounts provides interfaces so applications and |
---|
32 | libraries in GNOME can access the user's online accounts |
---|
33 | |
---|
34 | %package devel |
---|
35 | Summary: Development tools for gnome-online-accounts |
---|
36 | Summary(ja): gnome-online-accounts の開発環境 |
---|
37 | Group: Development/Libraries |
---|
38 | Requires: %{name} = %{version}-%{release} |
---|
39 | Requires: pkgconfig |
---|
40 | Requires: gtk3-devel |
---|
41 | |
---|
42 | %description devel |
---|
43 | Header files and libraries for building a extension library for the |
---|
44 | gnome-online-accounts. |
---|
45 | |
---|
46 | |
---|
47 | %package doc |
---|
48 | Summary: Documentation for gnome-online-accounts |
---|
49 | Summary(ja): gnome-online-accounts 用のドキュメント |
---|
50 | Group: Documentation |
---|
51 | Requires: %{name} = %{version}-%{release} |
---|
52 | BuildArch: noarch |
---|
53 | |
---|
54 | |
---|
55 | %description doc |
---|
56 | This package contains documentation for gnome-online-accounts. |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %setup -q |
---|
61 | |
---|
62 | %build |
---|
63 | %configure \ |
---|
64 | --enable-gtk-doc \ |
---|
65 | --disable-static \ |
---|
66 | --enable-introspection=yes |
---|
67 | |
---|
68 | make %{?_smp_mflags} |
---|
69 | |
---|
70 | %install |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | #make DESTDIR=$RPM_BUILD_ROOT install |
---|
73 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" |
---|
74 | |
---|
75 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
76 | |
---|
77 | %find_lang %{name} |
---|
78 | |
---|
79 | %clean |
---|
80 | rm -rf $RPM_BUILD_ROOT |
---|
81 | |
---|
82 | %post |
---|
83 | /sbin/ldconfig |
---|
84 | touch --no-create %{_datadir}/icons/ |
---|
85 | |
---|
86 | %postun |
---|
87 | if [ $1 -eq 0 ] ; then |
---|
88 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
89 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
90 | fi |
---|
91 | |
---|
92 | %posttrans |
---|
93 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
94 | |
---|
95 | |
---|
96 | %files -f %{name}.lang |
---|
97 | %defattr(-,root,root,-) |
---|
98 | %doc ChangeLog AUTHORS COPYING NEWS README |
---|
99 | %{_libdir}/*.so.* |
---|
100 | %{_libexecdir}/goa-daemon |
---|
101 | %{_libdir}/girepository-1.0/*.typelib |
---|
102 | %{_datadir}/dbus-1/services/org.gnome.OnlineAccounts.service |
---|
103 | %{_datadir}/icons/hicolor/*/apps/*.png |
---|
104 | %{_mandir}/man8/goa-daemon.8.gz |
---|
105 | |
---|
106 | %files devel |
---|
107 | %defattr(-, root, root) |
---|
108 | %{_includedir}/goa-1.0 |
---|
109 | %{_libdir}/*.so |
---|
110 | %{_libdir}/pkgconfig/*.pc |
---|
111 | %{_datadir}/gir-1.0/*.gir |
---|
112 | |
---|
113 | %files doc |
---|
114 | %defattr(-, root, root) |
---|
115 | %{_datadir}/gtk-doc/html/goa |
---|
116 | |
---|
117 | |
---|
118 | %changelog |
---|
119 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0.1-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sun Sep 04 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.1-1 |
---|
129 | - initial build for Vine Linux |
---|
130 | |
---|