~ubuntu-branches/ubuntu/utopic/knutclient/utopic

« back to all changes in this revision

Viewing changes to specs/knutclient.spec.mandrake.10.1

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Quette
  • Date: 2008-06-19 11:09:50 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619110950-izi2q2vd0dhwlpym
Tags: 0.9.4-1
* New upstream release
* Merge back Ubuntu changes
* debian/knutclient.menu: update section to fix lintian warnings
* debian/watch: update the pattern for matching new releases (Closes: #471247)
* debian/control:
  - move Homepage to the field and update the URL
  - update Standards-Version to 3.8.0
  - update debhelper Build-Depends to 5.0.51
  - add automake and autoconf to Build-Depends
  - update NUT URL
* debian/rules:
  - fix lintian warning debian-rules-ignores-make-clean-error
  - add a commented call to dh_icons

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Summary:        NUT GUI Interface
 
2
Name:           knutclient
 
3
Version:        0.9.3
 
4
Release:        1
 
5
License:        GPL
 
6
Url:            http://www.alo.cz/knutclient
 
7
Group:          Monitoring
 
8
Source0:        ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/%{name}-%{version}.tar.gz
 
9
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
10
 
 
11
%description
 
12
Knutclient is a GUI interface for UPS system NUT
 
13
 
 
14
%prep
 
15
%setup
 
16
sh admin/cvs.sh cvs
 
17
 
 
18
%build
 
19
CFLAGS="$RPM_OPT_FLAGS"                 \
 
20
CXXFLAGS="$RPM_OPT_FLAGS"               \
 
21
./configure     --prefix=%{_prefix}     \
 
22
                --libdir=%{_libdir}     \
 
23
                --enable-mt             \
 
24
                --disable-rpath
 
25
%make
 
26
 
 
27
%install
 
28
make install-strip DESTDIR=%buildroot
 
29
install -d %buildroot/%_menudir
 
30
cat > %buildroot/%_menudir/%{name} <<EOF
 
31
?package(%{name}):\
 
32
command="/usr/bin/knutclient"\
 
33
title="KNutClient"\
 
34
icon="knutclient.png"\
 
35
longtitle="A GUI interface for UPS system NUT"\
 
36
needs="X11"\
 
37
section="Applications/Monitoring"
 
38
EOF
 
39
%find_lang %{name} 
 
40
 
 
41
%clean
 
42
rm -rf %{buildroot}
 
43
 
 
44
%post
 
45
%{update_menus}
 
46
 
 
47
%postun
 
48
%{clean_menus} 
 
49
 
 
50
%files -f %name.lang
 
51
%defattr(-,root,root)
 
52
%doc README AUTHORS ChangeLog INSTALL TODO COPYING 
 
53
%{_bindir}/knutclient
 
54
%{_menudir}/%{name}
 
55
%{_datadir}/applnk/Utilities/knutclient.desktop
 
56
%dir %{_datadir}/apps/knutclient
 
57
%{_datadir}/apps/knutclient/knutclientui.rc
 
58
%{_docdir}/HTML/*/knutclient
 
59
%{_iconsdir}/??color/??x??/apps/knutclient.png
 
60
%{_iconsdir}/??color/??x??/apps/knutclienterr.png
 
61
%{_iconsdir}/??color/??x??/apps/knutclientconn.png
 
62
%dir %{_datadir}/apps/knutclient/pics/knc_conn.png
 
63
%dir %{_datadir}/apps/knutclient/pics/knc_error.png
 
64
%dir %{_datadir}/apps/knutclient/pics/knc_main.png
 
65
 
 
66
%changelog
 
67
* Fri Dec 19 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.7.4-1mdk
 
68
- New release
 
69
 
 
70
* Mon Nov 10 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.7.3-3mdk
 
71
- Correction changelog
 
72
 
 
73
* Mon Nov 10 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.7.3-2mdk
 
74
- Correction Buildrequires
 
75
 
 
76
* Fri Nov 07 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.7.3-1mdk
 
77
- new release
 
78
 
 
79
* Fri Jul 25 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.6.3-1mdk
 
80
- New release
 
81
 
 
82
* Fri Jul 18 2003 Laurent MONTEL <lmontel@mandrakesoft.com> 0.6.0-3mdk
 
83
- Rebuild
 
84
 
 
85
* Wed Apr 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.6.0-2mdk
 
86
- buildrequires
 
87
 
 
88
* Wed Jan 08 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.6.0-1mdk
 
89
- 0.6.0
 
90
 
 
91
* Tue Aug 27 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.5.0-2mdk
 
92
- New release
 
93
 
 
94
* Mon Aug 19 2002 Laurent Culioli <laurent@pschit.net> 0.4.1-4mdk
 
95
- rebuild with gcc3.2
 
96
 
 
97
* Sat Jul 27 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.4.1-3mdk
 
98
- Mandrake adaptions
 
99
- Creation of patch for qt3 detection in configure
 
100
- Creation of french po file