Author: arvenil                      Date: Sat Apr  5 13:26:11 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.22
- rm Patch0 (not needed anymore)
- rm BR: unzip (not needed anymore)

---- Files affected:
SPECS:
   astyle.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/astyle.spec
diff -u SPECS/astyle.spec:1.11 SPECS/astyle.spec:1.12
--- SPECS/astyle.spec:1.11      Mon Feb 12 22:23:48 2007
+++ SPECS/astyle.spec   Sat Apr  5 15:26:05 2008
@@ -2,15 +2,13 @@
 Summary:       Automatic Indentation Filter
 Summary(pl.UTF-8):     Automatyczny filtr wcięć
 Name:          astyle
-Version:       1.15.3
+Version:       1.22
 Release:       1
 License:       GPL v2
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/astyle/%{name}_%{version}.zip
-# Source0-md5: 4d8adbcd8703aea00fcd2670be090ddd
+Source0:       http://dl.sourceforge.net/astyle/%{name}_%{version}_linux.tar.gz
+# Source0-md5: f319ee4e2538f5e6255211975b4e36cc
 URL:           http://astyle.sourceforge.net/
-Patch0:                %{name}-Makefile.patch
-BuildRequires: unzip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,26 +20,26 @@
 wcięć dla źródeł w C++, C i Javie.
 
 %prep
-%setup -q -c
-%patch0 -p1
+%setup -q -n %{name}
 
 %build
-%{__make} \
+%{__make} -C buildgcc \
        CXX="%{__cxx}" \
        CPPFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-
-install astyle $RPM_BUILD_ROOT%{_bindir}
 
+%{__make} -C buildgcc install \
+       INSTALL=install \
+       prefix=$RPM_BUILD_ROOT%{_prefix}
+        
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc astyle.html astyle_release_notes.html
+%doc doc/*.html
 %attr(755,root,root) %{_bindir}/*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -50,6 +48,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008-04-05 13:26:05  arvenil
+- up to 1.22
+- rm Patch0 (not needed anymore)
+- rm BR: unzip (not needed anymore)
+
 Revision 1.11  2007-02-12 21:23:48  glen
 - tabs in preamble
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to