]> git.pld-linux.org Git - packages/ecj.git/blobdiff - ecj.spec
- tabs in preamble
[packages/ecj.git] / ecj.spec
index fb8e36f5c6d7b842bd05a622534586cff6ddaace..5bea5d282ae33e45b8eb089772dd933d6b5621b3 100644 (file)
--- a/ecj.spec
+++ b/ecj.spec
@@ -1,22 +1,30 @@
 Summary:       Eclipse Compiler for Java
+Summary(pl.UTF-8):     Kompilator Eclipse dla Javy
 Name:          ecj
 Version:       0.298
-Release:       0.1
+Release:       2
 License:       CPL v1.0
 Group:         Development/Languages/Java
 Source0:       ftp://sources.redhat.com/pub/rhug/ecj/rhug-%{name}-%{version}.tar.gz
 # Source0-md5: 8e617bf2845a45b04c451694751d7408
 URL:           http://www.eclipse.org/
+BuildRequires: automake
 BuildRequires: gcc-java
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 ECJ is a Java bytecode compiler extracted from the Eclipse IDE.
 
+%description -l pl.UTF-8
+ECJ to kompilator bajtkodu Javy wyodrębiony ze środowiska
+programistycznego (IDE) Eclipse.
+
 %prep
 %setup -q -n rhug-ecj-%{version}
 
 %build
+cp -f /usr/share/automake/config.sub .
+
 %configure \
        --disable-static
 
@@ -29,13 +37,10 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 %clean
-#rm -rf $RPM_BUILD_ROOT
-
-%post
-%ldconfig_post
+rm -rf $RPM_BUILD_ROOT
 
-%postun
-%ldconfig_postun
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
This page took 0.051837 seconds and 4 git commands to generate.