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

« back to all changes in this revision

Viewing changes to knutclient.spec.mandrake.9.2

  • 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.8.5
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
 
 
17
 
%build
18
 
CFLAGS="$RPM_OPT_FLAGS"                 \
19
 
CXXFLAGS="$RPM_OPT_FLAGS"               \
20
 
./configure     --prefix=%{_prefix}     \
21
 
                --libdir=%{_libdir}     \
22
 
                --enable-mt             \
23
 
                --disable-rpath
24
 
%make
25
 
 
26
 
%install
27
 
make install-strip DESTDIR=%buildroot
28
 
install -d %buildroot/%_menudir
29
 
cat > %buildroot/%_menudir/%{name} <<EOF
30
 
?package(%{name}):\
31
 
command="/usr/bin/knutclient"\
32
 
title="KNutClient"\
33
 
icon="knutclient.png"\
34
 
longtitle="A GUI interface for UPS system NUT"\
35
 
needs="X11"\
36
 
section="Applications/Monitoring"
37
 
EOF
38
 
%find_lang %{name} 
39
 
 
40
 
%clean
41
 
rm -rf %{buildroot}
42
 
 
43
 
%post
44
 
%{update_menus}
45
 
 
46
 
%postun
47
 
%{clean_menus} 
48
 
 
49
 
%files -f %name.lang
50
 
%defattr(-,root,root)
51
 
%doc README AUTHORS ChangeLog INSTALL TODO COPYING 
52
 
%{_bindir}/knutclient
53
 
%{_menudir}/%{name}
54
 
%{_datadir}/applnk/Applications/knutclient.desktop
55
 
%dir %{_datadir}/apps/knutclient
56
 
%{_datadir}/apps/knutclient/knutclientui.rc
57
 
%{_docdir}/HTML/*/knutclient
58
 
%{_iconsdir}/??color/??x??/apps/knutclient.png
59
 
%{_iconsdir}/??color/??x??/apps/knutclienterr.png
60
 
 
61
 
%changelog
62
 
* Fri Dec 19 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.7.4-1mdk
63
 
- New release
64
 
 
65
 
* Mon Nov 10 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.7.3-3mdk
66
 
- Correction changelog
67
 
 
68
 
* Mon Nov 10 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.7.3-2mdk
69
 
- Correction Buildrequires
70
 
 
71
 
* Fri Nov 07 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.7.3-1mdk
72
 
- new release
73
 
 
74
 
* Fri Jul 25 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.6.3-1mdk
75
 
- New release
76
 
 
77
 
* Fri Jul 18 2003 Laurent MONTEL <lmontel@mandrakesoft.com> 0.6.0-3mdk
78
 
- Rebuild
79
 
 
80
 
* Wed Apr 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.6.0-2mdk
81
 
- buildrequires
82
 
 
83
 
* Wed Jan 08 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.6.0-1mdk
84
 
- 0.6.0
85
 
 
86
 
* Tue Aug 27 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.5.0-2mdk
87
 
- New release
88
 
 
89
 
* Mon Aug 19 2002 Laurent Culioli <laurent@pschit.net> 0.4.1-4mdk
90
 
- rebuild with gcc3.2
91
 
 
92
 
* Sat Jul 27 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.4.1-3mdk
93
 
- Mandrake adaptions
94
 
- Creation of patch for qt3 detection in configure
95
 
- Creation of french po file