]> git.pld-linux.org Git - packages/gnome-keyring.git/blob - gnome-keyring.spec
9631ffeb91f5d243a56034b453b5593434dc8e82
[packages/gnome-keyring.git] / gnome-keyring.spec
1 #
2 # TODO:
3 # - check if Patch0 is needed
4 #
5 Summary:        Keep passwords and other user's secrets
6 Summary(pl.UTF-8):   Przechowywanie haseł i innych tajnych danych użytkowników
7 Name:           gnome-keyring
8 Version:        0.7.3
9 Release:        0.1
10 License:        LGPL v2+/GPL v2+
11 Group:          X11/Applications
12 Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-keyring/0.7/%{name}-%{version}.tar.bz2
13 # Source0-md5:  4478d21d3ef56a3992411bee7ab6df73
14 Patch0:         %{name}-single-unlock-dialog.patch
15 URL:            http://www.gnome.org/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gtk+2-devel >= 2:2.10.2
19 BuildRequires:  gtk-doc >= 1.7
20 BuildRequires:  libtool
21 BuildRequires:  rpmbuild(macros) >= 1.197
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 GNOME Keyring is a program that keeps password and other secrets for
26 users. It is run as a daemon in the session, similar to ssh-agent, and
27 other applications can locate it by an environment variable.
28
29 The library libgnome-keyring is used by applications to integrate with
30 the GNOME keyring system.
31
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ą.
37
38 Biblioteka libgnome-keyring jest używana przez aplikacje do integracji
39 z systemem kluczy GNOME.
40
41 %package libs
42 Summary:        GNOME keyring library
43 Summary(pl.UTF-8):   Biblioteka GNOME keyring
44 Group:          Libraries
45
46 %description libs
47 GNOME keyring library.
48
49 %description libs -l pl.UTF-8
50 Biblioteka GNOME keyring.
51
52 %package devel
53 Summary:        Headers for GNOME keyring library
54 Summary(pl.UTF-8):   Pliki nagłówkowe biblioteki GNOME keyring
55 Group:          Development/Libraries
56 Requires:       %{name}-libs = %{version}-%{release}
57 Requires:       glib2-devel >= 1:2.10.3
58
59 %description devel
60 Headers for GNOME keyring library.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe biblioteki GNOME keyring.
64
65 %package static
66 Summary:        Static GNOME keyring libraries
67 Summary(pl.UTF-8):   Statyczne biblioteki GNOME keyring
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 Static versions of GNOME keyring libraries.
73
74 %description static -l pl.UTF-8
75 Statyczne biblioteki GNOME keyring.
76
77 %package apidocs
78 Summary:        GNOME keyring API documentation
79 Summary(pl.UTF-8):   Dokumentacja API GNOME keyring
80 Group:          Documentation
81 Requires:       gtk-doc-common
82
83 %description apidocs
84 GNOME keyring API documentation.
85
86 %description apidocs -l pl.UTF-8
87 Dokumentacja API GNOME keyring.
88
89 %prep
90 %setup -q
91 #%patch0 -p0
92
93 %build
94 %{__libtoolize}
95 %{__aclocal}
96 %{__autoconf}
97 %{__automake}
98 %configure \
99         --enable-gtk-doc \
100         --enable-static \
101         --with-html-dir=%{_gtkdocdir}
102 %{__make}
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
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
116 %post   libs -p /sbin/ldconfig
117 %postun libs -p /sbin/ldconfig
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog NEWS README TODO
122 %attr(755,root,root) %{_bindir}/*
123 %attr(755,root,root) %{_libexecdir}/%{name}-ask
124
125 %files libs
126 %defattr(644,root,root,755)
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
133 %{_includedir}/*
134 %{_pkgconfigdir}/*.pc
135
136 %files static
137 %defattr(644,root,root,755)
138 %{_libdir}/lib*.a
139
140 %files apidocs
141 %defattr(644,root,root,755)
142 %{_gtkdocdir}/%{name}
This page took 0.153942 seconds and 2 git commands to generate.