diff options
Diffstat (limited to 'specs')
-rw-r--r-- | specs/Makefile.am | 6 | ||||
-rw-r--r-- | specs/knutclient.spec.fedora.10 | 58 | ||||
-rw-r--r-- | specs/knutclient.spec.fedora.5 | 56 | ||||
-rw-r--r-- | specs/knutclient.spec.fedora.8 | 60 | ||||
-rw-r--r-- | specs/knutclient.spec.fedora.9 | 60 | ||||
-rw-r--r-- | specs/knutclient.spec.mandrake.10.1 | 100 | ||||
-rw-r--r-- | specs/knutclient.spec.mandriva.2006 | 111 | ||||
-rwxr-xr-x | specs/knutclient.spec.mandriva.2009 | 124 |
8 files changed, 575 insertions, 0 deletions
diff --git a/specs/Makefile.am b/specs/Makefile.am new file mode 100644 index 0000000..ec594c1 --- /dev/null +++ b/specs/Makefile.am @@ -0,0 +1,6 @@ + +METASOURCES = AUTO +kncdatadir = specs +noinst_HEADERS = knutclient.spec.fedora.10 knutclient.spec.fedora.5 \ + knutclient.spec.fedora.8 knutclient.spec.fedora.9 knutclient.spec.mandrake.10.1 \ + knutclient.spec.mandriva.2006 knutclient.spec.mandriva.2009 diff --git a/specs/knutclient.spec.fedora.10 b/specs/knutclient.spec.fedora.10 new file mode 100644 index 0000000..f5b8f47 --- /dev/null +++ b/specs/knutclient.spec.fedora.10 @@ -0,0 +1,58 @@ +Summary: NUT GUI Interface +Name: knutclient +Version: 0.9.5 +Release: 1 +License: GPL +Vendor: Daniel Prynych <[email protected]> +Url: http://www.knut.noveradsl.cz/knutclient +Packager: Daniel Prynych <[email protected]> +Group: Applications/System +Prefix: /usr +Source: knutclient-0.9.5.tar.gz +BuildRoot: %{_tmppath}/build-root-%{name} + +%description +Knutclient is a GUI interface for UPS system NUT + +%prep +%setup +make -f Makefile.cvs +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} $LOCALFLAGS + +%build +# Setup for parallel builds +numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` +if [ "$numprocs" = "0" ]; then + numprocs=1 +fi + +make -j$numprocs + +%install +export QA_RPATHS=$[ 0x0001|0x0010 ] +make install-strip DESTDIR=$RPM_BUILD_ROOT + +cd $RPM_BUILD_ROOT + +#mkdir -p usr/share/applications/ +#cp -a usr/share/applnk/Applications/knutclient.desktop usr/share/applications/ +#rm -rf usr/share/applnk + +# as defattr point to root,root this will not work +#chown desktop.desktop kde-knutclient.desktop + +cd $RPM_BUILD_ROOT + +find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} +find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} +find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name} +rm -rf ../file.list.%{name} + + +%files -f ../file.list.%{name} +%defattr(-,root,root,0755) + diff --git a/specs/knutclient.spec.fedora.5 b/specs/knutclient.spec.fedora.5 new file mode 100644 index 0000000..35a89e9 --- /dev/null +++ b/specs/knutclient.spec.fedora.5 @@ -0,0 +1,56 @@ +Summary: NUT GUI Interface +Name: knutclient +Version: 0.9.5 +Release: 1 +License: GPL +Vendor: Daniel Prynych <[email protected]> +Url: http://www.knut.noveradsl.cz/knutclient +Packager: Daniel Prynych <[email protected]> +Group: Applications/System +Prefix: /usr +Source: knutclient-0.9.5.tar.gz +BuildRoot: %{_tmppath}/build-root-%{name} + +%description +Knutclient is a GUI interface for UPS system NUT + +%prep +%setup +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} $LOCALFLAGS + +%build +# Setup for parallel builds +numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` +if [ "$numprocs" = "0" ]; then + numprocs=1 +fi + +make -j$numprocs + +%install +make install-strip DESTDIR=$RPM_BUILD_ROOT + +cd $RPM_BUILD_ROOT + +#mkdir -p usr/share/applications/ +#cp -a usr/share/applnk/Applications/knutclient.desktop usr/share/applications/ +#rm -rf usr/share/applnk + +# as defattr point to root,root this will not work +#chown desktop.desktop kde-knutclient.desktop + +cd $RPM_BUILD_ROOT + +find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} +find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} +find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name} +rm -rf ../file.list.%{name} + + +%files -f ../file.list.%{name} +%defattr(-,root,root,0755) + diff --git a/specs/knutclient.spec.fedora.8 b/specs/knutclient.spec.fedora.8 new file mode 100644 index 0000000..9603e05 --- /dev/null +++ b/specs/knutclient.spec.fedora.8 @@ -0,0 +1,60 @@ +Summary: NUT GUI Interface +Name: knutclient +Version: 0.9.5 +Release: 1 +License: GNU GPL +Vendor: Daniel Prynych <[email protected]> +Url: http://www.knut.noveradsl.cz/knutclient +Packager: Daniel Prynych <[email protected]> +Group: Applications/System +Prefix: /usr +Source: knutclient-0.9.5.tar.gz +BuildRoot: %{_tmppath}/build-root-%{name} + +%description +Knutclient is a GUI interface for UPS system NUT + +%prep +%setup +make -f Makefile.cvs +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} $LOCALFLAGS + +%build +# Setup for parallel builds +numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` +if [ "$numprocs" = "0" ]; then + numprocs=1 +fi + +make -j$numprocs + +%install +make install-strip DESTDIR=$RPM_BUILD_ROOT + +cd $RPM_BUILD_ROOT + +#mkdir -p var/lib/menu/kde/Applications/Extras/Accessories/ +#mkdir -p usr/share/applications/ +#cp -a usr/share/applnk/Utilities/knutclient.desktop usr/share/applications/ +#rm -rf usr/share/applnk + +#cd var/lib/menu/kde/Applications/Extras/Accessories/ +#ln -s /usr/share/applications/knutclient.desktop kde-knutclient.desktop +# as defattr point to root,root this will not work +#chown desktop.desktop kde-knutclient.desktop + +cd $RPM_BUILD_ROOT + +find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} +find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} +find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name} +rm -rf ../file.list.%{name} + + +%files -f ../file.list.%{name} +%defattr(-,root,root,0755) + diff --git a/specs/knutclient.spec.fedora.9 b/specs/knutclient.spec.fedora.9 new file mode 100644 index 0000000..9603e05 --- /dev/null +++ b/specs/knutclient.spec.fedora.9 @@ -0,0 +1,60 @@ +Summary: NUT GUI Interface +Name: knutclient +Version: 0.9.5 +Release: 1 +License: GNU GPL +Vendor: Daniel Prynych <[email protected]> +Url: http://www.knut.noveradsl.cz/knutclient +Packager: Daniel Prynych <[email protected]> +Group: Applications/System +Prefix: /usr +Source: knutclient-0.9.5.tar.gz +BuildRoot: %{_tmppath}/build-root-%{name} + +%description +Knutclient is a GUI interface for UPS system NUT + +%prep +%setup +make -f Makefile.cvs +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} $LOCALFLAGS + +%build +# Setup for parallel builds +numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :` +if [ "$numprocs" = "0" ]; then + numprocs=1 +fi + +make -j$numprocs + +%install +make install-strip DESTDIR=$RPM_BUILD_ROOT + +cd $RPM_BUILD_ROOT + +#mkdir -p var/lib/menu/kde/Applications/Extras/Accessories/ +#mkdir -p usr/share/applications/ +#cp -a usr/share/applnk/Utilities/knutclient.desktop usr/share/applications/ +#rm -rf usr/share/applnk + +#cd var/lib/menu/kde/Applications/Extras/Accessories/ +#ln -s /usr/share/applications/knutclient.desktop kde-knutclient.desktop +# as defattr point to root,root this will not work +#chown desktop.desktop kde-knutclient.desktop + +cd $RPM_BUILD_ROOT + +find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} +find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} +find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name} +rm -rf ../file.list.%{name} + + +%files -f ../file.list.%{name} +%defattr(-,root,root,0755) + diff --git a/specs/knutclient.spec.mandrake.10.1 b/specs/knutclient.spec.mandrake.10.1 new file mode 100644 index 0000000..804dd3d --- /dev/null +++ b/specs/knutclient.spec.mandrake.10.1 @@ -0,0 +1,100 @@ +Summary: NUT GUI Interface +Name: knutclient +Version: 0.9.5 +Release: 1 +License: GPL +Url: http://www.alo.cz/knutclient +Group: Monitoring +Source0: ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +%description +Knutclient is a GUI interface for UPS system NUT + +%prep +%setup +sh admin/cvs.sh cvs + +%build +CFLAGS="$RPM_OPT_FLAGS" \ +CXXFLAGS="$RPM_OPT_FLAGS" \ +./configure --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --enable-mt \ + --disable-rpath +%make + +%install +make install-strip DESTDIR=%buildroot +install -d %buildroot/%_menudir +cat > %buildroot/%_menudir/%{name} <<EOF +?package(%{name}):\ +command="/usr/bin/knutclient"\ +title="KNutClient"\ +icon="knutclient.png"\ +longtitle="A GUI interface for UPS system NUT"\ +needs="X11"\ +section="Applications/Monitoring" +EOF +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%post +%{update_menus} + +%postun +%{clean_menus} + +%files -f %name.lang +%defattr(-,root,root) +%doc README AUTHORS ChangeLog INSTALL TODO COPYING +%{_bindir}/knutclient +%{_menudir}/%{name} +%{_datadir}/applnk/Utilities/knutclient.desktop +%dir %{_datadir}/apps/knutclient +%{_datadir}/apps/knutclient/knutclientui.rc +%{_docdir}/HTML/*/knutclient +%{_iconsdir}/??color/??x??/apps/knutclient.png +%{_iconsdir}/??color/??x??/apps/knutclienterr.png +%{_iconsdir}/??color/??x??/apps/knutclientconn.png +%dir %{_datadir}/apps/knutclient/pics/knc_conn.png +%dir %{_datadir}/apps/knutclient/pics/knc_error.png +%dir %{_datadir}/apps/knutclient/pics/knc_main.png + +%changelog +* Fri Dec 19 2003 Arnaud de Lorbeau <[email protected]> 0.7.4-1mdk +- New release + +* Mon Nov 10 2003 Arnaud de Lorbeau <[email protected]> 0.7.3-3mdk +- Correction changelog + +* Mon Nov 10 2003 Arnaud de Lorbeau <[email protected]> 0.7.3-2mdk +- Correction Buildrequires + +* Fri Nov 07 2003 Thierry Vignaud <[email protected]> 0.7.3-1mdk +- new release + +* Fri Jul 25 2003 Arnaud de Lorbeau <[email protected]> 0.6.3-1mdk +- New release + +* Fri Jul 18 2003 Laurent MONTEL <[email protected]> 0.6.0-3mdk +- Rebuild + +* Wed Apr 30 2003 Lenny Cartier <[email protected]> 0.6.0-2mdk +- buildrequires + +* Wed Jan 08 2003 Lenny Cartier <[email protected]> 0.6.0-1mdk +- 0.6.0 + +* Tue Aug 27 2002 Arnaud de Lorbeau <[email protected]> 0.5.0-2mdk +- New release + +* Mon Aug 19 2002 Laurent Culioli <[email protected]> 0.4.1-4mdk +- rebuild with gcc3.2 + +* Sat Jul 27 2002 Arnaud de Lorbeau <[email protected]> 0.4.1-3mdk +- Mandrake adaptions +- Creation of patch for qt3 detection in configure +- Creation of french po file diff --git a/specs/knutclient.spec.mandriva.2006 b/specs/knutclient.spec.mandriva.2006 new file mode 100644 index 0000000..50a922b --- /dev/null +++ b/specs/knutclient.spec.mandriva.2006 @@ -0,0 +1,111 @@ +Summary: NUT GUI Interface +Name: knutclient +Version: 0.9.5 +Release: 1 +License: GPL +Url: http://www.knut.noveradsl.cz/knutclient +Group: Monitoring +Source0: ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +%description +Knutclient is a GUI interface for UPS system NUT + +%prep +%setup +sh admin/cvs.sh cvs + +%build +CFLAGS="$RPM_OPT_FLAGS" \ +CXXFLAGS="$RPM_OPT_FLAGS" \ +kde_htmldir=/usr/share/doc/HTML \ +./configure --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --enable-mt \ + --disable-rpath +%make + +%install +make install-strip DESTDIR=%buildroot +install -d %buildroot/%_menudir +cat > %buildroot/%_menudir/%{name} <<EOF +?package(%{name}):\ +command="/usr/bin/knutclient"\ +title="KNutClient"\ +icon="knutclient.png"\ +longtitle="A GUI interface for UPS system NUT"\ +needs="X11"\ +section="Applications/Monitoring" +EOF +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%post +%{update_menus} + +%postun +%{clean_menus} + +%files -f %name.lang +%defattr(-,root,root) +%doc README AUTHORS ChangeLog INSTALL TODO COPYING +%{_bindir}/knutclient +%{_menudir}/%{name} +%{_datadir}/applnk/Utilities/knutclient.desktop +%dir %{_datadir}/apps/knutclient +%{_datadir}/apps/knutclient/knutclientui.rc +%{_docdir}/HTML/*/knutclient +%{_docdir}/kde/HTML/*/knutclient +%{_iconsdir}/??color/??x??/apps/knutclient.png +%{_iconsdir}/??color/??x??/apps/knutclienterr.png +%{_iconsdir}/??color/??x??/apps/knutclientconn.png +%dir %{_datadir}/apps/knutclient/pics/knc_conn.png +%dir %{_datadir}/apps/knutclient/pics/knc_error.png +%dir %{_datadir}/apps/knutclient/pics/knc_main.png +%dir %{_datadir}/apps/knutclient/pics/knc_analog.png +%dir %{_datadir}/apps/knutclient/pics/knc_batt.png +%dir %{_datadir}/apps/knutclient/pics/knc_dock.png +%dir %{_datadir}/apps/knutclient/pics/knc_mpref.png +%dir %{_datadir}/apps/knutclient/pics/knc_mset.png +%dir %{_datadir}/apps/knutclient/pics/knc_panel.png +%dir %{_datadir}/apps/knutclient/pics/knc_ups.png +%dir %{_datadir}/apps/knutclient/pics/knc_upses.png + + +%changelog +* Fri Dec 19 2003 Arnaud de Lorbeau <[email protected]> 0.7.4-1mdk +- New release + +* Mon Nov 10 2003 Arnaud de Lorbeau <[email protected]> 0.7.3-3mdk +- Correction changelog + +* Mon Nov 10 2003 Arnaud de Lorbeau <[email protected]> 0.7.3-2mdk +- Correction Buildrequires + +* Fri Nov 07 2003 Thierry Vignaud <[email protected]> 0.7.3-1mdk +- new release + +* Fri Jul 25 2003 Arnaud de Lorbeau <[email protected]> 0.6.3-1mdk +- New release + +* Fri Jul 18 2003 Laurent MONTEL <[email protected]> 0.6.0-3mdk +- Rebuild + +* Wed Apr 30 2003 Lenny Cartier <[email protected]> 0.6.0-2mdk +- buildrequires + +* Wed Jan 08 2003 Lenny Cartier <[email protected]> 0.6.0-1mdk +- 0.6.0 + +* Tue Aug 27 2002 Arnaud de Lorbeau <[email protected]> 0.5.0-2mdk +- New release + +* Mon Aug 19 2002 Laurent Culioli <[email protected]> 0.4.1-4mdk +- rebuild with gcc3.2 + +* Sat Jul 27 2002 Arnaud de Lorbeau <[email protected]> 0.4.1-3mdk +- Mandrake adaptions +- Creation of patch for qt3 detection in configure +- Creation of french po file diff --git a/specs/knutclient.spec.mandriva.2009 b/specs/knutclient.spec.mandriva.2009 new file mode 100755 index 0000000..ef26a1e --- /dev/null +++ b/specs/knutclient.spec.mandriva.2009 @@ -0,0 +1,124 @@ +Summary: NUT GUI Interface +Name: knutclient +Version: 0.9.5 +Release: 1 +License: GPL +Url: http://www.knut.noveradsl.cz/knutclient +Group: Monitoring +Source0: ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +%description +Knutclient is a GUI interface for UPS system NUT + +%prep +%setup +sh admin/cvs.sh cvs + +%build +CFLAGS="$RPM_OPT_FLAGS" \ +CXXFLAGS="$RPM_OPT_FLAGS" \ +export kde_htmldir=/opt/kde3/share/doc/HTML \ +export KDEDIRS=/usr:/opt/kde3 +./configure --prefix=/opt/kde3 \ + --libdir=%{_libdir} \ + --enable-mt \ + --disable-rpath +%make + + +%install + +make install-strip DESTDIR=%buildroot +install -d %buildroot/%_menudir +cat > %buildroot/%_menudir/%{name} <<EOF +?package(%{name}):\ +command="/opt/kde3/bin/knutclient"\ +title="KNutClient"\ +icon="knutclient.png"\ +longtitle="A GUI interface for UPS system NUT"\ +needs="X11"\ +section="Applications/Monitoring" +EOF + + +mkdir -p %buildroot/opt/kde3/share/applications/kde/ +mv %buildroot/opt/kde3/share/applnk/Utilities/knutclient.desktop %buildroot/opt/kde3/share/applications/kde/ +rmdir %buildroot/opt/kde3/share/applnk/Utilities +rm %buildroot/opt/kde3/share/applications/kde/Utilities/knutclient.desktop +rmdir %buildroot/opt/kde3/share/applications/kde/Utilities + +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%post +%{update_menus} + +%postun +%{clean_menus} + +%files -f %name.lang +%defattr(-,root,root) +%doc README AUTHORS ChangeLog INSTALL TODO COPYING +/opt/kde3/bin/knutclient +%{_menudir}/%{name} +/opt/kde3/share/applications/kde/knutclient.desktop +%dir /opt/kde3/share/apps/knutclient +/opt/kde3/share/apps/knutclient/knutclientui.rc +/opt/kde3/share/doc/HTML/*/knutclient +/opt/kde3/share/icons/??color/??x??/apps/knutclient.png +/opt/kde3/share/icons/??color/??x??/apps/knutclienterr.png +/opt/kde3/share/icons/??color/??x??/apps/knutclientconn.png +/opt/kde3/share/apps/knutclient/pics/knc_conn.png +/opt/kde3/share/apps/knutclient/pics/knc_error.png +/opt/kde3/share/apps/knutclient/pics/knc_main.png +/opt/kde3/share/apps/knutclient/pics/knc_analog.png +/opt/kde3/share/apps/knutclient/pics/knc_batt.png +/opt/kde3/share/apps/knutclient/pics/knc_dock.png +/opt/kde3/share/apps/knutclient/pics/knc_mpref.png +/opt/kde3/share/apps/knutclient/pics/knc_mset.png +/opt/kde3/share/apps/knutclient/pics/knc_panel.png +/opt/kde3/share/apps/knutclient/pics/knc_ups.png +/opt/kde3/share/apps/knutclient/pics/knc_upses.png + + +%changelog +* Sat Mar 21 2009 Daniel Prynych <[email protected]> 0.9.5-1 +- changed part files + +* Fri Dec 19 2003 Arnaud de Lorbeau <[email protected]> 0.7.4-1mdk +- New release + +* Mon Nov 10 2003 Arnaud de Lorbeau <[email protected]> 0.7.3-3mdk +- Correction changelog + +* Mon Nov 10 2003 Arnaud de Lorbeau <[email protected]> 0.7.3-2mdk +- Correction Buildrequires + +* Fri Nov 07 2003 Thierry Vignaud <[email protected]> 0.7.3-1mdk +- new release + +* Fri Jul 25 2003 Arnaud de Lorbeau <[email protected]> 0.6.3-1mdk +- New release + +* Fri Jul 18 2003 Laurent MONTEL <[email protected]> 0.6.0-3mdk +- Rebuild + +* Wed Apr 30 2003 Lenny Cartier <[email protected]> 0.6.0-2mdk +- buildrequires + +* Wed Jan 08 2003 Lenny Cartier <[email protected]> 0.6.0-1mdk +- 0.6.0 + +* Tue Aug 27 2002 Arnaud de Lorbeau <[email protected]> 0.5.0-2mdk +- New release + +* Mon Aug 19 2002 Laurent Culioli <[email protected]> 0.4.1-4mdk +- rebuild with gcc3.2 + +* Sat Jul 27 2002 Arnaud de Lorbeau <[email protected]> 0.4.1-3mdk +- Mandrake adaptions +- Creation of patch for qt3 detection in configure +- Creation of french po file |