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