Compare commits
23 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5913a415b9 | ||
|
|
63d7a58d9d | ||
|
|
543ecf72af | ||
|
|
807625d463 | ||
|
|
a85f4177a1 | ||
|
|
02b2162923 |
||
|
|
aebf5c9361 |
||
|
|
0f5856aeff |
||
|
|
a7c344471b | ||
|
|
82e8f4ba34 | ||
|
|
1b223e8fc7 | ||
|
|
ae52f4a3bd | ||
|
|
1e351301cc | ||
|
|
1ba0760dac | ||
|
|
de2389aaa5 | ||
|
|
fc474a991b | ||
|
|
dc7c780403 | ||
|
|
98757a1dee | ||
|
|
a21117f416 | ||
|
|
cd8c7045f2 | ||
|
|
4cf5f885dd | ||
|
|
6952975bee | ||
|
|
ba1e744a96 |
4 changed files with 1 additions and 101 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
|||
ailurus-10.07.8.tar.gz
|
||||
ailurus-10.08.2.tar.gz
|
||||
/ailurus-10.10.3.tar.gz
|
||||
96
ailurus.spec
96
ailurus.spec
|
|
@ -1,96 +0,0 @@
|
|||
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%endif
|
||||
|
||||
Name: ailurus
|
||||
Version: 10.10.3
|
||||
Release: 1%{?dist}
|
||||
Summary: A simple application installer and GNOME tweaker
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
URL: http://ailurus.googlecode.com/
|
||||
Source: http://ailurus.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
BuildRequires: python2-devel python-distutils-extra intltool
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildArch: noarch
|
||||
# The automatic dependency consists of python and rpmlib only. It is insufficient.
|
||||
Requires: polkit pygtk2 notify-python vte rpm-python pygobject2 dbus-python wget unzip gnome-python2-gnomekeyring
|
||||
|
||||
%description
|
||||
Ailurus is a simple application installer and GNOME tweaker.
|
||||
|
||||
Features:
|
||||
* Help users learn some Linux skills
|
||||
* Install some nice applications
|
||||
* Display basic hardware information
|
||||
* Clean YUM cache
|
||||
* Backup and recover YUM status
|
||||
* Change GNOME settings
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT
|
||||
desktop-file-install \
|
||||
--delete-original \
|
||||
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
||||
%find_lang %{name} --with-gnome
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/PolicyKit/policy/cn.ailurus.policy
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/ailurus
|
||||
%{_datadir}/applications/ailurus.desktop
|
||||
%{_datadir}/ailurus/
|
||||
%{_datadir}/icons/hicolor/*/apps/ailurus.png
|
||||
%{_datadir}/dbus-1/system-services/cn.ailurus.service
|
||||
%{_datadir}/polkit-1/actions/cn.ailurus.policy
|
||||
%{_mandir}/man1/ailurus.1*
|
||||
%{_sysconfdir}/dbus-1/system.d/cn.ailurus.conf
|
||||
%{python_sitelib}/ailurus/
|
||||
%{python_sitelib}/ailurus*.egg-info
|
||||
|
||||
%changelog
|
||||
* Tue Oct 12 2010 Liang Suilong <liangsuilong@gmail.com> 10.10.3-1
|
||||
- Upstream to 10.10.3
|
||||
|
||||
* Sat Jul 31 2010 Liang Suilong <liangsuilong@gmail.com> 10.07.8-1
|
||||
- Upstream to 10.07.8
|
||||
|
||||
* Wed Jul 28 2010 Liang Suilong <liangsuilong@gmail.com> 10.07.7-1
|
||||
- Upstream to 10.07.7
|
||||
|
||||
* Wed Jul 28 2010 Liang Suilong <liangsuilong@gmail.com> 10.07.6-2
|
||||
- Fix the bug of spec
|
||||
|
||||
* Tue Jul 27 2010 Liang Suilong <liangsuilong@gmail.com> 10.07.6-1
|
||||
- Upstream to 10.07.6
|
||||
|
||||
* Fri Jul 23 2010 Liang Suilong <liangsuilong@gmail.com> 10.07.4-1
|
||||
- Upstream to 10.07.4
|
||||
|
||||
* Mon Jul 12 2010 Homer Xing <homer.xing@gmail.com> 10.06.93-0
|
||||
- Initial package
|
||||
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Doesn't install: https://bugzilla.redhat.com/show_bug.cgi?id=1739898
|
||||
2
sources
2
sources
|
|
@ -1,2 +0,0 @@
|
|||
257722fd90fec2100124e7505914cb98 ailurus-10.08.2.tar.gz
|
||||
41b5c618e2ddadbeb2f454a9b822229d ailurus-10.10.3.tar.gz
|
||||
Reference in a new issue