SPECS: dwg2dxf.spec - lots of standardization

saq saq at pld-linux.org
Thu Jun 16 12:44:38 CEST 2005


Author: saq                          Date: Thu Jun 16 10:44:38 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- lots of standardization

---- Files affected:
SPECS:
   dwg2dxf.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/dwg2dxf.spec
diff -u SPECS/dwg2dxf.spec:1.2 SPECS/dwg2dxf.spec:1.3
--- SPECS/dwg2dxf.spec:1.2	Thu Jun 16 12:31:30 2005
+++ SPECS/dwg2dxf.spec	Thu Jun 16 12:44:32 2005
@@ -10,7 +10,9 @@
 # Source0-md5:	c1ba5f874d23746360cd73986830a249
 Patch0:		%{name}-%{version}-shared-files.patch
 URL:		http://sourceforge.net/projects/lx-viewer/
-#BuildRequires:
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,28 +38,31 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{_datadir}/%{name}
-install -d $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}
-install %{name}/adinit.dat $RPM_BUILD_ROOT/%{_datadir}/%{name}/
-install %{name}/docs/en/index*.html $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version}/
+
+install %{name}/adinit.dat $RPM_BUILD_ROOT/%{_datadir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc %{name}/docs/en/index*.html
 %attr(755,root,root) %{_bindir}/%{name}
-%attr(644,root,root) %{_datadir}/%{name}/adinit.dat
-%doc %{_defaultdocdir}/%{name}-%{version}/*.html
+%{_datadir}/%{name}
 
 %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.3  2005/06/16 10:44:32  saq
+- lots of standardization
+
 Revision 1.2  2005/06/16 10:31:30  spider
 - cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dwg2dxf.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list