SPECS: eclipse-swt.spec - pl, missing dir, some cleanups
qboosh
qboosh at pld-linux.org
Fri Jul 1 23:03:16 CEST 2005
Author: qboosh Date: Fri Jul 1 21:03:16 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, missing dir, some cleanups
---- Files affected:
SPECS:
eclipse-swt.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/eclipse-swt.spec
diff -u SPECS/eclipse-swt.spec:1.2 SPECS/eclipse-swt.spec:1.3
--- SPECS/eclipse-swt.spec:1.2 Thu Jun 30 23:48:40 2005
+++ SPECS/eclipse-swt.spec Fri Jul 1 23:03:10 2005
@@ -31,38 +31,46 @@
%define _noautostrip .*\\.so
%endif
-Summary: SWT is a widget toolkit for Java
+Summary: SWT - a widget toolkit for Java
+Summary(pl): SWT - zestaw widgetów dla Javy
Name: eclipse-swt
-Version: %{_ver_major}
-#Release: 0.%{_mver}_%{_buildid}.1
-Release: 0.1
-License: CPL v1.0
-Group: Libraries
-#Source0: http://download.eclipse.org/downloads/drops/S-%{_ver_major}%{_mver}-%{_buildid}/eclipse-sourceBuild-srcIncluded-%{_ver_major}%{_mver}.zip
-Source0: http://download.eclipse.org/eclipse/downloads/drops/R-%{_ver_major}-%{_buildid}/eclipse-sourceBuild-srcIncluded-%{_ver_major}.zip
+Version: %{_ver_major}
+#Release: 0.%{_mver}_%{_buildid}.1
+Release: 0.1
+License: CPL v1.0
+Group: Libraries
+#Source0: http://download.eclipse.org/downloads/drops/S-%{_ver_major}%{_mver}-%{_buildid}/eclipse-sourceBuild-srcIncluded-%{_ver_major}%{_mver}.zip
+Source0: http://download.eclipse.org/eclipse/downloads/drops/R-%{_ver_major}-%{_buildid}/eclipse-sourceBuild-srcIncluded-%{_ver_major}.zip
# Source0-md5: 19ad65d52005da5eaa1d3687b3a50de2
-Patch0: %{name}-NULL.patch
-Patch1: %{name}-makefile.patch
-Patch2: %{name}-nognome.patch
+Patch0: %{name}-NULL.patch
+Patch1: %{name}-makefile.patch
+Patch2: %{name}-nognome.patch
URL: http://www.eclipse.org/swt
-BuildRequires: jakarta-ant >= 1.6.1
-BuildRequires: jdk >= 1.4
-BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.213
-BuildRequires: unzip
-BuildRequires: zip
-BuildRequires: mozilla-devel
-BuildRequires: atk-devel
-%{?with_gnome:BuildRequires: libgnomeui-devel}
-BuildRequires: gtk+2-devel
+BuildRequires: atk-devel
%{?with_cairo:BuildRequires: cairo-devel}
-Requires: jakarta-ant
-Requires: jdk >= 1.4
-ExclusiveArch: %{ix86} %{x8664} ppc
+BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: jakarta-ant >= 1.6.1
+BuildRequires: jdk >= 1.4
+%{?with_gnome:BuildRequires: libgnomeui-devel}
+BuildRequires: mozilla-devel
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.213
+BuildRequires: unzip
+BuildRequires: zip
+Requires: jakarta-ant
+Requires: jdk >= 1.4
+ExclusiveArch: %{ix86} %{x8664} ppc
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-SWT is a widget toolkit for Java designed to provide efficient, portable access to the user-interface facilities of the operating systems on which it is implemented.
+SWT is a widget toolkit for Java designed to provide efficient,
+portable access to the user-interface facilities of the operating
+systems on which it is implemented.
+
+%description -l pl
+SWT to zestaw widgetów dla Javy zaprojektowany aby dostarczyć wydajny,
+przenośny dostęp do udogodnień interfejsu użytkownika na tych
+systemach operacyjnych, na których został zaimplementowany.
%prep
%setup -q -c
@@ -114,8 +122,6 @@
# OPT="%{rpmcflags}"
cd ..
-
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/swt/%{_swtgtkdir}_%{_ver_major}.%{_ver_minor}/os/linux/%{_eclipse_arch}
@@ -130,13 +136,12 @@
install *.html $RPM_BUILD_ROOT%{_libdir}/swt
cp -rf about_files $RPM_BUILD_ROOT%{_libdir}/swt
-
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
+%dir %{_libdir}/swt
%dir %{_libdir}/swt/%{_swtgtkdir}_*.*.*
%dir %{_libdir}/swt/%{_swtgtkdir}_*.*.*/os
%dir %{_libdir}/swt/%{_swtgtkdir}_*.*.*/os/linux
@@ -153,17 +158,18 @@
%attr(755,root,root) %{_libdir}/swt/%{_swtgtkdir}_*.*.*/os/linux/%{_eclipse_arch}/libswt-mozilla-gtk-*.so
%attr(755,root,root) %{_libdir}/swt/%{_swtgtkdir}_*.*.*/os/linux/%{_eclipse_arch}/libswt-pi-gtk-*.so
-
%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/07/01 21:03:10 qboosh
+- pl, missing dir, some cleanups
+
Revision 1.2 2005/06/30 21:48:40 djurban
- fix cairo bcond
Revision 1.1 2005/06/30 21:45:06 djurban
- Wrote: /home/users/djurban/rpm/RPMS/eclipse-swt-3.1-0.1.athlon.rpm
- didnt check cairo and gnome stuff
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/eclipse-swt.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list