LOGIN / SIGN UP
2 Author: Claes Nästén
Date: Wed Jul 14 10:17:45 +0200 2010
Subject: Update menu.in and pekwm.spec.in from fedora CVS, closing #272.

pekwm.spec.in
 
1 @@ -1,13 +1,17 @@
1 Name: pekwm
2 Version: <VERSION>
3 Release: 3
4 URL: http://www.pekwm.org/
5 Release: 4%{?dist}
6 Summary: A small and flexible window manager
7 License: GPLv2+
8
9 Group: User Interface/Desktops
10 Source0: http://www.pekwm.org/projects/pekwm/files/%{name}-%{version}.tar.bz2
11 License: GPLv2+
12 URL: http://www.pekwm.org/
13 Source0: http://www.pekwm.org/projects/pekwm/files/%{name}-%{version}.tar.gz
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16 BuildRequires: libX11-devel libpng-devel libXrandr-devel
17 BuildRequires: libXft-devel libXext-devel libXinerama-devel
18 BuildRequires: libXpm-devel libjpeg-devel libICE-devel libSM-devel
19
20 %description
21 Pekwm is a window manager that once up on a time was based on the aewm++ window
...  
35 @@ -31,26 +35,37 @@
35
36 %install
37 rm -rf %{buildroot}
34 make install DESTDIR=%{buildroot}
39 make install DESTDIR=%{buildroot} INSTALL="install -p"
40
41 # Create desktop file
42 mkdir -p %{buildroot}%{_datadir}/xsessions/
39 touch %{buildroot}%{_datadir}/xsessions/%{name}.desktop
44 cat << EOF > %{buildroot}%{_datadir}/xsessions/%{name}.desktop
45 [Desktop Entry]
46 Name=PekWM
47 Comment=Very small and fast window manger
48 Exec=pekwm
49 TryExec=pekwm
46 Type=Application
51 Type=XSession
52 EOF
53
54 # Delete makefiles from contrib folder
55 find contrib/Makefile* -type f | xargs rm -rf || true
56 find contrib/lobo/Makefile* -type f | xargs rm -rf || true
57
58 # Rearrange the contents of contrib folder
59 mv contrib/lobo/* contrib/
60 rm -rf contrib/lobo
61
62 # Fix permissions to include scripts in %%doc
63 find contrib/pekwm_autoprop.pl -type f | xargs chmod 0644 || true
64 find contrib/pekwm_menu_config.pl -type f | xargs chmod 0644 || true
65
66 %clean
67 rm -rf %{buildroot}
68
69 %files
66 %defattr(-, root, root)
67 %doc AUTHORS ChangeLog LICENSE NEWS README
72 %defattr(-,root,root,-)
73 %doc AUTHORS ChangeLog ChangeLog.aewm++ ChangeLog.until-0.1.6 LICENSE NEWS README contrib/
74 %{_bindir}/%{name}
75 %config(noreplace) %{_sysconfdir}/%{name}/autoproperties
76 %config(noreplace) %{_sysconfdir}/%{name}/config
...  
73 @@ -58,12 +73,36 @@
73 %config(noreplace) %{_sysconfdir}/%{name}/menu
74 %config(noreplace) %{_sysconfdir}/%{name}/mouse
75 %config(noreplace) %{_sysconfdir}/%{name}/vars
61 %attr(755,root,root) %{_sysconfdir}/%{name}/start
62 %{_datadir}/%{name}/*
78 %config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/start
79 %{_datadir}/%{name}/
80 %{_mandir}/man1/%{name}.*
81 %{_datadir}/xsessions/%{name}.desktop
82
83 %changelog
84 * Tue May 11 2010 German A. Racca <gracca@gmail.com> 0.1.12-4
85 - Fixed BuildRequires to compile from scratch
86
87 * Sun May 09 2010 German A. Racca <gracca@gmail.com> 0.1.12-3
88 - Deleted makefiles form contrib folder
89 - Rearranged contents in contrib folder
90
91 * Mon Apr 26 2010 German A. Racca <gracca@gmail.com> 0.1.12-2
92 - Added %%{dist} tag
93 - Fixed patch
94 - Added contrib stuff to docs
95
96 * Tue Apr 20 2010 German A. Racca <gracca@gmail.com> 0.1.12-1
97 - New version 0.1.12
98 - Fixed timestamp for tarball source
99 - Added BuildRoot tag
100 - Fixed BuildRequires
101 - Added menu patch
102 - Added INSTALL="install -p" to preserve timestamps
103 - Corrected type in xsession file
104 - Added ChangeLog.aewm++ and ChangeLog.until-0.1.6 to doc files
105 - Own directory %%{_datadir}/%%{name}
106 - Marqued 'start' as config file
107
108 * Sat Feb 20 2010 German A. Racca <gracca@gmail.com> 0.1.11-3
109 - Changed Summary
110 - Changed BuildRequires
...  

data/menu.in
 
10 @@ -10,7 +10,6 @@
10 Separator {}
11
12 Submenu = "Editors" {
13 Entry = "vi" { Actions = "Exec $TERM -title vi -e vi &" }
14 Entry = "vim" { Actions = "Exec $TERM -title vim -e vim &" }
15 Entry = "gvim" { Actions = "Exec gvim &" }
16 Entry = "Emacs" { Actions = "Exec emacs &" }
...  
27 @@ -28,29 +27,23 @@
27 Entry = "Amarok" { Actions = "Exec amarok &" }
28 Entry = "Quod Libet" { Actions = "Exec quodlibet &" }
29 Entry = "Xmms" { Actions = "Exec xmms &" }
31 Entry = "MPlayer" { Actions = "Exec gmplayer &" }
31 Entry = "MPlayer" { Actions = "Exec gnome-mplayer &" }
32 Entry = "Xine" { Actions = "Exec xine &" }
33 Entry = "xawtv" { Actions = "Exec xawtv &" }
35 Entry = "Ogle" { actions = "exec ogle &" }
35 Entry = "Totem" { actions = "exec totem &" }
36 Entry = "alsamixer" { Actions = "Exec $TERM -title alsamixer -e alsamixer &" }
37 }
38 Submenu = "Utils" {
40 Entry = "XCalc" { Actions = "Exec xcalc &" }
41 Entry = "XMan" { Actions = "Exec xman &" }
41 Entry = "Calculator" { Actions = "Exec gcalctool &" }
42 Entry = "Xpdf" { Actions = "Exec xpdf &" }
44 Entry = "GGv" { Actions = "Exec ggv &" }
44 Entry = "Evince" { Actions = "Exec evince &" }
45 Entry = "gucharmap" { Actions = "Exec gucharmap &" }
46 Entry = "Gkrellm" { Actions = "Exec gkrellm &" }
48 Entry = "Gkrellm2" { Actions = "Exec gkrellm2 &" }
49 Entry = "ROX Filer" { Actions = "Exec rox &" }
49 }
50 Submenu = "WWW" {
51 Entry = "Dillo" { Actions = "Exec dillo &" }
52 Entry = "Konqueror" { Actions = "Exec konqueror &" }
54 Entry = "Mozilla" { Actions = "Exec mozilla &" }
54 Entry = "Firefox" { Actions = "Exec firefox &" }
56 Entry = "Mozilla Firefox" { Actions = "Exec mozilla-firefox &" }
56 }
57 Submenu = "FTP" {
58 Entry = "gftp" { Actions = "Exec gftp &" }
...  
51 @@ -58,19 +51,17 @@
51 }
52 Submenu = "Communication" {
53 Entry = "Mutt" { Actions = "Exec $TERM -title mutt -e mutt &" }
61 Entry = "Pine" { Actions = "Exec $TERM -title pine -e pine &" }
55 Entry = "Alpine" { Actions = "Exec $TERM -title alpine -e alpine &" }
56 Entry = "Thunderbird" { Actions = "Exec thunderbird &" }
64 Entry = "Mozilla Thunderbird" { Actions = "Exec mozilla-thunderbird &" }
58 Entry = "Evolution" { Actions = "Exec evolution &" }
59 Entry = "KMail" { Actions = "Exec kmail &" }
67 Entry = "Gaim" { Actions = "Exec gaim &" }
61 Entry = "Pidgin" { Actions = "Exec pidgin &" }
62 Entry = "Irssi" { Actions = "Exec $TERM -title irssi -e irssi &" }
63 Entry = "Kopete" { Actions = "Exec kopete &" }
64 }
65 Submenu = "Office" {
66 Entry = "KOffice Workspace" { Actions = "Exec koshell &" }
67 Entry = "OpenOffice" { Actions = "Exec ooffice &" }
75 Entry = "StarOffice" { Actions = "Exec soffice &" }
69 }
70 Submenu = "Development" {
71 Entry = "Anjuta" { Actions = "Exec anjuta &" }
...