2005-10-16 [colin] 1.9.15cvs62
[claws.git] / sylpheed.spec.in
index ddc11d5432cd41491499193c788b67314951f884..117ba2c2e81bc6604094e2010879d8be05051c02 100644 (file)
@@ -16,20 +16,22 @@ Buildroot:  /var/tmp/%{name}-root
 
 
 %description
-Sylpheed is an e-mail client (and news reader) based on GTK+, running on
-X Window System, and aiming for
- * Quick response
- * Graceful, and sophisticated interface
- * Easy configuration, intuitive operation
- * Abundant features
-The appearance and interface are similar to some popular e-mail clients for
-Windows, such as Outlook Express, Becky!, and Datula. The interface is also
-designed to emulate the mailers on Emacsen, and almost all commands are
-accessible with the keyboard.
-
-The messages are managed by MH format, and you'll be able to use it together
-with another mailer based on MH format (like Mew). You can also utilize
-fetchmail or/and procmail, and external programs on receiving (like inc or
+Sylpheed is an e-mail client and news reader based on GTK+ running
+   on the X Window System that aims for * Quick response
+
+* Graceful and sophisticated interface
+
+* Easy configuration, intuitive operation
+
+* Abundant features The appearance and interface are similar to some
+   popular e-mail clients for Windows, such as Outlook Express,
+   Becky!, and Datula. The interface is also designed to emulate the
+   mailers on Emacsen. Almost all commands are accessible with the
+   keyboard.
+
+The messages are managed by MH format and you can use it together with
+another mailer based on MH format (like Mew). You can also utilize
+fetchmail, procmail, and external programs on receiving (like inc or
 imget).
 
 Authors:
@@ -43,9 +45,6 @@ rm -rf $RPM_BUILD_ROOT
 %setup
 
 %build
-%ifarch ppc64
-export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
-%endif
 CFLAGS="$RPM_OPT_FLAGS" ./configure \
                 --mandir=%{_mandir} \
                 --prefix=%{prefix} \
@@ -61,19 +60,29 @@ make
 
 %install
 [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
-make prefix=${RPM_BUILD_ROOT}%{prefix} install
+make DESTDIR=$RPM_BUILD_ROOT install
+# Tools
+cp -r tools $RPM_BUILD_ROOT%{prefix}/share/sylpheed
+rm $RPM_BUILD_ROOT%{prefix}/share/sylpheed/tools/Makefile*
+mv $RPM_BUILD_ROOT%{prefix}/share/sylpheed/tools/README ./README.tools
 
 %clean
-rm -rf ${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
 %{prefix}/bin/sylpheed
-%{prefix}/share/locale/*/LC_MESSAGES/sylpheed.mo
-%{prefix}/share/sylpheed/manual/*
-%doc ABOUT-NLS AUTHORS COPYING ChangeLog ChangeLog.claws ChangeLog.jp README README.claws README.jp INSTALL TODO TODO.jp tools
+%{prefix}/%{_lib}/sylpheed
+%{prefix}/share/sylpheed
+%_mandir/man1/sylpheed.1.gz
+%doc ABOUT-NLS AUTHORS COPYING ChangeLog ChangeLog.claws ChangeLog.jp README README.claws README.tools README.jp INSTALL TODO TODO.jp
 
 %changelog
+* Thu Jul 1 2003 Jens Oberender <j.obi@troja.net>
+- updated the filesection
+- moved tools to /usr/share/sylpheed
+- no windowmanager specific icons and desktop entries
+
 * Sun Nov 10 2002 Jens Oberender <j.obi@troja.net>
 - changed spec.in for claws
 - shortend the changelog