1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | %define glib2_version 2.40.0 |
---|
4 | %define dbus_version 1.6.14 |
---|
5 | %define eggdbus_version 0.6 |
---|
6 | %define gcrypt_version 1.4.6 |
---|
7 | |
---|
8 | Summary: Framework for managing passwords and other secrets |
---|
9 | Name: libgnome-keyring |
---|
10 | Version: 3.12.0 |
---|
11 | Release: 1%{?_dist_release} |
---|
12 | License: GPLv2+ and LGPLv2+ |
---|
13 | Group: System Environment/Libraries |
---|
14 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz |
---|
15 | URL: http://live.gnome.org/GnomeKeyring |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
17 | |
---|
18 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
19 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
20 | BuildRequires: eggdbus-devel >= %{eggdbus_version} |
---|
21 | BuildRequires: libgcrypt-devel >= %{gcrypt_version} |
---|
22 | BuildRequires: gobject-introspection-devel |
---|
23 | BuildRequires: intltool |
---|
24 | Conflicts: gnome-keyring < 2.29.4 |
---|
25 | |
---|
26 | Vendor: Project Vine |
---|
27 | Distribution: Vine Linux |
---|
28 | Packager: Takemikaduchi |
---|
29 | |
---|
30 | %description |
---|
31 | gnome-keyring is a program that keep password and other secrets for |
---|
32 | users. The library libgnome-keyring is used by applications to integrate |
---|
33 | with the gnome-keyring system. |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development files for libgnome-keyring |
---|
37 | License: LGPLv2+ |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | Requires: glib2-devel |
---|
41 | Requires: pkgconfig |
---|
42 | Requires: gtk-doc |
---|
43 | Conflicts: gnome-keyring-devel < 2.29.4 |
---|
44 | |
---|
45 | %description devel |
---|
46 | The libgnome-keyring-devel package contains the libraries and |
---|
47 | header files needed to develop applications that use libgnome-keyring. |
---|
48 | |
---|
49 | |
---|
50 | # compat32 |
---|
51 | %package -n compat32-%{name} |
---|
52 | Summary: Framework for managing passwords and other secrets |
---|
53 | Group: System Environment/Libraries |
---|
54 | Requires: %{name} = %{version}-%{release} |
---|
55 | |
---|
56 | %description -n compat32-%{name} |
---|
57 | gnome-keyring is a program that keep password and other secrets for |
---|
58 | users. The library libgnome-keyring is used by applications to integrate |
---|
59 | with the gnome-keyring system. |
---|
60 | |
---|
61 | |
---|
62 | %package -n compat32-%{name}-devel |
---|
63 | Summary: Development files for libgnome-keyring |
---|
64 | License: LGPLv2+ |
---|
65 | Group: Development/Libraries |
---|
66 | Requires: compat32-%{name} = %{version}-%{release} |
---|
67 | Requires: compat32-glib2-devel |
---|
68 | Conflicts: compat32-gnome-keyring-devel < 2.29.4 |
---|
69 | |
---|
70 | %description -n compat32-%{name}-devel |
---|
71 | The libgnome-keyring-devel package contains the libraries and |
---|
72 | header files needed to develop applications that use libgnome-keyring. |
---|
73 | |
---|
74 | |
---|
75 | %prep |
---|
76 | %setup -q -n libgnome-keyring-%{version} |
---|
77 | |
---|
78 | %build |
---|
79 | %configure \ |
---|
80 | --disable-gtk-doc \ |
---|
81 | --enable-introspection |
---|
82 | |
---|
83 | |
---|
84 | make %{?_smp_mflags} |
---|
85 | |
---|
86 | %install |
---|
87 | rm -rf $RPM_BUILD_ROOT |
---|
88 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
89 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
90 | |
---|
91 | %find_lang libgnome-keyring |
---|
92 | |
---|
93 | %clean |
---|
94 | rm -rf $RPM_BUILD_ROOT |
---|
95 | |
---|
96 | |
---|
97 | %post -p /sbin/ldconfig |
---|
98 | |
---|
99 | %postun -p /sbin/ldconfig |
---|
100 | |
---|
101 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
102 | |
---|
103 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
104 | |
---|
105 | |
---|
106 | %files -f libgnome-keyring.lang |
---|
107 | %defattr(-, root, root, -) |
---|
108 | %doc AUTHORS NEWS README COPYING HACKING |
---|
109 | %{_libdir}/lib*.so.* |
---|
110 | %{_libdir}/girepository-1.0/GnomeKeyring-1.0.typelib |
---|
111 | |
---|
112 | %files devel |
---|
113 | %defattr(-, root, root, -) |
---|
114 | %{_libdir}/lib*.so |
---|
115 | %{_libdir}/pkgconfig/* |
---|
116 | %{_includedir}/* |
---|
117 | %{_datadir}/gir-1.0/GnomeKeyring-1.0.gir |
---|
118 | %doc %{_datadir}/gtk-doc/html/gnome-keyring/ |
---|
119 | |
---|
120 | # compat32 |
---|
121 | %if %{build_compat32} |
---|
122 | %files -n compat32-%{name} |
---|
123 | %defattr(-, root, root, -) |
---|
124 | %{_libdir}/lib*.so.* |
---|
125 | |
---|
126 | %files -n compat32-%{name}-devel |
---|
127 | %defattr(-, root, root, -) |
---|
128 | %{_libdir}/lib*.so |
---|
129 | %endif |
---|
130 | |
---|
131 | %changelog |
---|
132 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.12.0-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Wed Feb 19 2014 NAKAMURA Kenta <kenta@vinelinux.org> - 3.10.1-3 |
---|
136 | - rebuilt with libgcrypt-1.6 |
---|
137 | |
---|
138 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.10.1-2 |
---|
139 | - rebuild with VineSeed environment |
---|
140 | |
---|
141 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.10.1-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.8.0-1 |
---|
145 | - new upstream release |
---|
146 | - add BuildRequires: gobject-introspection-devel |
---|
147 | |
---|
148 | * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.6.0-1 |
---|
149 | - new upstream release |
---|
150 | |
---|
151 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.1-1 |
---|
152 | - new upstream release |
---|
153 | |
---|
154 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.2.0-1 |
---|
155 | - new upstream release |
---|
156 | |
---|
157 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.92-1 |
---|
158 | - new upstream release |
---|
159 | |
---|
160 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.90-1 |
---|
161 | - new upstream release |
---|
162 | |
---|
163 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.4-1 |
---|
164 | - new upstream release |
---|
165 | |
---|
166 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.32.0-1 |
---|
167 | - new upstream release |
---|
168 | |
---|
169 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.1-2 |
---|
170 | - build with rpm-4.8.1-1 for pkg-config file |
---|
171 | |
---|
172 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.1-1 |
---|
173 | - new upstream release |
---|
174 | |
---|
175 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1 |
---|
176 | - initial build for Vine Linux |
---|
177 | |
---|
178 | |
---|
179 | * Mon Mar 22 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100322.1 |
---|
180 | - Update to a new git snapshot |
---|
181 | |
---|
182 | * Wed Mar 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100317.1 |
---|
183 | - Update to 2.29.92 git snapshot |
---|
184 | |
---|
185 | * Wed Feb 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-4 |
---|
186 | - When no password is found, return GNOME_KEYRING_RESULT_NO_MATCH |
---|
187 | |
---|
188 | * Tue Feb 16 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-3 |
---|
189 | - Fix assertion when password is not found |
---|
190 | |
---|
191 | * Mon Jan 25 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-2 |
---|
192 | - Fix assertion calling deprecated acl function |
---|
193 | - Clear the client's session when the service disconnects |
---|
194 | - Implement setting of Type property in gnome_keyring_item_set_info() |
---|
195 | |
---|
196 | * Thu Jan 7 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-1 |
---|
197 | - Initial packaging |
---|