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