diff --git a/.gitignore b/.gitignore index e69de29..168a9ef 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/devilspie2_0.38-src.tar.gz diff --git a/devilspie2.spec b/devilspie2.spec new file mode 100644 index 0000000..311eb29 --- /dev/null +++ b/devilspie2.spec @@ -0,0 +1,48 @@ +Name: devilspie2 +Version: 0.38 +Release: 2%{?dist} +Summary: A window-matching utility + +Group: User Interface/X +License: GPLv3+ +URL: http://www.gusnan.se/devilspie2 +Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}_%{version}-src.tar.gz + +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(lua) +BuildRequires: pkgconfig(libwnck-3.0) +BuildRequires: gettext + +%description +Devilspie2 is a window matching utility, allowing the user to perform scripted +actions on windows as they are created. For example you can script a terminal +program to always be positioned at a specific screen position, or position a +window on a specific workspace. It is based on the program Devilspie by Ross +Burton. + +%prep +%setup -q +# preserve timestamps +sed -i 's/^\tinstall\s\+/\0-p /' Makefile + +%build +make %{?_smp_mflags} + +%install +make install DESTDIR=%{buildroot} PREFIX=%{_prefix} + +%find_lang %{name} + +%files -f %{name}.lang +%{_bindir}/devilspie2 +%{_mandir}/man1/devilspie2.1.gz +%doc README README.translators ChangeLog COPYING AUTHORS GPL3.txt + +%changelog +* Thu Dec 18 2014 Michal Minar 0.38-2 +- Fix license field and ship license file. +- Using pkgconfig for build dependencies. + +* Tue Nov 18 2014 Michal Minar 0.38-1 +- Initial release. + diff --git a/sources b/sources index e69de29..b19790e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4bb0b45a7d8e0e4494ff272217a9d778 devilspie2_0.38-src.tar.gz