]> git.pld-linux.org Git - packages/nut.git/commitdiff
- added -devel (static object + header file) for NUT clients nut-0_45_5-3
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 May 2002 21:44:26 +0000 (21:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 3

Changed files:
    nut.spec -> 1.36

nut.spec

index e34b0facebd586fc0f61a49b3e7cd59265462713..8cb22e82bba448047ca5736bbf5698087f9590b5 100644 (file)
--- a/nut.spec
+++ b/nut.spec
@@ -2,7 +2,7 @@ Summary:        Network UPS Tools
 Summary(pl):   Sieciowe narzêdzie do UPS-ów
 Name:          nut
 Version:       0.45.5
-Release:       2
+Release:       3
 License:       GPL
 Group:         Applications/System
 Source0:       http://www.exploits.org/nut/release/%{name}-%{version}.tar.gz
@@ -73,6 +73,18 @@ sprawdzania stanu. Ta funkcjonalno
 zatrzymywanie systemów, sprawdzanie stanu zasilania przez WWW i inne.
 Ten pakiet zawiera narzêdzia CGI.
 
+%package devel
+Summary:       Files for NUT clients development
+Summary(pl):   Pliki do tworzenia klientów NUT-a
+Group:         Development/Libraries
+# it does NOT require nut
+
+%description devel
+Object file and header for developing NUT clients.
+
+%description devel -l pl
+Plik wynikowy oraz nag³ówek s³u¿±ce do tworzenia klientów NUT-a.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -90,7 +102,8 @@ autoconf
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{etc/{sysconfig,rc.d/init.d},/var/lib/ups,%{_libdir}/nut}
+install -d $RPM_BUILD_ROOT/{etc/{sysconfig,rc.d/init.d},/var/lib/ups} \
+       $RPM_BUILD_ROOT{%{_libdir}/nut,%{_includedir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
@@ -101,6 +114,9 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ups
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/upsmon
 install conf/ups.conf $RPM_BUILD_ROOT%{_sysconfdir}/ups.conf
 
+install clients/upsfetch.o $RPM_BUILD_ROOT%{_libdir}
+install clients/upsfetch.h $RPM_BUILD_ROOT%{_includedir}
+
 gzip -9nf CREDITS README docs/{FAQ,Changes*,*.txt,cables/*}
 
 %clean
@@ -188,3 +204,8 @@ fi
 %config(noreplace) %{_sysconfdir}/hosts.conf
 %config(noreplace) %{_sysconfdir}/multimon.conf
 %config(noreplace) %{_sysconfdir}/upsset.conf
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/upsfetch.o
+%{_includedir}/upsfetch.h
This page took 0.050924 seconds and 4 git commands to generate.