]>
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 | |
f43a715a | 7 | Release: 1.%{_rel}.1 |
48182a08 RT |
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 |
b0d15329 | 16 | BuildRequires: rpm-pythonprov |
17aeb208 | 17 | BuildRequires: rpmbuild(macros) >= 1.311 |
48182a08 RT |
18 | Requires(post,postun): gtk+2 |
19 | Requires(post,postun): hicolor-icon-theme | |
20 | Requires: compiz >= 0.5.1 | |
17aeb208 | 21 | Requires: compizconfig-backend-kconfig |
8ae5451f | 22 | Requires: python-compizconfig |
8e8102d9 | 23 | Requires: xorg-app-xvinfo |
f43a715a | 24 | Suggests: python-PyQt4 |
48182a08 RT |
25 | BuildArch: noarch |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Compiz Fusion Icon is a small program written in python which lets you | |
30 | control your GL Desktop it handles your different decorators | |
31 | (non-GL/GL) and configurators. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Compiz Fusion Icon jest małym programem napisanym w pythonie, który | |
17aeb208 | 35 | pozwala na kontrolę pulpitu GL. Pozwala na przełączanie się |
36 | między różnymi dekoracjami i konfigurację. | |
48182a08 RT |
37 | |
38 | %prep | |
39 | %setup -q -n %{_name} | |
40 | ||
41 | %build | |
42 | %{__python} setup.py build | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT | |
49 | ||
50 | %py_comp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
51 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/fusion-icon | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %attr(755,root,root) %{_bindir}/fusion-icon | |
59 | %{_desktopdir}/fusion-icon.desktop | |
60 | %dir %{py_sitescriptdir}/FusionIcon | |
61 | %dir %{py_sitescriptdir}/FusionIcon/interface_gtk | |
62 | %dir %{py_sitescriptdir}/FusionIcon/interface_qt4 | |
63 | %{py_sitescriptdir}/FusionIcon/*.py* | |
64 | %{py_sitescriptdir}/FusionIcon/interface_gtk/*.py* | |
65 | %{py_sitescriptdir}/FusionIcon/interface_qt4/*.py* | |
66 | %{_iconsdir}/hicolor/*x*/apps/fusion-icon.png | |
67 | %{_iconsdir}/hicolor/scalable/apps/fusion-icon.svg |