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