]> git.pld-linux.org Git - packages/pessulus.git/blob - pessulus.spec
751cf7867d412c2cc0558bf511019bcc7fc2125a
[packages/pessulus.git] / pessulus.spec
1 Summary:        Lockdown editor for GNOME
2 Summary(pl):    Edytor blokad dla GNOME
3 Name:           pessulus
4 Version:        0.10.4
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/pessulus/0.10/%{name}-%{version}.tar.gz
9 # Source0-md5:  bd3a3c8e022669f6120ef469c5601359
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/~vuntz/pessulus/
12 BuildRequires:  GConf2-devel >= 2.14.0
13 BuildRequires:  automake
14 BuildRequires:  intltool >= 0.35
15 BuildRequires:  python-gnome-devel >= 2.15.4
16 %pyrequires_eq  python-modules
17 Requires:       python-gnome >= 2.15.4
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Pessulus is a lockdown editor for GNOME, written in Python. Pessulus
22 enables administrators to set mandatory settings in GConf. The users
23 can not change these settings. Use of pessulus can be useful on
24 computers that are open to use by everyone, e.g. in an internet cafe.
25
26 %description -l pl
27 Pessulus jest napisanym w pythonie edytorem blokad dla GNOME.
28 Umo¿liwia administratorowi wprowadzenie obowi±zkowych ustawieñ w
29 GConfie, które nie bêd± mog³y byæ zmienione przez u¿ytkownika. U¿ycie
30 pessulusa mo¿e byæ przydatne na ogólnodostêpnych komputerach, np. w
31 kawiarenkach internetowych.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 cp -f /usr/share/automake/config.sub .
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 rm -f $RPM_BUILD_ROOT%{py_sitedir}/Pessulus/*.py
49
50 %find_lang %{name}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files -f %{name}.lang
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog NEWS README TODO
58 %attr(755,root,root) %{_bindir}/*
59 %dir %{py_sitedir}/Pessulus
60 %{py_sitedir}/Pessulus/*.py[co]
61 %{_datadir}/pessulus
62 %{_desktopdir}/*.desktop
This page took 0.036589 seconds and 2 git commands to generate.