| 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
|
| ... |
|