1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | %define glib2_version 2.32.0 |
---|
4 | %define dbus_version 1.4.20 |
---|
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.4.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/libgnome-keyring/3.4/libgnome-keyring-%{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: intltool |
---|
23 | Conflicts: gnome-keyring < 2.29.4 |
---|
24 | |
---|
25 | |
---|
26 | %description |
---|
27 | gnome-keyring is a program that keep password and other secrets for |
---|
28 | users. The library libgnome-keyring is used by applications to integrate |
---|
29 | with the gnome-keyring system. |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development files for libgnome-keyring |
---|
33 | License: LGPLv2+ |
---|
34 | Group: Development/Libraries |
---|
35 | Requires: %{name} = %{version}-%{release} |
---|
36 | Requires: glib2-devel |
---|
37 | Requires: pkgconfig |
---|
38 | Requires: gtk-doc |
---|
39 | Conflicts: gnome-keyring-devel < 2.29.4 |
---|
40 | |
---|
41 | %description devel |
---|
42 | The libgnome-keyring-devel package contains the libraries and |
---|
43 | header files needed to develop applications that use libgnome-keyring. |
---|
44 | |
---|
45 | |
---|
46 | # compat32 |
---|
47 | %package -n compat32-%{name} |
---|
48 | Summary: Framework for managing passwords and other secrets |
---|
49 | Group: System Environment/Libraries |
---|
50 | Requires: %{name} = %{version}-%{release} |
---|
51 | |
---|
52 | %description -n compat32-%{name} |
---|
53 | gnome-keyring is a program that keep password and other secrets for |
---|
54 | users. The library libgnome-keyring is used by applications to integrate |
---|
55 | with the gnome-keyring system. |
---|
56 | |
---|
57 | |
---|
58 | %package -n compat32-%{name}-devel |
---|
59 | Summary: Development files for libgnome-keyring |
---|
60 | License: LGPLv2+ |
---|
61 | Group: Development/Libraries |
---|
62 | Requires: compat32-%{name} = %{version}-%{release} |
---|
63 | Requires: compat32-glib2-devel |
---|
64 | Conflicts: compat32-gnome-keyring-devel < 2.29.4 |
---|
65 | |
---|
66 | %description -n compat32-%{name}-devel |
---|
67 | The libgnome-keyring-devel package contains the libraries and |
---|
68 | header files needed to develop applications that use libgnome-keyring. |
---|
69 | |
---|
70 | |
---|
71 | %prep |
---|
72 | %setup -q -n libgnome-keyring-%{version} |
---|
73 | |
---|
74 | %build |
---|
75 | %configure --disable-gtk-doc |
---|
76 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
77 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
78 | |
---|
79 | # avoid unneeded direct dependencies |
---|
80 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool |
---|
81 | |
---|
82 | make %{?_smp_mflags} |
---|
83 | |
---|
84 | %install |
---|
85 | rm -rf $RPM_BUILD_ROOT |
---|
86 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
87 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
88 | |
---|
89 | %find_lang libgnome-keyring |
---|
90 | |
---|
91 | %clean |
---|
92 | rm -rf $RPM_BUILD_ROOT |
---|
93 | |
---|
94 | |
---|
95 | %post -p /sbin/ldconfig |
---|
96 | |
---|
97 | %postun -p /sbin/ldconfig |
---|
98 | |
---|
99 | |
---|
100 | %files -f libgnome-keyring.lang |
---|
101 | %defattr(-, root, root, -) |
---|
102 | %doc AUTHORS NEWS README COPYING HACKING |
---|
103 | %{_libdir}/lib*.so.* |
---|
104 | |
---|
105 | %files devel |
---|
106 | %defattr(-, root, root, -) |
---|
107 | %{_libdir}/lib*.so |
---|
108 | %{_libdir}/pkgconfig/* |
---|
109 | %{_includedir}/* |
---|
110 | %doc %{_datadir}/gtk-doc/html/gnome-keyring/ |
---|
111 | |
---|
112 | # compat32 |
---|
113 | %if %{build_compat32} |
---|
114 | %files -n compat32-%{name} |
---|
115 | %defattr(-, root, root, -) |
---|
116 | %{_libdir}/lib*.so.* |
---|
117 | |
---|
118 | %files -n compat32-%{name}-devel |
---|
119 | %defattr(-, root, root, -) |
---|
120 | %{_libdir}/lib*.so |
---|
121 | %{_libdir}/pkgconfig/* |
---|
122 | %endif |
---|
123 | |
---|
124 | %changelog |
---|
125 | * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.4.0-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.2.0-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.92-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.90-1 |
---|
135 | - new upstream release |
---|
136 | |
---|
137 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 3.1.4-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.32.0-1 |
---|
141 | - new upstream release |
---|
142 | |
---|
143 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.1-2 |
---|
144 | - build with rpm-4.8.1-1 for pkg-config file |
---|
145 | |
---|
146 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.1-1 |
---|
147 | - new upstream release |
---|
148 | |
---|
149 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.30.0-1 |
---|
150 | - initial build for Vine Linux |
---|
151 | |
---|
152 | |
---|
153 | * Mon Mar 22 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100322.1 |
---|
154 | - Update to a new git snapshot |
---|
155 | |
---|
156 | * Wed Mar 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.92-git20100317.1 |
---|
157 | - Update to 2.29.92 git snapshot |
---|
158 | |
---|
159 | * Wed Feb 17 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-4 |
---|
160 | - When no password is found, return GNOME_KEYRING_RESULT_NO_MATCH |
---|
161 | |
---|
162 | * Tue Feb 16 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-3 |
---|
163 | - Fix assertion when password is not found |
---|
164 | |
---|
165 | * Mon Jan 25 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-2 |
---|
166 | - Fix assertion calling deprecated acl function |
---|
167 | - Clear the client's session when the service disconnects |
---|
168 | - Implement setting of Type property in gnome_keyring_item_set_info() |
---|
169 | |
---|
170 | * Thu Jan 7 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.4-1 |
---|
171 | - Initial packaging |
---|