]> git.pld-linux.org Git - packages/GNUMail.git/blobdiff - GNUMail.spec
- more strict buildrequires
[packages/GNUMail.git] / GNUMail.spec
index 92ce16f2415ccb403588bf32a8831c32c852c125..4d2eea86e71c950406eddee0cc84f005b46e0c4c 100644 (file)
@@ -1,19 +1,22 @@
 Summary:       Mail application for GNUstep
 Summary(pl):   Aplikacja pocztowa dla ¶rodowiska GNUstep
 Name:          GNUMail
-Version:       1.1.0
-Release:       1
+Version:       1.1.2
+%define cvs 20040729
+Release:       3.%{cvs}.1
 License:       GPL
 Group:         X11/Applications
-Source0:       http://www.collaboration-world.com/cgi-bin/collaboration-world/project/download.cgi/GNUMail-1.1.0.tar.gz?rid=81
-# Source0-md5: 8b9d1030849dbc91c2d28716c6fceef2
+Source0:       %{name}-cvs-%{cvs}.tar.gz
+# Source0-md5: a20eded4368ce4363e67aac4540ac8d8
+Patch0:        %{name}-pass-arguments.patch
 URL:           http://www.collaboration-world.com/gnumail/
-BuildRequires: Pantomime-devel >= 1.0.5
-BuildRequires: gnustep-extensions-devel
-BuildRequires: gnustep-gui-devel >= 0.8.3
+BuildRequires: Pantomime-devel >= 1.1.2-4
+BuildRequires: gnustep-gui-devel >= 0.9.1
+BuildRequires: Addresses-devel >= 0.4.6
+Requires:      Pantomime >= 1.1.2-4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _prefix         /usr/lib/GNUstep
+%define         _prefix         /usr/%{_lib}/GNUstep
 
 %define                libcombo        gnu-gnu-gnu
 %define                gsos            linux-gnu
@@ -21,7 +24,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                gscpu           ix86
 %else
 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
-%define                gscpu           %{_target_cpu}
+%define                gscpu           %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
 %endif
 
 %description
@@ -48,6 +51,7 @@ nast
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
 
 %build
 . %{_prefix}/System/Library/Makefiles/GNUstep.sh
@@ -80,6 +84,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_prefix}/System/Applications/GNUMail.app/Resources/*.tiff
 %{_prefix}/System/Applications/GNUMail.app/Resources/Welcome
 %{_prefix}/System/Applications/GNUMail.app/Resources/English.lproj
+%lang(cs) %{_prefix}/System/Applications/GNUMail.app/Resources/Czech.lproj
 %lang(fr) %{_prefix}/System/Applications/GNUMail.app/Resources/French.lproj
 %lang(de) %{_prefix}/System/Applications/GNUMail.app/Resources/German.lproj
 %lang(es) %{_prefix}/System/Applications/GNUMail.app/Resources/Spanish.lproj
@@ -95,5 +100,8 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_prefix}/System/Library/GNUMail/*.prefs
 %{_prefix}/System/Library/GNUMail/*.prefs/Resources
 %attr(755,root,root) %{_prefix}/System/Library/GNUMail/*.prefs/%{gscpu}
+%dir %{_prefix}/System/Library/GNUMail/Import.bundle
+%{_prefix}/System/Library/GNUMail/Import.bundle/Resources
+%attr(755,root,root) %{_prefix}/System/Library/GNUMail/Import.bundle/%{gscpu}
 
 %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/lib*.so.*
This page took 0.087339 seconds and 4 git commands to generate.