Summary: Text and HTML editor
-Summary(pl): Edytor tekstu i HTML
+Summary(pl.UTF-8): Edytor tekstu i HTML-a
Name: asWedit
Version: 4.0
%define resver 4.0
-License: Non-commercially distributable
+License: non-commercial
Group: Applications/Editors
-Release: 3
+Release: 4
+# advasoft.com seems not working, one of working mirrors:
+# http://www.uni-koeln.de/ftp/www/asWedit-4.0/
Source0: http://www.advasoft.com/asWedit/%{name}-%{version}-i386.linux.tar.gz
+# Source0-md5: c3d00e0886a2316e46ef05f4c204c0ed
+# http://www.uni-koeln.de/ftp/www/asWedit-4.0/i18n-resources/
Source1: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-cz.tar.gz
+# Source1-md5: fd559437bcd9acfdf868b07da53fb7e1
Source2: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-da.tar.gz
+# Source2-md5: bf9a82c5bed2fb364f8e189a439d3e17
Source3: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-de.tar.gz
+# Source3-md5: 5d74c0a19e8e36db291765716b96989a
Source4: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-en.tar.gz
+# Source4-md5: d9b6fbef34752878e2b81095d130a7d5
Source5: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-es.tar.gz
+# Source5-md5: 443c0bb77495e963c1ba6882400651fd
Source6: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-fr.tar.gz
+# Source6-md5: 16ead513e41338408f2e7382687e5ab9
Source7: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-nl.tar.gz
+# Source7-md5: 4ec10e437609c83822657996b0a78c20
Source8: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-pl.tar.gz
+# Source8-md5: 7c905e467e8126ad39703174f8dedbac
Source9: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-pt.tar.gz
+# Source9-md5: ea7cdb75af11b42cd847b0c6a4a2e923
Source10: http://www.advasoft.com/asWedit/i18n-resources/AsWedit-%{resver}-sv.tar.gz
+# Source10-md5: 4bf99d3481f7471d78cccf2b81f482dc
Source11: %{name}.wmconfig
+# Source11-md5: cfcf138ffaf619f0e84a952383635d44
Patch0: %{name}-helpDir.patch
URL: http://www.advasoft.com/asWedit/
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: libc
ExclusiveArch: %{ix86}
-
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
asWedit is powerful editor for text file and HTML pages. It contains
syntax highlighting and HTML 4.0 validating.
-%description -l pl
-AsWedit jest edytorem plików tekstowych i HTML. Bardzo ³adnie
-pod¶wietla sk³adniê HTML i, co wa¿niejsze, nie pozwala na tworzenie
-niezgodnych ze specyfikacj± HTML 4.0 stron WWW.
+%description -l pl.UTF-8
+AsWedit jest edytorem plików tekstowych i HTML. Bardzo ładnie
+podświetla składnię HTML-a i, co ważniejsze, nie pozwala na tworzenie
+niezgodnych ze specyfikacją HTML 4.0 stron WWW.
%prep
%setup -q -b 1 -b 2 -b 3 -b 4 -b 5 -b 6 -b 7 -b 8 -b 9 -b 10
-%patch -p1
-
-%build
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT