1 Summary: A password manager for the GNOME 2 desktop
2 Summary(pl.UTF-8): Zarządca haseł dla środowiska GNOME 2
7 Group: X11/Applications
8 Source0: ftp://oss.codepoet.no/revelation/%{name}-%{version}.tar.bz2
9 # Source0-md5: e2db4a2f00f59b18798d4453c778129f
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-zh_CN.patch
12 URL: http://oss.codepoet.no/revelation/
13 BuildRequires: GConf2-devel
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: cracklib-devel
17 BuildRequires: gettext-tools
18 BuildRequires: intltool
19 BuildRequires: libtool
20 BuildRequires: pkgconfig
21 BuildRequires: python-Crypto >= 1.9
22 BuildRequires: python-gnome-desktop-devel
23 BuildRequires: python-gnome-devel >= 2.12.4
24 BuildRequires: python-gnome-extras-devel >= 2.0
25 BuildRequires: python-gnome-ui >= 2.12.4
26 BuildRequires: python-libxml2 >= 2.0.0
27 BuildRequires: python-pygtk-devel >= 2.12.4
28 BuildRequires: rpm-pythonprov
29 BuildRequires: rpmbuild(macros) >= 1.197
30 Requires(post,postun): desktop-file-utils
31 Requires(post,postun): shared-mime-info
32 Requires(post,preun): GConf2
33 Requires: hicolor-icon-theme
34 Requires: python-Crypto >= 1.9
35 Requires: python-PyXML
36 Requires: python-gnome >= 2.12.4
37 Requires: python-gnome-desktop-applet >= 2.14.0
38 Requires: python-gnome-gconf >= 2.12.4
39 Requires: python-gnome-vfs >= 2.12.4
40 Requires: python-libxml2 >= 2.0.0
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 Revelation is a password manager for the GNOME 2 desktop. It organizes
45 accounts in a tree structure, and stores them as AES-encrypted XML
48 %description -l pl.UTF-8
49 Revelation jest zarządcą haseł dla środowiska GNOME 2. Wyświetla konta
50 w postaci drzewa, a dane przechowuje w zakodowanych plikach XML.
56 mv po/zh.po po/zh_CN.po
64 --disable-schemas-install \
65 --disable-desktop-update \
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
74 DESTDIR=$RPM_BUILD_ROOT
76 rm -f $RPM_BUILD_ROOT%{py_sitedir}/%{name}/*.py
77 rm -f $RPM_BUILD_ROOT%{py_sitedir}/%{name}/datahandler/*.py
79 install data/icons/48x48/revelation.png $RPM_BUILD_ROOT%{_pixmapsdir}
84 rm -rf $RPM_BUILD_ROOT
87 %gconf_schema_install revelation.schemas
88 %gconf_schema_install revelation-applet.schemas
89 %update_desktop_database_post
91 /usr/bin/update-mime-database %{_datadir}/mime ||:
94 %gconf_schema_uninstall revelation.schemas
95 %gconf_schema_uninstall revelation-applet.schemas
98 %update_desktop_database_postun
101 /usr/bin/update-mime-database %{_datadir}/mime
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog README
107 %attr(755,root,root) %{_bindir}/*
108 %attr(755,root,root) %{_libdir}/revelation-applet
110 %{_datadir}/mime/packages/revelation.xml
111 %{_desktopdir}/*.desktop
112 %{_iconsdir}/hicolor/16x16/apps/*.png
113 %{_iconsdir}/hicolor/24x24/apps/*.png
114 %{_iconsdir}/hicolor/32x32/apps/*.png
115 %{_iconsdir}/hicolor/48x48/apps/*.png
116 %{_iconsdir}/hicolor/48x48/mimetypes/*.png
117 %{_libdir}/bonobo/servers/GNOME_RevelationApplet.server
120 %dir %{py_sitedir}/%{name}
121 %dir %{py_sitedir}/%{name}/datahandler
122 %dir %{py_sitedir}/%{name}/bundle
123 %attr(755,root,root) %{py_sitedir}/%{name}/*.so
124 %{py_sitedir}/%{name}/*.py[oc]
125 %{py_sitedir}/%{name}/datahandler/*.py[co]
126 %{py_sitedir}/%{name}/bundle/*.py[co]
128 %{_sysconfdir}/gconf/schemas/revelation.schemas
129 %{_sysconfdir}/gconf/schemas/revelation-applet.schemas