packages: smp_utils/smp_utils.spec, smp_utils/smp_utils-make.patch (REMOVED...

qboosh qboosh at pld-linux.org
Tue Jan 24 21:25:07 CET 2012


Author: qboosh                       Date: Tue Jan 24 20:25:07 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.97
- removed obsolete make patch
- shared library introduced (merged into main; added appropriate -devel/-static subpackages)

---- Files affected:
packages/smp_utils:
   smp_utils.spec (1.11 -> 1.12) , smp_utils-make.patch (1.3 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/smp_utils/smp_utils.spec
diff -u packages/smp_utils/smp_utils.spec:1.11 packages/smp_utils/smp_utils.spec:1.12
--- packages/smp_utils/smp_utils.spec:1.11	Sat Sep 10 15:35:55 2011
+++ packages/smp_utils/smp_utils.spec	Tue Jan 24 21:25:02 2012
@@ -2,13 +2,12 @@
 Summary:	Utilities for SAS Management Protocol (SMP)
 Summary(pl.UTF-8):	Narzędzia do protokołu SAS Management Protocol (SMP)
 Name:		smp_utils
-Version:	0.96
+Version:	0.97
 Release:	1
 License:	BSD
 Group:		Applications/System
 Source0:	http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
-# Source0-md5:	71ba9b8727664a5f45ecfdc46c4b6b3c
-Patch0:		%{name}-make.patch
+# Source0-md5:	63fb3416f1a84a39bcd97d709be1cab0
 URL:		http://sg.danny.cz/sg/smp_utils.html
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
@@ -40,39 +39,78 @@
 nieprawidłowe użycie może spowodować niezdatność systemu do dalszej
 pracy.
 
+%package devel
+Summary:	Header file for SMP Utils library
+Summary(pl.UTF-8):	Plik nagłówkowy biblioteki SMP Utils
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header file for SMP Utils library.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy biblioteki SMP Utils.
+
+%package static
+Summary:	Static SMP Utils library
+Summary(pl.UTF-8):	Statyczna biblioteka SMP Utils
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description static
+Static SMP Utils library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka SMP Utils.
+
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__make} \
-	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} \$(EXTRA_FLAGS)" \
-	LDFLAGS="%{rpmldflags}"
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
- 	PREFIX=%{_prefix} \
- 	INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
- 	MANDIR=$RPM_BUILD_ROOT%{_mandir}
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING COVERAGE CREDITS ChangeLog README
-%attr(755,root,root) %{_bindir}/smp_*
+%attr(755,root,root) %{_sbindir}/smp_*
+%attr(755,root,root) %{_libdir}/libsmputils1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsmputils1.so.1
 %{_mandir}/man8/smp_*.8*
 
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %ghost %{_libdir}/libsmputils1.so
+%{_libdir}/libsmputils1.la
+%{_includedir}/scsi/smp_lib.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libsmputils1.a
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2012/01/24 20:25:02  qboosh
+- updated to 0.97
+- removed obsolete make patch
+- shared library introduced (merged into main; added appropriate -devel/-static subpackages)
+
 Revision 1.11  2011/09/10 13:35:55  qboosh
 - updated to 0.96
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/smp_utils/smp_utils.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list