Last active
January 1, 2016 10:19
-
-
Save danielkza/8130828 to your computer and use it in GitHub Desktop.
RPM spec file for devilspie2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: devilspie2 | |
Version: 0.31 | |
Release: 1%{?dist} | |
Summary: A window-matching utility | |
Group: User Interface/X | |
License: GPLv3+ | |
URL: http://www.gusnan.se/devilspie2 | |
Source0: http://www.gusnan.se/%{name}/download/%{name}_%{version}-src.tar.gz | |
BuildRequires: pkgconfig gtk3-devel lua-devel glib2-devel libwnck3-devel gettext | |
%global _hardened_build 1 | |
%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 a continuation of Ross Burtons project Devilspie, with the most | |
significant change that the symbolic expressions of that project are | |
replaced with a LUA interpreter. | |
%prep | |
%setup -q | |
%build | |
make PREFIX=%{_prefix} %{?_smp_mflags} | |
%install | |
rm -rf %{buildroot} | |
%make_install PREFIX=%{_prefix} | |
install -dm 755 %{buildroot}%{_mandir}/man1 | |
install -m 644 %{name}.1 -t %{buildroot}%{_mandir}/man1 | |
%find_lang %{name} | |
%clean | |
rm -rf %{buildroot} | |
%files -f %{name}.lang | |
%doc README INSTALL ChangeLog AUTHORS | |
%{_bindir}/%{name} | |
%{_mandir}/man1/* | |
%changelog | |
* Thu Dec 26 2013 Daniel Miranda <[email protected]> 0.31-1 | |
- Initial Packaging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment