]>
Commit | Line | Data |
---|---|---|
bd3f727f | 1 | # |
2 | # TODO: | |
3 | # - pl | |
4 | # | |
5 | Summary: Lockdown editor for GNOME | |
6 | #Summary(pl): write me! | |
7 | Name: pessulus | |
8 | Version: 0.10.1 | |
9 | Release: 1 | |
10 | License: GPL v2 | |
11 | Group: Applications | |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/pessulus/0.10/%{name}-%{version}.tar.gz | |
13 | # Source0-md5: dad5445c56ad67af9e1c4b7d494667e2 | |
14 | Patch0: %{name}-desktop.patch | |
15 | URL: http://www.gnome.org/~vuntz/pessulus/ | |
16 | BuildRequires: GConf2-devel >= 2.14.0 | |
17 | BuildRequires: automake | |
18 | BuildRequires: intltool >= 0.35 | |
19 | BuildRequires: python-gnome-devel >= 2.15.2 | |
20 | %pyrequires_eq python-modules | |
21 | Requires: python-gnome >= 2.15.2 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | pessulus is a lockdown editor for GNOME, written in python. | |
26 | ||
27 | pessulus enables administrators to set mandatory settings in GConf. The | |
28 | users can not change these settings. | |
29 | ||
30 | Use of pessulus can be useful on computers that are open to use by | |
31 | everyone, e.g. in an internet cafe. | |
32 | ||
33 | #%description -l pl | |
34 | # write me | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | %patch0 -p1 | |
39 | ||
40 | %build | |
41 | cp -f /usr/share/automake/config.sub . | |
42 | %configure | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | rm -f $RPM_BUILD_ROOT%{py_sitedir}/Pessulus/*.py | |
52 | ||
53 | %find_lang %{name} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files -f %{name}.lang | |
59 | %defattr(644,root,root,755) | |
60 | %doc AUTHORS ChangeLog NEWS README TODO | |
61 | %attr(755,root,root) %{_bindir}/* | |
62 | %dir %{py_sitedir}/Pessulus | |
63 | %{py_sitedir}/Pessulus/*.py[co] | |
64 | %{_datadir}/pessulus | |
65 | %{_desktopdir}/*.desktop |