78faa17
Name:           pekwm
069d4d4
Version:        0.1.18-rc1
069d4d4
Release:        1%{?dist}
78faa17
Summary:        A small and flexible window manager
78faa17
78faa17
Group:          User Interface/Desktops
78faa17
License:        GPLv2+
78faa17
URL:            http://www.pekwm.org/
78faa17
Source0:        http://www.pekwm.org/projects/pekwm/files/%{name}-%{version}.tar.bz2
78faa17
Patch0:         %{name}-0.1.15-menu.patch
78faa17
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
78faa17
78faa17
BuildRequires:  libX11-devel libpng-devel libXrandr-devel
78faa17
BuildRequires:  libXft-devel libXext-devel libXinerama-devel
78faa17
BuildRequires:  libXpm-devel libjpeg-devel libICE-devel libSM-devel
c582f8e
c582f8e
%description
e4c741b
Pekwm is a window manager that once up on a time was based on the aewm++ window
e4c741b
manager, but it has evolved enough that it no longer resembles aewm++ at all.
e4c741b
It has a much expanded feature-set, including window grouping (similar to ion,
e4c741b
pwm, or fluxbox), autoproperties, xinerama, keygrabber that supports keychains,
e4c741b
and much more.
e4c741b
ba949a3
* Lightweight and Unobtrusive, a window manager shouldn't be noticed.
ba949a3
* Very configurable, we all work and think in different ways.
ba949a3
* Automatic properties, for all the lazy people, make things appear as they
e4c741b
should when starting applications.
ba949a3
* Chainable Keygrabber, usability for everyone. 
c582f8e
c582f8e
%prep
c582f8e
%setup -q
78faa17
78faa17
# Exclude/replace menu apps that are not in Fedora or are not free software
e4c741b
%patch0 -p0 -b .orig
c582f8e
c582f8e
%build
e4c741b
%configure
c582f8e
make %{?_smp_mflags}
c582f8e
c582f8e
%install
e4c741b
rm -rf %{buildroot}
e4c741b
make install DESTDIR=%{buildroot} INSTALL="install -p"
e4c741b
e4c741b
# Create desktop file
e4c741b
mkdir -p %{buildroot}%{_datadir}/xsessions/
e4c741b
cat << EOF > %{buildroot}%{_datadir}/xsessions/%{name}.desktop
e4c741b
[Desktop Entry]
e4c741b
Name=PekWM
e4c741b
Comment=Very small and fast window manger
e4c741b
Exec=pekwm
e4c741b
TryExec=pekwm
e4c741b
Type=XSession
e4c741b
EOF
e4c741b
e4c741b
# Delete makefiles from contrib folder
e4c741b
find contrib/Makefile* -type f | xargs rm -rf || true
e4c741b
find contrib/lobo/Makefile* -type f | xargs rm -rf || true
e4c741b
e4c741b
# Rearrange the contents of contrib folder
e4c741b
mv contrib/lobo/* contrib/
e4c741b
rm -rf contrib/lobo
e4c741b
e4c741b
# Fix permissions to include scripts in %%doc
e4c741b
find contrib/pekwm_autoprop.pl -type f | xargs chmod 0644 || true
e4c741b
find contrib/pekwm_menu_config.pl -type f | xargs chmod 0644 || true
c582f8e
c582f8e
%clean
e4c741b
rm -rf %{buildroot}
c582f8e
c582f8e
%files
e4c741b
%defattr(-,root,root,-)
e4c741b
%doc AUTHORS ChangeLog ChangeLog.aewm++ ChangeLog.until-0.1.6 LICENSE NEWS README contrib/
e4c741b
%{_bindir}/%{name}
c582f8e
%config(noreplace) %{_sysconfdir}/%{name}/autoproperties
ba949a3
%config(noreplace) %{_sysconfdir}/%{name}/autoproperties_typerules
c582f8e
%config(noreplace) %{_sysconfdir}/%{name}/config
78faa17
%config(noreplace) %{_sysconfdir}/%{name}/config_system
e4c741b
%config(noreplace) %{_sysconfdir}/%{name}/keys
e4c741b
%config(noreplace) %{_sysconfdir}/%{name}/menu
c582f8e
%config(noreplace) %{_sysconfdir}/%{name}/mouse
78faa17
%config(noreplace) %{_sysconfdir}/%{name}/mouse_click
78faa17
%config(noreplace) %{_sysconfdir}/%{name}/mouse_sloppy
78faa17
%config(noreplace) %{_sysconfdir}/%{name}/mouse_system
c582f8e
%config(noreplace) %{_sysconfdir}/%{name}/vars
e4c741b
%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/start
e4c741b
%{_datadir}/%{name}/
e4c741b
%{_mandir}/man1/%{name}.*
e4c741b
%{_datadir}/xsessions/%{name}.desktop
c582f8e
c582f8e
%changelog
8688df2
* Wed Nov 22 2017 Luis Bazan <lbazan@fedoraproject.org> - 0.1.18-1
069d4d4
- New upstream version
069d4d4
f3d711d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.17-10
f3d711d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f3d711d
c7e50c1
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.17-9
c7e50c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c7e50c1
8227095
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.17-8
8227095
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8227095
2b0d878
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.17-7
2b0d878
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2b0d878
8a97df0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.17-6
8a97df0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8a97df0
c50b803
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.17-5
c50b803
- Rebuilt for GCC 5 C++11 ABI change
c50b803
319606b
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.17-4
319606b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
319606b
299a50f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.17-3
299a50f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
299a50f
488561f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.17-2
488561f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
488561f
f6dc3db
* Sun May 26 2013 Germán A. Racca <skytux@fedoraproject.org> - 0.1.17-1
f6dc3db
- Updated to new version
f6dc3db
d913f85
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.16-3
d913f85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d913f85
Adam Tkac 1a34628
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 0.1.16-2
Adam Tkac 1a34628
- rebuild due to "jpeg8-ABI" feature drop
Adam Tkac 1a34628
63ee268
* Tue Nov 20 2012 Germán A. Racca <skytux@fedoraproject.org> - 0.1.16-1
63ee268
- Updated to new version
63ee268
78faa17
* Mon Sep 24 2012 Germán A. Racca <skytux@fedoraproject.org> - 0.1.15-1
78faa17
- Updated to new version
78faa17
- Updated the menu patch
78faa17
ab43b04
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-3
ab43b04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ab43b04
53f90a6
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.14-2
53f90a6
- Rebuilt for c++ ABI breakage
53f90a6
1ed95a5
* Fri Jan 20 2012 Germán A. Racca <skytux@fedoraproject.org> 0.1.14-1
1ed95a5
- Updated to new version
1ed95a5
ba949a3
* Sun Aug 10 2011 Germán A. Racca <skytux@fedoraproject.org> 0.1.13-1
ba949a3
- Updated to new version
ba949a3
- Removed the old patch and applied a new one to fix a similar issue
ba949a3
- Removed indentation of list items in %%{description}
ab8892f
e4c741b
* Tue May 11 2010 German A. Racca <gracca@gmail.com> 0.1.12-4
e4c741b
- Fixed BuildRequires to compile from scratch
e4c741b
e4c741b
* Sun May 09 2010 German A. Racca <gracca@gmail.com> 0.1.12-3
e4c741b
- Deleted makefiles form contrib folder
e4c741b
- Rearranged contents in contrib folder
e4c741b
e4c741b
* Mon Apr 26 2010 German A. Racca <gracca@gmail.com> 0.1.12-2
e4c741b
- Added %%{dist} tag
e4c741b
- Fixed patch
e4c741b
- Added contrib stuff to docs
e4c741b
e4c741b
* Tue Apr 20 2010 German A. Racca <gracca@gmail.com> 0.1.12-1
e4c741b
- New version 0.1.12
e4c741b
- Fixed timestamp for tarball source
e4c741b
- Added BuildRoot tag
e4c741b
- Fixed BuildRequires
e4c741b
- Added menu patch
e4c741b
- Added INSTALL="install -p" to preserve timestamps
e4c741b
- Corrected type in xsession file
e4c741b
- Added ChangeLog.aewm++ and ChangeLog.until-0.1.6 to doc files
e4c741b
- Own directory %%{_datadir}/%%{name}
e4c741b
- Marqued 'start' as config file
e4c741b
e4c741b
* Sat Feb 20 2010 German A. Racca <gracca@gmail.com> 0.1.11-3
e4c741b
- Changed Summary
e4c741b
- Changed BuildRequires
e4c741b
- Modified desktop file
e4c741b
- Added exec attr to 'start' file
e4c741b
e4c741b
* Fri Jan 15 2010 German A. Racca <gracca@gmail.com> 0.1.11-2
e4c741b
- Added Source0 to spec file
e4c741b
e4c741b
* Thu Dec 17 2009 German A. Racca <gracca@gmail.com> 0.1.11-1
e4c741b
- Initial release of RPM package