]>
Commit | Line | Data |
---|---|---|
ec5fda0c | 1 | Summary: Fullscreen shutdown/reboot/logout menu |
d2045d3d | 2 | Summary(pl.UTF-8): Pełnoekranowe menu do zamykania/restartowania/wylogowywania |
ec5fda0c | 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 | |
ff090bb5 | 11 | Patch1: %{name}-bin.patch |
ec5fda0c | 12 | URL: http://code.google.com/p/closure/ |
13 | BuildRequires: GConf2-devel >= 2.14.0 | |
14 | BuildRequires: intltool | |
15 | BuildRequires: libglade2-devel >= 2.6 | |
16 | BuildRequires: librsvg-devel >= 2.16 | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: python-pycairo-devel >= 1.2 | |
ff090bb5 | 19 | BuildRequires: python-pygtk-devel >= 2:2.10 |
ec5fda0c | 20 | BuildRequires: python-gnome-desktop-devel >= 2.16 |
21 | BuildRequires: python-gnome-devel >= 2.16 | |
ff090bb5 JB |
22 | BuildRequires: rpmbuild(macros) >= 1.198 |
23 | Requires(post,preun): GConf2 >= 2.14.0 | |
ec5fda0c | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
30d3a60a | 27 | Closure is a written with eye candy in mine graphical |
ec5fda0c | 28 | lock/logout/reboot/shutdown menu. |
29 | ||
aab9b0d3 | 30 | %description -l pl.UTF-8 |
ff090bb5 JB |
31 | Closure to napisane z myślą o upiększeniach graficzne menu do |
32 | blokowania ekranu/wylogowywania/restartowania/wyłączania komputera. | |
ec5fda0c | 33 | |
34 | %prep | |
35 | %setup -q | |
36 | %patch0 -p1 | |
e55d2797 | 37 | %patch1 -p1 |
ec5fda0c | 38 | |
39 | %build | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT%{_bindir} | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %post | |
54 | %gconf_schema_install %{name}.schemas | |
55 | ||
56 | %preun | |
57 | %gconf_schema_uninstall %{name}.schemas | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS ChangeLog README TODO | |
62 | %{_sysconfdir}/gconf/schemas/closure.schemas | |
63 | %attr(755,root,root) %{_bindir}/* | |
64 | %{_pkgconfigdir}/closure.pc | |
65 | %{_desktopdir}/closure.desktop | |
66 | %{_datadir}/closure | |
67 | %dir %{py_sitescriptdir}/closure | |
68 | %{py_sitescriptdir}/closure/*.py[co] |