4395296850f6b6dda1783500dbef50b3f7c501be
[packages/closure.git] / closure.spec
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 Patch1:     %{name}-bin.patch
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
19 BuildRequires:  python-pygtk-devel >= 2.10
20 BuildRequires:  python-gnome-desktop-devel >= 2.16
21 BuildRequires:  python-gnome-devel >= 2.16
22 Requires(pre,post):     GConf2 >= 2.14.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Closure is a written with eye candy in mine graphical
27 lock/logout/reboot/shutdown menu.
28
29 %description -l pl.UTF-8
30 Closure to napisane z myślą o upiększeniach graficzne
31 menu do blokowania ekranu/wylogowywania/restartowania/
32 /wyłączania komputera.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
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]
This page took 0.044692 seconds and 2 git commands to generate.