]> git.pld-linux.org Git - packages/closure.git/blob - closure.spec
80e6a3ef32ce70f2b78e2d696bf4fdcd93f86aad
[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 Cloasure is a written with eye candy in mine graphical
27 lock/logout/reboot/shutdown menu.
28
29 %description -l pl
30 Cloasure to napisane z myślą o graficzne menu do blokowania
31 ekranu/wylogowywania/restartowania/wyłączania komputera.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37
38 %build
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_bindir}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post
53 %gconf_schema_install %{name}.schemas
54
55 %preun
56 %gconf_schema_uninstall %{name}.schemas
57
58 %files
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog README TODO
61 %{_sysconfdir}/gconf/schemas/closure.schemas
62 %attr(755,root,root) %{_bindir}/*
63 %{_pkgconfigdir}/closure.pc
64 %{_desktopdir}/closure.desktop
65 %{_datadir}/closure
66 %dir %{py_sitescriptdir}/closure
67 %{py_sitescriptdir}/closure/*.py[co]
This page took 0.030882 seconds and 2 git commands to generate.