rpms/x-tile/F-12 x-tile.spec,1.2,1.3

melmorabity melmorabity at fedoraproject.org
Wed Jun 2 00:01:41 UTC 2010


Author: melmorabity

Update of /cvs/pkgs/rpms/x-tile/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20241

Modified Files:
	x-tile.spec 
Log Message:
Import from devel


Index: x-tile.spec
===================================================================
RCS file: /cvs/pkgs/rpms/x-tile/F-12/x-tile.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- x-tile.spec	15 May 2010 03:52:43 -0000	1.2
+++ x-tile.spec	2 Jun 2010 00:01:41 -0000	1.3
@@ -1,14 +1,12 @@
 Name:           x-tile
-Version:        1.4
-Release:        3%{?dist}
+Version:        1.5
+Release:        2%{?dist}
 Summary:        A GNOME panel applet to tile windows
 
 Group:          User Interface/Desktops
 License:        GPLv2+
 URL:            http://open.vitaminap.it/en/x_tile.htm
 Source0:        http://open.vitaminap.it/software/%{name}_%{version}.tar.gz
-# Fix the Icon entry in the desktop file
-Patch0:         x-tile-1.4-desktop.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -26,18 +24,14 @@ for programmers referring to documentati
 
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1 -b .desktop
-chmod a-x {glade,linux}/*
+%setup -q
 
 # Remove shebangs
-pushd modules
-for file in cons.py core.py globs.py support.py; do
+for file in modules/*.py; do
   sed -i.orig -e 1d $file && \
   touch -r $file.orig $file && \
   rm $file.orig
 done
-popd
 
 
 %build
@@ -46,20 +40,23 @@ popd
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -Dp -m 0755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
-install -Dp -m 0644  linux/%{name}.server $RPM_BUILD_ROOT%{_prefix}/lib/bonobo/servers/%{name}.server
-install -Dp -m 0644  linux/%{name}.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.svg
-install -Dp -m 0644 linux/%{name}.desktop $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
+install -Dpm 0755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+install -Dpm 0644  linux/%{name}.server $RPM_BUILD_ROOT%{_prefix}/lib/bonobo/servers/%{name}.server
+install -Dpm 0644  linux/%{name}.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.svg
+install -Dpm 0644 linux/%{name}.desktop $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
+
 pushd glade
 for file in *.{glade,png,svg}; do
-  install -Dp -m 0644 $file $RPM_BUILD_ROOT%{_datadir}/%{name}/glade/$file
+  install -Dpm 0644 $file $RPM_BUILD_ROOT%{_datadir}/%{name}/glade/$file
 done
 popd
+
 pushd modules
 for file in *.py; do
 install -Dp -m 0644 $file $RPM_BUILD_ROOT%{_datadir}/%{name}/modules/$file
 done
 popd
+
 install -d $RPM_BUILD_ROOT%{_datadir}/locale
 cp -a locale/{fr,it,ru,zh_TW} $RPM_BUILD_ROOT%{_datadir}/locale
 
@@ -74,7 +71,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
-%doc license readme linux/multiple-monitors-readme
+%doc license readme
 %{_bindir}/*
 %{_datadir}/%{name}
 %{_datadir}/applications/*.desktop
@@ -83,6 +80,13 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jun  2 2010 ELMORABITY Mohamed <melmorabity at fedoraproject.org> 1.5-2
+- Bump release
+
+* Wed Jun  2 2010 ELMORABITY Mohamed <melmorabity at fedoraproject.org> 1.5-1
+- Update to 1.5
+- Drop x-tile-1.4-desktop.patch patches
+
 * Fri May 14 2010 ELMORABITY Mohamed <melmorabity at fedoraproject.org> 1.4-3
 - Remove useless Requires python-psutil
 - Correct Icon entry in desktop file



More information about the scm-commits mailing list