Browse Source

update gnubiff-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2173 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
1a5ddf5fd3
1 changed files with 65 additions and 22 deletions
  1. 65 22
      g/gnubiff/gnubiff-vl.spec

+ 65 - 22
g/gnubiff/gnubiff-vl.spec

@@ -1,18 +1,37 @@
-Summary:     gnubiff is a mail notification program
+Summary:     A mail notification program
 Summary(ja): Gnome 対応のメールチェッカー
 Name:        gnubiff
-Version:     2.2.11
+Version:     2.2.13
 Release:     1%{?_dist_release}
-Source0:     %{name}-%{version}.tar.gz
-Patch0:	     gnubiff-2.2.10-extradeps.patch
-License:     GNU General Public License
+Source0:     http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:	     gnubiff-2.2.13-dsofix.patch
+License:     GPLv3+
 Group:       Applications/Internet
 URL:         http://gnubiff.sourceforge.net/
 
-Requires:    gamin gtk2 libglade2 gnome-desktop gnome-desktop-libs 
-Requires:    expat libexpat perl-XML-Parser popt openssl 
-BuildRequires: gamin-devel gtk2-devel libglade2-devel gnome-desktop-devel 
-BuildRequires: expat-devel perl-XML-Parser popt-devel openssl-devel 
+Requires:    gamin
+Requires:    gtk2
+Requires:    libglade2
+Requires:    gnome-desktop
+Requires:    gnome-desktop-libs 
+Requires:    expat
+Requires:    libexpat
+Requires:    perl-XML-Parser
+Requires:    popt
+Requires:    openssl
+BuildRequires: gamin-devel
+BuildRequires: gtk2-devel
+BuildRequires: libglade2-devel
+BuildRequires: gnome-desktop-devel
+BuildRequires: expat-devel
+BuildRequires: perl-XML-Parser
+BuildRequires: popt-devel
+BuildRequires: openssl-devel
+BuildRequires: libSM-devel
+BuildRequires: libgnomeui-devel
+BuildRequires: gnome-panel-devel
+BuildRequires: intltool
+BuildRequires: desktop-file-utils
 
 Requires(post):	info
 Requires(preun): info
@@ -20,16 +39,23 @@ Requires(preun): info
 BuildRoot:   %{_tmppath}/%{name}-%{version}-root
 
 %description
-gnubiff is a mail notification program that checks for mail and displays 
-headers when new mail has arrived.
+Gnubiff is a mail notification program that checks for mail, 
+displays headers when new mail has arrived and allow to read
+first lines of new messages. Supported protocols are POP3, APOP, 
+IMAP4, MH, Qmail, and Mail File.
 
 %description -l ja
-gnubiff はメールサーバーに問い合わせをして,新着メールがあったときに
-ヘッダーを表示するメール通知プログラムです.
+Gnubiff はメールサーバーに問い合わせをして、
+新着メールがあったときにヘッダーを表示したり、
+新着メッセージの最初の数行を読めるメール通知プログラムです。
+対応プロトコルは、POP3, APOP, IMAP4, MH, Qmail と
+メールファイル・フォルダです。
+
 
 %prep
 %setup -q
-%patch0 -p1 -b .extradeps
+%patch0 -p1 -b .dsofix
+
 
 %build
 ./configure \
@@ -39,12 +65,17 @@ gnubiff はメールサーバーに問い合わせをして,新着メールが
 	--enable-gnome \
     --with-password \
 	--with-password-string 
-%__make
+%__make %{?_smp_mflags}
 
 %install
 %__rm -rf ${RPM_BUILD_ROOT}
 %__make DESTDIR=${RPM_BUILD_ROOT} install
 
+%__rm -rf %{buildroot}%{_infodir}/dir
+
+desktop-file-install                                    \
+    --dir=%{buildroot}%{_datadir}/applications          \
+    %{buildroot}%{_datadir}/applications/%{name}.desktop
 
 %find_lang %{name}
 
@@ -64,18 +95,30 @@ fi
 
 
 %files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc AUTHORS COPYING LICENSE NEWS README THANKS TODO
-%{_bindir}/gnubiff
-%{_libdir}/bonobo/servers/GNOME_gnubiffApplet.server
+%{_infodir}/%{name}.info*
+%{_mandir}/man*/%{name}*.*
+%{_bindir}/%{name}
+%{_datadir}/%{name}/
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
 %{_datadir}/gnome-2.0/ui/GNOME_gnubiffApplet.xml
-%{_datadir}/gnubiff
-%{_infodir}/gnubiff.info.gz
-%{_mandir}/man1/gnubiff.1.gz
-%{_datadir}/pixmaps/gnubiff.png
+%{_libdir}/bonobo/servers/GNOME_gnubiffApplet.server
 
 
 %changelog
+* Wed Nov 03 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.2.13-1
+- new upstream release
+- applied gnubiff-2.2.13-dsofix.patch from Fedra Rawhide
+  - Add patch to fix DSO linking. (rhbz#564648)
+- added BuildRequires: 
+  - libSM-devel
+  - libgnomeui-devel
+  - gnome-panel-devel
+  - intltool
+  - desktop-file-utils
+
 * Sat May 23 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 2.2.11-1
 - new upstream release
 - added gnubiff-2.2.10-extradeps.patch from Fedora