Overview
nitrotasks.spec
Added
x
1
2
+#
3
+# spec file for package nitrotasks
4
+#
5
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
6
+# Copyright (c) 2012 Benjamin Denisart <p.drouand@gmail.com>
7
+#
8
+# All modifications and additions to the file contributed by third parties
9
+# remain the property of their copyright owners, unless otherwise agreed
10
+# upon. The license for this file, and modifications and additions to the
11
+# file, is the same license as for the pristine package itself (unless the
12
+# license for the pristine package is not an Open Source License, in which
13
+# case the license is the MIT License). An "Open Source License" is a
14
+# license that conforms to the Open Source Definition (Version 1.9)
15
+# published by the Open Source Initiative.
16
+
17
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
18
+#
19
+
20
+
21
+Name: nitrotasks
22
+Version: 1.4.6
23
+Release: 24.1
24
+Summary: An eyecandy task managment tool
25
+License: BSD
26
+Group: Productivity/Office/Organizers
27
+Url: http://nitrotasks.com/
28
+Source0: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
29
+Source99: %{name}-rpmlintrc
30
+BuildRequires: fdupes
31
+BuildRequires: python-devel
32
+BuildRequires: python-distutils-extra
33
+BuildRequires: intltool
34
+Requires: python-gtk
35
+Requires: python-webkitgtk
36
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
37
+%{py_requires}
38
+BuildArch: noarch
39
+# Synchronization support
40
+Recommends: dropbox
41
+
42
+%description
43
+Neat utility to organize tasks using lists, prioritization, add notes, due dates; supports drag and drop and instant search
44
+
45
+%prep
46
+%setup -q -n %{name}-%{version}
47
+
48
+%build
49
+python setup.py build
50
+
51
+%install
52
+sed -i 's/Unity,\ //' nitrotasks/NitrotasksWindow.py
53
+#sed -i '/launcher/d' nitrotasks/NitrotasksWindow.py
54
+sed -i 's/launcher\ =.*//' %{name}/NitrotasksWindow.py
55
+
56
+%{__python} setup.py install --optimize=1 --prefix=%{_prefix} --skip-build --root=%{buildroot} --install-lib=%python_sitelib
57
+find "%{buildroot}/" -type f -not -name nitrotasks -exec chmod 644 '{}' \;
58
+find $RPM_BUILD_ROOT/ -type f -iname '*.la' -exec rm {} \;
59
+find $RPM_BUILD_ROOT/ -type f -iname '*.a' -exec rm {} \;
60
+find $RPM_BUILD_ROOT/ -type f -iname '*.pyc' -exec rm {} \;
61
+find $RPM_BUILD_ROOT/ -type f -iname '*.pyo' -exec rm {} \;
62
+rm %{buildroot}/%{_datadir}/%{name}/media/app/AUTHORS
63
+rm %{buildroot}/%{_datadir}/%{name}/media/app/COPYING
64
+rm %{buildroot}/%{_datadir}/%{name}/media/app/ChangeLog
65
+rm %{buildroot}/%{_datadir}/%{name}/media/app/TODO
66
+rm -rf $RPM_BUILD_ROOT/%{_datadir}/%{name}/media/app/.sass-cache
67
+%fdupes %{buildroot}%{_prefix}
68
+
69
+%files
70
+%defattr(-,root,root,-)
71
+%doc AUTHORS COPYING
72
+%{python_sitelib}/*
73
+%{_bindir}/%{name}
74
+%defattr(644,root,root)
75
+%{_datadir}/*
76
+
77
+%changelog
78
+* Sun Jul 15 2012 p.drouand@gmail.com
79
+- Initial release v1.4.6
80
nitrotasks-1.4.6.tar.gz
Added
nitrotasks-rpmlintrc
Added
12
1
2
+# Nitrotasks has not man pages
3
+addFilter("nitrotasks.* no-manual-page-for-binary")
4
+
5
+# Nitrotasks doesn't respect HSB : usr/share/nitrotasks contains python scripts and ruby executable file
6
+addFilter("nitrotasks.* non-executable-script")
7
+
8
+# Nitrotasks package contains a file who doesn't respect python naming standard policy
9
+addFilter("nitrotasks.* python-naming-policy-not-applied")
10
+
11
+
12
Refresh
Refresh
Login required, please
login
or
signup
in order to comment
Request History
posophe created request over 11 years ago
A powerfull and lightweight tasksmanager. I don't know where put this soft, essentials could be a good choice
posophe revoked request over 12 years ago