]>
Commit | Line | Data |
---|---|---|
ec5fda0c | 1 | Summary: Fullscreen shutdown/reboot/logout menu |
2 | Summary(pl.UTF8):Pełnoekranowe menu do zamykania/restartowania/wylogowywania | |
3 | Name: closure | |
4 | Version: 0.1.3 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications | |
8 | Source0: http://closure.googlecode.com/files/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: cb32ce710c4a7bc4535eb8daf567b6f6 | |
10 | Patch0: %{name}-gconf.patch | |
11 | URL: http://code.google.com/p/closure/ | |
12 | BuildRequires: GConf2-devel >= 2.14.0 | |
13 | BuildRequires: intltool | |
14 | BuildRequires: libglade2-devel >= 2.6 | |
15 | BuildRequires: librsvg-devel >= 2.16 | |
16 | BuildRequires: pkgconfig | |
17 | BuildRequires: python-pycairo-devel >= 1.2 | |
18 | BuildRequires: python-pygtk-devel >= 2.10 | |
19 | BuildRequires: python-gnome-desktop-devel >= 2.16 | |
20 | BuildRequires: python-gnome-devel >= 2.16 | |
21 | Requires(pre,post): GConf2 >= 2.14.0 | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Cloasure is a written with eye candy in mine graphical | |
26 | lock/logout/reboot/shutdown menu. | |
27 | ||
28 | %description -l pl | |
29 | Cloasure to napisane z myślą o graficzne menu do blokowania | |
30 | ekranu/wylogowywania/restartowania/wyłączania komputera. | |
31 | ||
32 | %prep | |
33 | %setup -q | |
34 | %patch0 -p1 | |
35 | ||
36 | %build | |
37 | %configure | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT%{_bindir} | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %post | |
51 | %gconf_schema_install %{name}.schemas | |
52 | ||
53 | %preun | |
54 | %gconf_schema_uninstall %{name}.schemas | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc AUTHORS ChangeLog README TODO | |
59 | %{_sysconfdir}/gconf/schemas/closure.schemas | |
60 | %attr(755,root,root) %{_bindir}/* | |
61 | %{_pkgconfigdir}/closure.pc | |
62 | %{_desktopdir}/closure.desktop | |
63 | %{_datadir}/closure | |
64 | %dir %{py_sitescriptdir}/closure | |
65 | %{py_sitescriptdir}/closure/*.py[co] |