Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6545bdb577 | ||
|
|
dc21000d12 | ||
|
|
946423481b | ||
| 5dceb6d259 |
6 changed files with 92 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
winwrangler-0.2.4.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: winwrangler
|
||||
# $Id$
|
||||
NAME := winwrangler
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -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