[packages/devilspie2] new package
jajcus
jajcus at pld-linux.org
Wed Jun 20 14:58:07 CEST 2018
commit ab8b01d764f37c6c572b9e3dcd3c5c5c06e39424
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Wed Jun 20 14:57:45 2018 +0200
new package
devilspie2.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
diff --git a/devilspie2.spec b/devilspie2.spec
new file mode 100644
index 0000000..1212a31
--- /dev/null
+++ b/devilspie2.spec
@@ -0,0 +1,50 @@
+Summary: Devilspie2 - perform scripted actions on windows as they are created
+Name: devilspie2
+Version: 0.43
+Release: 1
+License: GPL v3
+Group: Applications
+Source0: http://download.savannah.nongnu.org/releases/devilspie2/%{name}_%{version}-src.tar.gz
+# Source0-md5: 26eed0b5b4af5c7e13c551eceaeab832
+URL: http://www.nongnu.org/devilspie2/
+BuildRequires: glib2-devel
+BuildRequires: gtk+3-devel
+BuildRequires: libwnck-devel
+BuildRequires: lua51-devel
+BuildRequires: pkgconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Devilspie2 is a program that detects windows as they are created, and
+performs scripted actions on them. The scripts are written in Lua,
+allowing a great deal of customisation.
+
+%prep
+%setup -q
+
+sed -i -e's,/usr/share/doc/devilspie2,%{_docdir}/%{name}-%{version},' devilspie2.1
+
+%build
+%{__make} \
+ PREFIX="%{_prefix}" \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ PREFIX="%{_prefix}" \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README* TODO
+%attr(755,root,root) %{_bindir}/devilspie2
+%{_mandir}/man1/devilspie2.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/devilspie2.git/commitdiff/ab8b01d764f37c6c572b9e3dcd3c5c5c06e39424
More information about the pld-cvs-commit
mailing list