]> git.pld-linux.org Git - SPECS.git/blob - indicator-jenkins.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / indicator-jenkins.spec
1 # TODO
2 # - desktop file
3 # - xdg-autostart file?
4 %define         bzrrev  49
5 %define         rel             1
6 Summary:        Jenkins job status indicator
7 Name:           indicator-jenkins
8 Version:        1.0
9 Release:        0.bzr%{bzrrev}.%{rel}
10 License:        GPL v3
11 Group:          Applications
12 # bzr branch lp:indicator-jenkins
13 # tar czf indicator-jenkins-1.0-bzr49.tar.gz --exclude-vcs indicator-jenkins
14 Source0:        %{name}-%{version}-bzr%{bzrrev}.tar.gz
15 # Source0-md5:  3bbc617e1b64db92add8a871c6d591fe
16 URL:            http://tech-foo.blogspot.co.nz/2012/02/introducing-indicator-jenkins.html
17 Requires:       libappindicator-gtk3
18 Requires:       python-jenkins
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _appdir %{_datadir}/%{name}
23
24 %description
25 An indicator that allows you to keep an eye on jenkins jobs.
26
27 %prep
28 %setup -q -n %{name}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
33 cp -a indicator-jenkins images *.py *.ui $RPM_BUILD_ROOT%{_appdir}
34 ln -s %{_appdir}/indicator-jenkins $RPM_BUILD_ROOT%{_bindir}
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc VERSION COPYING
42 %attr(755,root,root) %{_bindir}/indicator-jenkins
43 %dir %{_appdir}
44 %attr(755,root,root) %{_appdir}/indicator-jenkins
45 %{_appdir}/*.py
46 %{_appdir}/settings.ui
47 %{_appdir}/images
This page took 0.954949 seconds and 3 git commands to generate.