]> git.pld-linux.org Git - packages/pessulus.git/blob - pessulus.spec
7609f4167eb2248378448d354fa57e679a18912b
[packages/pessulus.git] / pessulus.spec
1 Summary:        Lockdown editor for GNOME
2 Summary(pl.UTF-8):      Edytor blokad dla GNOME
3 Name:           pessulus
4 Version:        2.24.0
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications
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
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake >= 1:1.7
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 %pyrequires_eq  python-modules
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
25 # sr@Latn vs. sr@latin
26 Conflicts:      glibc-misc < 6:2.7
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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.
34
35 %description -l pl.UTF-8
36 Pessulus jest napisanym w pythonie edytorem blokad dla GNOME.
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
40 kawiarenkach internetowych.
41
42 %prep
43 %setup -q
44
45 %build
46 %{__intltoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__automake}
50 %configure
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 # not supported
60 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/bal
61
62 %py_postclean
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %update_icon_cache hicolor
71
72 %postun
73 %update_icon_cache hicolor
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README TODO
78 %attr(755,root,root) %{_bindir}/pessulus
79 %dir %{py_sitescriptdir}/Pessulus
80 %{py_sitescriptdir}/Pessulus/*.py[co]
81 %{_iconsdir}/hicolor/*/*/*
82 %{_datadir}/pessulus
83 %{_desktopdir}/*.desktop
This page took 0.082908 seconds and 3 git commands to generate.