rpms/ccsm/devel ccsm-removeshebangs.patch, NONE, 1.1 ccsm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mohd Izhar Firdaus Ismail (izhar)
fedora-extras-commits at redhat.com
Wed Oct 24 12:55:31 UTC 2007
Author: izhar
Update of /cvs/pkgs/rpms/ccsm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28609/devel
Modified Files:
.cvsignore sources
Added Files:
ccsm-removeshebangs.patch ccsm.spec
Log Message:
Initial import
ccsm-removeshebangs.patch:
--- NEW FILE ccsm-removeshebangs.patch ---
diff -ruN ccsm-0.6.0/ccm/Conflicts.py ccsm-0.6.0.new/ccm/Conflicts.py
--- ccsm-0.6.0/ccm/Conflicts.py 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/ccm/Conflicts.py 2007-10-21 14:39:38.000000000 +0800
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff -ruN ccsm-0.6.0/ccm/Constants.py.in ccsm-0.6.0.new/ccm/Constants.py.in
--- ccsm-0.6.0/ccm/Constants.py.in 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/ccm/Constants.py.in 2007-10-21 14:39:28.000000000 +0800
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff -ruN ccsm-0.6.0/ccm/Pages.py ccsm-0.6.0.new/ccm/Pages.py
--- ccsm-0.6.0/ccm/Pages.py 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/ccm/Pages.py 2007-10-21 14:39:54.000000000 +0800
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff -ruN ccsm-0.6.0/ccm/Settings.py ccsm-0.6.0.new/ccm/Settings.py
--- ccsm-0.6.0/ccm/Settings.py 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/ccm/Settings.py 2007-10-21 14:40:03.000000000 +0800
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff -ruN ccsm-0.6.0/ccm/Utils.py ccsm-0.6.0.new/ccm/Utils.py
--- ccsm-0.6.0/ccm/Utils.py 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/ccm/Utils.py 2007-10-21 14:40:42.000000000 +0800
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff -ruN ccsm-0.6.0/ccm/Widgets.py ccsm-0.6.0.new/ccm/Widgets.py
--- ccsm-0.6.0/ccm/Widgets.py 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/ccm/Widgets.py 2007-10-21 14:40:50.000000000 +0800
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff -ruN ccsm-0.6.0/ccm/Window.py ccsm-0.6.0.new/ccm/Window.py
--- ccsm-0.6.0/ccm/Window.py 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/ccm/Window.py 2007-10-21 14:40:59.000000000 +0800
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# This program is free software; you can redistribute it and/or
diff -ruN ccsm-0.6.0/setup.py ccsm-0.6.0.new/setup.py
--- ccsm-0.6.0/setup.py 2007-10-16 01:40:09.000000000 +0800
+++ ccsm-0.6.0.new/setup.py 2007-10-21 14:49:45.000000000 +0800
@@ -91,7 +91,7 @@
if not prefix and "PREFIX" in os.environ:
prefix = os.environ["PREFIX"]
if not prefix or not len (prefix):
- prefix = "/usr/local"
+ prefix = "/usr"
if sys.argv[1] in ("install", "uninstall") and len (prefix):
sys.argv += ["--prefix", prefix]
--- NEW FILE ccsm.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: ccsm
Version: 0.6.0
Release: 3%{?dist}
Summary: Plugin and configuration tool - Compiz Fusion Project
Group: User Interface/Desktops
License: GPLv2+
URL: http://www.opencompositing.org
Source0: http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch101: ccsm-removeshebangs.patch
# libdrm is not available on these arches
ExcludeArch: s390 s390x ppc64
BuildArch: noarch
BuildRequires: python-devel, gettext, desktop-file-utils
Requires: compizconfig-python = %{version} , libcompizconfig = %{version}
Requires: pygtk2 >= 2.10, python-sexy
%description
The Compiz Project brings 3D desktop visual effects that improve
usability of the X Window System and provide increased productivity
though plugins and themes contributed by the community giving a
rich desktop experience.
This package contains a gui configuration tool to configure Compiz
plugins and the composite window manager.
%prep
%setup -q
%patch101 -p1 -b .ccsm-removeshebangs
%build
#configure
#make %{?_smp_mflags}
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
#make install DESTDIR=$RPM_BUILD_ROOT
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
desktop-file-install --vendor="fedora" \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
--remove-category="Compiz" \
--delete-original \
$RPM_BUILD_ROOT%{_datadir}/applications/ccsm.desktop
%find_lang %{name}
%post
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
%postun
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING VERSION
%{_bindir}/ccsm
%{_datadir}/applications/fedora-ccsm.desktop
%{_datadir}/ccsm/
%{_datadir}/icons/hicolor/scalable/apps/ccsm.svg
%{_datadir}/pixmaps/ccsm.png
%{python_sitelib}/ccm/
%changelog
* Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus at gmail.com> 0.6.0-3
- fixed issue with remove shebangs patch
* Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus at gmail.com> 0.6.0-1
- official upstream 0.6.0 tarball release
- owns directory
- removed shebangs from ccm
- fixed desktop entry
* Fri Aug 19 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus at gmail.com> 0.6.0-0.3.20071018gita7fa7d
- removed unneeded BuildReqs
* Thu Aug 18 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus at gmail.com> 0.6.0-0.2.20071018gita7fa7d
- 0.6.0 branch
* Sun Jun 30 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus at gmail.com> 0.0.1-0.3.20070630git
- 20070630git
- Added BuildReq gettext
- Added Require compizconfig-python
- added require pygtk2
* Sun Jun 24 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus at gmail.com> 0.0.1-20070622git
- Initial specfile, borrowing descriptions from Trevino ubuntu debs
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ccsm/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 Oct 2007 16:48:05 -0000 1.1
+++ .cvsignore 24 Oct 2007 12:54:58 -0000 1.2
@@ -0,0 +1 @@
+ccsm-0.6.0.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ccsm/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 Oct 2007 16:48:05 -0000 1.1
+++ sources 24 Oct 2007 12:54:58 -0000 1.2
@@ -0,0 +1 @@
+3506549c13088d5e7dbbeaf2bea24fa2 ccsm-0.6.0.tar.bz2
More information about the fedora-extras-commits
mailing list