Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04741a3baf | ||
|
|
c88841d6a5 | ||
|
|
da7b6a675d | ||
| 3fde8c732f |
5 changed files with 92 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
winwrangler-0.2.4.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
2014-08-19: Does not build anymore
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
2fde578a7a734f6acd9a117c794c8b0b winwrangler-0.2.4.tar.gz
|
||||
9
winwrangler.desktop
Normal file
9
winwrangler.desktop
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Desktop Entry]
|
||||
Name=WinWrangler
|
||||
GenericName=Window Layout Manager
|
||||
Comment=Perform advanced window layout
|
||||
Exec=winwrangler -t
|
||||
Icon=winwrangler
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=System;
|
||||
81
winwrangler.spec
Normal file
81
winwrangler.spec
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
Name: winwrangler
|
||||
Version: 0.2.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Small desktop daemon to perform advanced window manipulations
|
||||
|
||||
Group: System Environment/Daemons
|
||||
License: GPLv3
|
||||
URL: https://launchpad.net/winwrangler
|
||||
Source0: http://launchpad.net/winwrangler/0.2/%{version}/+download/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.desktop
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libgtkhotkey-devel >= 0.2.1, gettext, desktop-file-utils, intltool
|
||||
BuildRequires: libwnck-devel, gtk2-devel
|
||||
|
||||
%description
|
||||
Small desktop daemon to perform advanced window manipulations
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%find_lang %{name}
|
||||
|
||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||
#desktop-file-install --dir=%{buildroot}%{_sysconfdir}/xdg/autostart %{SOURCE1}
|
||||
|
||||
# Remove the docs installed by the package itself. Docs will be handled by the rpm %doc directive
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/winwrangler
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# ScriptletSnippet from Fedora Packaging on Icon Cache
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING HACKING NEWS README
|
||||
%{_bindir}/winwrangler
|
||||
%{_datadir}/winwrangler
|
||||
%{_datadir}/icons/hicolor/*/*/winwrangler.*
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
#%config %{_sysconfdir}/xdg/autostart/%{name}.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 4 2009 Mads Villadsen <maxx@krakoa.dk> - 0.2.4-1
|
||||
- Update to version 0.2.4 (adds spatial window switching)
|
||||
|
||||
* Fri Oct 2 2009 Mads Villadsen <maxx@krakoa.dk> - 0.2.3-4
|
||||
- Updated BuildRequires
|
||||
|
||||
* Sun Sep 27 2009 Mads Villadsen <maxx@krakoa.dk> - 0.2.3-3
|
||||
- Let rpm handle doc installation to get properly versioned doc dir
|
||||
|
||||
* Sat Sep 26 2009 Mads Villadsen <maxx@krakoa.dk> - 0.2.3-2
|
||||
- Add intltool to BuildRequires
|
||||
|
||||
* Tue Sep 22 2009 Mads Villadsen <maxx@krakoa.dk> - 0.2.3-1
|
||||
- Initial packaging
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue