1 | Name: simple-ccsm |
---|
2 | Version: 0.8.2 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Simple Compiz Config Settings Manager |
---|
5 | Summary(ja): シンプルな Compiz 設定マネージャ |
---|
6 | |
---|
7 | Group: User Interface/Desktops |
---|
8 | URL: http://www.compiz-fusion.org/ |
---|
9 | License: GPL |
---|
10 | |
---|
11 | Source: %{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | Source10: %{name}-0.7.8-ja.po |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildArch: noarch |
---|
17 | BuildRequires: compiz-devel |
---|
18 | BuildRequires: compizconfig-python |
---|
19 | BuildRequires: pygtk2-devel |
---|
20 | BuildRequires: intltool |
---|
21 | BuildRequires: desktop-file-utils |
---|
22 | |
---|
23 | %description |
---|
24 | Simple Compiz Config Settings Manager |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | シンプルな Compiz 設定マネージャ |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | |
---|
32 | cp -f %{SOURCE10} po/ja.po |
---|
33 | |
---|
34 | %build |
---|
35 | python setup.py build --prefix=%{_prefix} |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT |
---|
40 | |
---|
41 | desktop-file-install \ |
---|
42 | --vendor="" \ |
---|
43 | --remove-category="Compiz" \ |
---|
44 | --add-category="Settings" \ |
---|
45 | --add-category="DesktopSettings" \ |
---|
46 | --dir %{buildroot}%{_datadir}/applications \ |
---|
47 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
48 | |
---|
49 | %find_lang %{name} |
---|
50 | |
---|
51 | rm -f $RPM_BUILD_ROOT%{python_sitelib}/simple_ccsm-*-py2.5.egg-info |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | %post |
---|
57 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
58 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
59 | fi |
---|
60 | |
---|
61 | %postun |
---|
62 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
63 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
64 | fi |
---|
65 | |
---|
66 | %files -f %{name}.lang |
---|
67 | %defattr(-,root,root) |
---|
68 | %{_bindir}/%{name} |
---|
69 | %dir %{_datadir}/%{name} |
---|
70 | %{_datadir}/%{name}/%{name}.glade |
---|
71 | %dir %{_datadir}/%{name}/images |
---|
72 | %{_datadir}/%{name}/images/*.png |
---|
73 | %{_datadir}/%{name}/images/*.svg |
---|
74 | %dir %{_datadir}/%{name}/profiles |
---|
75 | %{_datadir}/%{name}/profiles/*.profile |
---|
76 | %{_datadir}/icons/hicolor/*/apps/%{name}.png |
---|
77 | %{_datadir}/icons/hicolor/*/apps/%{name}.svg |
---|
78 | %{_datadir}/applications/%{name}.desktop |
---|
79 | |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-2 |
---|
83 | - change Group to User Interface/Desktops |
---|
84 | |
---|
85 | * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1 |
---|
86 | - new upstream release |
---|
87 | |
---|
88 | * Sun Oct 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2 |
---|
89 | - new upstream release |
---|
90 | |
---|
91 | * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1 |
---|
92 | - new upstream release |
---|
93 | |
---|
94 | * Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1 |
---|
95 | - initial build for Vine Linux |
---|
96 | |
---|