]>
Commit | Line | Data |
---|---|---|
b0de2365 | 1 | # |
2 | # TODO: | |
3 | # - check if Patch0 is needed | |
4 | # | |
dfd31d33 | 5 | Summary: Keep passwords and other user's secrets |
545c4b5e | 6 | Summary(pl.UTF-8): Przechowywanie haseł i innych tajnych danych użytkowników |
ea8f2f57 | 7 | Name: gnome-keyring |
b0de2365 | 8 | Version: 0.7.3 |
9 | Release: 0.1 | |
ea8f2f57 | 10 | License: LGPL v2+/GPL v2+ |
6bf8e86c | 11 | Group: X11/Applications |
b0de2365 | 12 | Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/0.7/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 4478d21d3ef56a3992411bee7ab6df73 | |
cd31043d | 14 | Patch0: %{name}-single-unlock-dialog.patch |
ea8f2f57 | 15 | URL: http://www.gnome.org/ |
6c24b3c6 | 16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
e826d50e | 18 | BuildRequires: gtk+2-devel >= 2:2.10.2 |
19 | BuildRequires: gtk-doc >= 1.7 | |
6c24b3c6 | 20 | BuildRequires: libtool |
ced6b4d1 | 21 | BuildRequires: rpmbuild(macros) >= 1.197 |
ea8f2f57 AF |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
a971d564 | 25 | GNOME Keyring is a program that keeps password and other secrets for |
6030d07d | 26 | users. It is run as a daemon in the session, similar to ssh-agent, and |
ea8f2f57 AF |
27 | other applications can locate it by an environment variable. |
28 | ||
29 | The library libgnome-keyring is used by applications to integrate with | |
6bf8e86c JB |
30 | the GNOME keyring system. |
31 | ||
997e38ba JR |
32 | %description -l pl.UTF-8 |
33 | GNOME Keyring to program do przechowywania haseł i innych tajnych | |
34 | danych użytkowników. Działa jako demon w sesji, podobnie do | |
35 | ssh-agenta, a inne aplikacje mogą znaleźć go poprzez zmienną | |
36 | środowiskową. | |
6bf8e86c | 37 | |
997e38ba | 38 | Biblioteka libgnome-keyring jest używana przez aplikacje do integracji |
6bf8e86c | 39 | z systemem kluczy GNOME. |
ea8f2f57 | 40 | |
dfd31d33 | 41 | %package libs |
a971d564 | 42 | Summary: GNOME keyring library |
545c4b5e | 43 | Summary(pl.UTF-8): Biblioteka GNOME keyring |
6bf8e86c | 44 | Group: Libraries |
dfd31d33 | 45 | |
46 | %description libs | |
a971d564 | 47 | GNOME keyring library. |
dfd31d33 | 48 | |
997e38ba | 49 | %description libs -l pl.UTF-8 |
a971d564 | 50 | Biblioteka GNOME keyring. |
ea8f2f57 AF |
51 | |
52 | %package devel | |
a971d564 | 53 | Summary: Headers for GNOME keyring library |
545c4b5e | 54 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME keyring |
6bf8e86c | 55 | Group: Development/Libraries |
6c24b3c6 | 56 | Requires: %{name}-libs = %{version}-%{release} |
7bde4d26 | 57 | Requires: glib2-devel >= 1:2.10.3 |
ea8f2f57 AF |
58 | |
59 | %description devel | |
a971d564 | 60 | Headers for GNOME keyring library. |
ea8f2f57 | 61 | |
997e38ba JR |
62 | %description devel -l pl.UTF-8 |
63 | Pliki nagłówkowe biblioteki GNOME keyring. | |
ea8f2f57 AF |
64 | |
65 | %package static | |
a971d564 | 66 | Summary: Static GNOME keyring libraries |
545c4b5e | 67 | Summary(pl.UTF-8): Statyczne biblioteki GNOME keyring |
6bf8e86c | 68 | Group: Development/Libraries |
6c24b3c6 | 69 | Requires: %{name}-devel = %{version}-%{release} |
ea8f2f57 AF |
70 | |
71 | %description static | |
a971d564 | 72 | Static versions of GNOME keyring libraries. |
dfd31d33 | 73 | |
997e38ba | 74 | %description static -l pl.UTF-8 |
a971d564 | 75 | Statyczne biblioteki GNOME keyring. |
ea8f2f57 | 76 | |
e826d50e | 77 | %package apidocs |
78 | Summary: GNOME keyring API documentation | |
545c4b5e | 79 | Summary(pl.UTF-8): Dokumentacja API GNOME keyring |
e826d50e | 80 | Group: Documentation |
81 | Requires: gtk-doc-common | |
82 | ||
83 | %description apidocs | |
84 | GNOME keyring API documentation. | |
85 | ||
997e38ba | 86 | %description apidocs -l pl.UTF-8 |
e826d50e | 87 | Dokumentacja API GNOME keyring. |
88 | ||
ea8f2f57 AF |
89 | %prep |
90 | %setup -q | |
b0de2365 | 91 | #%patch0 -p0 |
ea8f2f57 AF |
92 | |
93 | %build | |
6c24b3c6 | 94 | %{__libtoolize} |
95 | %{__aclocal} | |
96 | %{__autoconf} | |
97 | %{__automake} | |
ea8f2f57 | 98 | %configure \ |
178a609f | 99 | --enable-gtk-doc \ |
100 | --enable-static \ | |
101 | --with-html-dir=%{_gtkdocdir} | |
ea8f2f57 AF |
102 | %{__make} |
103 | ||
104 | %install | |
105 | rm -rf $RPM_BUILD_ROOT | |
ea8f2f57 AF |
106 | |
107 | %{__make} install \ | |
108 | DESTDIR=$RPM_BUILD_ROOT \ | |
109 | pkgconfigdir=%{_pkgconfigdir} | |
110 | ||
111 | %find_lang %{name} --with-gnome --all-name | |
112 | ||
113 | %clean | |
114 | rm -rf $RPM_BUILD_ROOT | |
115 | ||
cec55ed8 | 116 | %post libs -p /sbin/ldconfig |
117 | %postun libs -p /sbin/ldconfig | |
ea8f2f57 AF |
118 | |
119 | %files -f %{name}.lang | |
120 | %defattr(644,root,root,755) | |
db68f084 | 121 | %doc AUTHORS ChangeLog NEWS README TODO |
ea8f2f57 | 122 | %attr(755,root,root) %{_bindir}/* |
4761618a | 123 | %attr(755,root,root) %{_libexecdir}/%{name}-ask |
dfd31d33 | 124 | |
125 | %files libs | |
126 | %defattr(644,root,root,755) | |
ea8f2f57 AF |
127 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
128 | ||
129 | %files devel | |
130 | %defattr(644,root,root,755) | |
131 | %attr(755,root,root) %{_libdir}/lib*.so | |
132 | %{_libdir}/lib*.la | |
ea8f2f57 | 133 | %{_includedir}/* |
178a609f | 134 | %{_pkgconfigdir}/*.pc |
ea8f2f57 AF |
135 | |
136 | %files static | |
137 | %defattr(644,root,root,755) | |
138 | %{_libdir}/lib*.a | |
e826d50e | 139 | |
140 | %files apidocs | |
141 | %defattr(644,root,root,755) | |
142 | %{_gtkdocdir}/%{name} |