]>
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 | |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
25 | Compiz Fusion Icon is a small program written in python which lets you | |
26 | control your GL Desktop it handles your different decorators | |
27 | (non-GL/GL) and configurators. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Compiz Fusion Icon jest małym programem napisanym w pythonie, który | |
31 | pozwala na kontrolę pulpitu GL. Pozwala na przełączanie się między | |
32 | różnymi dekoracjami i konfigurację. | |
33 | ||
34 | %prep | |
35 | %setup -q -n %{_name} | |
36 | ||
37 | %build | |
38 | %{__python} setup.py build | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT | |
45 | ||
46 | %py_comp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
47 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %attr(755,root,root) %{_bindir}/fusion-icon | |
55 | %{_desktopdir}/fusion-icon.desktop | |
56 | %dir %{py_sitescriptdir}/FusionIcon | |
57 | %dir %{py_sitescriptdir}/FusionIcon/interface_gtk | |
58 | %dir %{py_sitescriptdir}/FusionIcon/interface_qt4 | |
59 | %{py_sitescriptdir}/FusionIcon/*.py* | |
60 | %{py_sitescriptdir}/FusionIcon/interface_gtk/*.py* | |
61 | %{py_sitescriptdir}/FusionIcon/interface_qt4/*.py* | |
62 | %{_iconsdir}/hicolor/*x*/apps/fusion-icon.png | |
63 | %{_iconsdir}/hicolor/scalable/apps/fusion-icon.svg |