]>
Commit | Line | Data |
---|---|---|
48182a08 RT |
1 | %define _rel 071103git |
2 | %define _name fusion-icon | |
3 | Summary: small program to control your GL Desktop | |
4 | Summary(pl.UTF-8): mały program do kontroli Pulpitu | |
5 | Name: compiz-%{_name} | |
6 | Version: 5.2 | |
7 | Release: 0.1%{_rel} | |
8 | Epoch: 1 | |
9 | License: GPL v2+ | |
10 | Group: X11/Window Managers/Tools | |
11 | #Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2 | |
12 | Source0: %{_name}-%{_rel}.tar.bz2 | |
13 | # Source0-md5: 7cf51276a0fb33a357f921e3f320b86f | |
14 | URL: http://beryl-project.org/ | |
3bdd10f8 | 15 | BuildRequires: python-devel |
48182a08 | 16 | BuildRequires: rpmbuild(macros) >= 1.311 |
b0d15329 | 17 | BuildRequires: rpm-pythonprov |
48182a08 RT |
18 | Requires(post,postun): gtk+2 |
19 | Requires(post,postun): hicolor-icon-theme | |
20 | Requires: compiz >= 0.5.1 | |
8ae5451f | 21 | Requires: python-compizconfig |
48182a08 RT |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Compiz Fusion Icon is a small program written in python which lets you | |
27 | control your GL Desktop it handles your different decorators | |
28 | (non-GL/GL) and configurators. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Compiz Fusion Icon jest małym programem napisanym w pythonie, który | |
32 | pozwala na kontrolę pulpitu GL. Pozwala na przełączanie się między | |
33 | różnymi dekoracjami i konfigurację. | |
34 | ||
35 | %prep | |
36 | %setup -q -n %{_name} | |
37 | ||
38 | %build | |
39 | %{__python} setup.py build | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT | |
46 | ||
47 | %py_comp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
48 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %attr(755,root,root) %{_bindir}/fusion-icon | |
56 | %{_desktopdir}/fusion-icon.desktop | |
57 | %dir %{py_sitescriptdir}/FusionIcon | |
58 | %dir %{py_sitescriptdir}/FusionIcon/interface_gtk | |
59 | %dir %{py_sitescriptdir}/FusionIcon/interface_qt4 | |
60 | %{py_sitescriptdir}/FusionIcon/*.py* | |
61 | %{py_sitescriptdir}/FusionIcon/interface_gtk/*.py* | |
62 | %{py_sitescriptdir}/FusionIcon/interface_qt4/*.py* | |
63 | %{_iconsdir}/hicolor/*x*/apps/fusion-icon.png | |
64 | %{_iconsdir}/hicolor/scalable/apps/fusion-icon.svg |