- cleanup, BR for gconf* macros
[packages/closure.git] / closure.spec
CommitLineData
ec5fda0c 1Summary: Fullscreen shutdown/reboot/logout menu
ff090bb5 2Summary(pl.UTF8): Pełnoekranowe menu do zamykania/restartowania/wylogowywania
ec5fda0c 3Name: closure
4Version: 0.1.3
5Release: 0.1
6License: GPL v2
7Group: X11/Applications
8Source0: http://closure.googlecode.com/files/%{name}-%{version}.tar.gz
9# Source0-md5: cb32ce710c4a7bc4535eb8daf567b6f6
10Patch0: %{name}-gconf.patch
ff090bb5 11Patch1: %{name}-bin.patch
ec5fda0c 12URL: http://code.google.com/p/closure/
13BuildRequires: GConf2-devel >= 2.14.0
14BuildRequires: intltool
15BuildRequires: libglade2-devel >= 2.6
16BuildRequires: librsvg-devel >= 2.16
17BuildRequires: pkgconfig
18BuildRequires: python-pycairo-devel >= 1.2
ff090bb5 19BuildRequires: python-pygtk-devel >= 2:2.10
ec5fda0c 20BuildRequires: python-gnome-desktop-devel >= 2.16
21BuildRequires: python-gnome-devel >= 2.16
ff090bb5
JB
22BuildRequires: rpmbuild(macros) >= 1.198
23Requires(post,preun): GConf2 >= 2.14.0
ec5fda0c 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
30d3a60a 27Closure is a written with eye candy in mine graphical
ec5fda0c 28lock/logout/reboot/shutdown menu.
29
aab9b0d3 30%description -l pl.UTF-8
ff090bb5
JB
31Closure to napisane z myślą o upiększeniach graficzne menu do
32blokowania 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
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT%{_bindir}
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -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.069562 seconds and 4 git commands to generate.