]>
Commit | Line | Data |
---|---|---|
1 | Summary: Lockdown editor for GNOME | |
2 | Summary(pl.UTF-8): Edytor blokad dla GNOME | |
3 | Name: pessulus | |
4 | Version: 2.30.4 | |
5 | Release: 2 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/pessulus/2.30/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 3a66250af602b8baf378c9cf28b5b8ce | |
10 | URL: http://live.gnome.org/Pessulus | |
11 | BuildRequires: GConf2-devel >= 2.24.0 | |
12 | BuildRequires: autoconf >= 2.53 | |
13 | BuildRequires: automake >= 1:1.9 | |
14 | BuildRequires: gettext-devel | |
15 | BuildRequires: intltool >= 0.40.0 | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: python-gnome-desktop-devel >= 2.24.0 | |
18 | BuildRequires: python-gnome-devel >= 2.22.0 | |
19 | BuildRequires: python-pygtk-devel >= 2:2.12.0 | |
20 | BuildRequires: rpm-pythonprov | |
21 | BuildRequires: rpmbuild(macros) >= 1.311 | |
22 | Requires(post,postun): gtk-update-icon-cache | |
23 | Requires(post,postun): hicolor-icon-theme | |
24 | Requires: python-gnome-desktop >= 2.24.0 | |
25 | Requires: python-gnome-gconf >= 2.22.0 | |
26 | %pyrequires_eq python-modules | |
27 | # sr@Latn vs. sr@latin | |
28 | Conflicts: glibc-misc < 6:2.7 | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | Pessulus is a lockdown editor for GNOME, written in Python. Pessulus | |
33 | enables administrators to set mandatory settings in GConf. The users | |
34 | can not change these settings. Use of pessulus can be useful on | |
35 | computers that are open to use by everyone, e.g. in an internet cafe. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Pessulus jest napisanym w pythonie edytorem blokad dla GNOME. | |
39 | Umożliwia administratorowi wprowadzenie obowiązkowych ustawień w | |
40 | GConfie, które nie będą mogły być zmienione przez użytkownika. Użycie | |
41 | pessulusa może być przydatne na ogólnodostępnych komputerach, np. w | |
42 | kawiarenkach internetowych. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %{__intltoolize} | |
49 | %{__aclocal} | |
50 | %{__autoconf} | |
51 | %{__automake} | |
52 | %configure \ | |
53 | --disable-silent-rules | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | # not supported by glibc (as of 2.13-3) | |
63 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/bal | |
64 | ||
65 | %py_postclean | |
66 | ||
67 | %find_lang %{name} | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post | |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %postun | |
76 | %update_icon_cache hicolor | |
77 | ||
78 | %files -f %{name}.lang | |
79 | %defattr(644,root,root,755) | |
80 | %doc AUTHORS ChangeLog NEWS README TODO | |
81 | %attr(755,root,root) %{_bindir}/pessulus | |
82 | %dir %{py_sitescriptdir}/Pessulus | |
83 | %{py_sitescriptdir}/Pessulus/*.py[co] | |
84 | %{_iconsdir}/hicolor/*/*/* | |
85 | %{_datadir}/pessulus | |
86 | %{_desktopdir}/*.desktop |