]> git.pld-linux.org Git - packages/detect.git/commitdiff
- use DESTDIR style install, STABLE detect-0_9_72-1
authorkloczek <kloczek@pld-linux.org>
Mon, 13 Jan 2003 09:09:59 +0000 (09:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- few minor changes and cleanups.

Changed files:
    detect.spec -> 1.9

detect.spec

index ea4b016b6e519334d0dc90cbb6d51d5439f3bf3c..4c68d7f7b2f27dfd7921416f5c04b65db15721da 100644 (file)
@@ -26,7 +26,6 @@ BuildRequires:        libtool
 BuildRequires: texinfo
 %ifarch %{ix86}
 Requires:      isapnptools >= 1.21
-Requires:      detect-lst
 %endif
 Requires:      %{name}-libs = %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -120,21 +119,9 @@ cat po/Makefile.in > po/Makefile
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall
-#make install \
-#      prefix=$RPM_BUILD_ROOT%{prefix} \
-#      mandir=$RPM_BUILD_ROOT%{_mandir} \
-#      libdir=$RPM_BUILD_ROOT%{_libdir} \
-#      sbindir=$RPM_BUILD_ROOT%{_sbindir} \
-#      datadir=$RPM_BUILD_ROOT%{_datadir} \
-#      includedir=$RPM_BUILD_ROOT%{_includedir}
-
-#not installed by make install script
-
-cd $RPM_BUILD_ROOT%{prefix}/lib && {
-ln -s libdetect.so.0.0.0 libdetect.so.0
-ln -s libdetect.so.0.0.0 libdetect.so
-}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang detect
 
@@ -146,18 +133,19 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO VERSION docs/FAQ
+%doc AUTHORS BUGS ChangeLog NEWS README docs/FAQ
 %attr(755,root,root) %{_sbindir}/detect
 
 %files libs -f detect.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdetect.so.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_datadir}/detect
 
 %files libs-devel
 %defattr(644,root,root,755)
 %doc docs/{Programming,API,ISA-Structure,PCI-Structure}
-%{_libdir}/libdetect.la
-%attr(755,root,root) %{_libdir}/libdetect.so
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
 %{_includedir}/detect.h
 
 %files libs-static
This page took 0.131141 seconds and 4 git commands to generate.