]>
Commit | Line | Data |
---|---|---|
bd3f727f | 1 | Summary: Lockdown editor for GNOME |
cb898f17 | 2 | Summary(pl.UTF-8): Edytor blokad dla GNOME |
bd3f727f | 3 | Name: pessulus |
5d256bd9 | 4 | Version: 2.30.4 |
0f3252a8 | 5 | Release: 3 |
bd3f727f | 6 | License: GPL v2 |
7a33d681 | 7 | Group: X11/Applications |
8036d913 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/pessulus/2.30/%{name}-%{version}.tar.bz2 |
5d256bd9 | 9 | # Source0-md5: 3a66250af602b8baf378c9cf28b5b8ce |
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 |
f70b0048 | 14 | BuildRequires: gettext-tools |
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 | 21 | BuildRequires: rpmbuild(macros) >= 1.311 |
1ae84501 AF |
22 | Requires(post,postun): gtk-update-icon-cache |
23 | Requires(post,postun): hicolor-icon-theme | |
c0c0f0ba MB |
24 | Requires: python-gnome-desktop >= 2.24.0 |
25 | Requires: python-gnome-gconf >= 2.22.0 | |
e5f73839 | 26 | %pyrequires_eq python-modules |
07e12419 MB |
27 | # sr@Latn vs. sr@latin |
28 | Conflicts: glibc-misc < 6:2.7 | |
bd3f727f | 29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
fa7fa56c JB |
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. | |
bd3f727f | 36 | |
2692d404 | 37 | %description -l pl.UTF-8 |
4b9ec879 | 38 | Pessulus jest napisanym w pythonie edytorem blokad dla GNOME. |
2692d404 JR |
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 | |
fa7fa56c | 42 | kawiarenkach internetowych. |
bd3f727f | 43 | |
44 | %prep | |
45 | %setup -q | |
bd3f727f | 46 | |
47 | %build | |
7a33d681 MB |
48 | %{__intltoolize} |
49 | %{__aclocal} | |
50 | %{__autoconf} | |
51 | %{__automake} | |
8036d913 MB |
52 | %configure \ |
53 | --disable-silent-rules | |
bd3f727f | 54 | %{__make} |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
75d3f614 JB |
62 | # not supported by glibc (as of 2.13-3) |
63 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/bal | |
c0c0f0ba MB |
64 | |
65 | %py_postclean | |
bd3f727f | 66 | |
67 | %find_lang %{name} | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
c0c0f0ba MB |
72 | %post |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %postun | |
76 | %update_icon_cache hicolor | |
77 | ||
bd3f727f | 78 | %files -f %{name}.lang |
79 | %defattr(644,root,root,755) | |
80 | %doc AUTHORS ChangeLog NEWS README TODO | |
c0c0f0ba MB |
81 | %attr(755,root,root) %{_bindir}/pessulus |
82 | %dir %{py_sitescriptdir}/Pessulus | |
83 | %{py_sitescriptdir}/Pessulus/*.py[co] | |
84 | %{_iconsdir}/hicolor/*/*/* | |
bd3f727f | 85 | %{_datadir}/pessulus |
86 | %{_desktopdir}/*.desktop |