source: projects/specs/branches/6/s/simple-ccsm/simple-ccsm-vl.spec @ 2182

Revision 2182, 2.5 KB checked in by Takemikaduchi, 13 years ago (diff)

libXpm:create compat32 package, task-compiz: fix package version, others: new upstream release

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