- Builds for me
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 25 Nov 2007 13:48:44 +0000 (13:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Azureus.spec -> 1.17

Azureus.spec

index 2199df9..c634d8b 100644 (file)
@@ -12,14 +12,16 @@ Source2:    %{name}.desktop
 Source3:       %{name}.sh
 Patch0:                %{name}-buildfile.patch
 Patch1:                %{name}-nomacosx.patch
-Patch2:                %{name}-swt31.patch
 URL:           http://azureus.sourceforge.net/
 BuildRequires: eclipse-swt >= 3.1.1
 BuildRequires: jakarta-commons-cli
 BuildRequires: jdk >= 1.4
+BuildRequires: jpackage-utils
 BuildRequires: logging-log4j
+BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: sed >= 4.0
 BuildRequires: unzip
-Requires:      eclipse-swt >= 3.1.1
+Requires:      eclipse-swt >= 3.3
 Requires:      jakarta-commons-cli
 Requires:      jre >= 1.4
 Requires:      logging-log4j
@@ -43,15 +45,21 @@ zawiera teraz wbudowany tracker łatwy do skonfigurowania i używania.
 
 %prep
 %setup -q -c
-%patch0 -p0
+find '(' -name '*.java' -o -name '*.xml' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
+
+%patch0 -p1
 %patch1 -p1
-%patch2 -p1
+
+find -name osx | xargs rm -r
+find -name 'macosx' | xargs rm -r
+find -name 'win32*' | xargs rm -r
+find -name 'Win32*' | xargs rm -r
+# Remove test code
+rm org/gudy/azureus2/ui/swt/test/PrintTransferTypes.java
 
 %build
-rm -rf org/gudy/azureus2/platform/macosx/access
-rm -rf org/gudy/azureus2/ui/swt/{osx,test}
-##export ANT_OPTS=-Xmx128M
-ant jar
+export ANT_OPTS=-Xmx128M
+%ant jar
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.051133 seconds and 4 git commands to generate.