Author: megabajt Date: Wed Feb 7 13:20:47 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - updated to 1.0.7
---- Files affected: SPECS: bluefish.spec (1.81 -> 1.82) ---- Diffs: ================================================================ Index: SPECS/bluefish.spec diff -u SPECS/bluefish.spec:1.81 SPECS/bluefish.spec:1.82 --- SPECS/bluefish.spec:1.81 Tue Nov 7 23:21:10 2006 +++ SPECS/bluefish.spec Wed Feb 7 14:20:42 2007 @@ -9,13 +9,13 @@ Summary: Bluefish - HTML editor for the experienced web designer Summary(pl): Bluefish - Edytor HTML-a dla zaawansowanych Name: bluefish -Version: 1.0.4 -Release: 2 +Version: 1.0.7 +Release: 1 License: GPL Group: X11/Applications/Editors # The master server is here -Source0: http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2 -# Source0-md5: 8d5c1b7315cdc935aa024954093d2b32 +Source0: http://www.bennewitz.com/bluefish/stable/source/bluefish-1.0.7.tar.bz2 +# Source0-md5: 2c3b3c9c8f8e32b9473dfd879f216dea # but if you want ftp: try this one # Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2 Patch0: %{name}-desktop.patch @@ -29,6 +29,7 @@ BuildRequires: giflib-devel BuildRequires: gnome-vfs2-devel >= 2.2 BuildRequires: gtk+2-devel +BuildRequires: home-etc-devel BuildRequires: libbonobo-devel >= 2.2 BuildRequires: libjpeg-devel BuildRequires: libpng >= 1.2.5 @@ -36,10 +37,11 @@ BuildRequires: libtool BuildRequires: pcre-devel BuildRequires: pkgconfig -BuildRequires: rpmbuild(macros) >= 1.197 +BuildRequires: rpmbuild(macros) >= 1.311 Requires(post,postun): desktop-file-utils +Requires(post,postun): gtk+2 +Requires(post,postun): hicolor-icon-theme Requires(post,postun): shared-mime-info -Requires: hicolor-icon-theme BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -59,15 +61,13 @@ %prep %setup -q %patch0 -p1 -#%patch1 -p1 +%patch1 -p1 %patch2 -p1 mv -f po/{no,nb}.po mv -f po/sr{,@Latn}.po %build -#%%{__gettextize} -%{__libtoolize} %{__aclocal} %{__autoconf} %configure \ @@ -80,15 +80,14 @@ %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ - $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes +install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-mime-application-bluefish-project.png \ + $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes/gnome-mime-application-bluefish-project.png rm -f $RPM_BUILD_ROOT%{_desktopdir}/bluefish-project.desktop -mv $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-application-bluefish-project.png \ - $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes %find_lang %{name} @@ -96,26 +95,25 @@ rm -rf $RPM_BUILD_ROOT %post -umask 022 -update-mime-database %{_datadir}/mime ||: +%update_mime_database %update_desktop_database_post +%update_icon_cache hicolor %postun %update_desktop_database_postun -if [ $1 = 0 ]; then - umask 022 - update-mime-database %{_datadir}/mime -fi +%update_mime_database +%update_icon_cache hicolor %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS README TODO -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/bluefish %{_datadir}/%{name} -%{_datadir}/mime/packages/*.xml -%{_desktopdir}/*.desktop -%{_iconsdir}/hicolor/48x48/mimetypes/*.png -%{_pixmapsdir}/* +%{_datadir}/mime/packages/bluefish.xml +%{_mandir}/man1/bluefish.1* +%{_iconsdir}/hicolor/48x48/mimetypes/gnome-mime-application-bluefish-project.png +%{_desktopdir}/bluefish.desktop +%{_pixmapsdir}/bluefish-icon.png %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -123,6 +121,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.82 2007/02/07 13:20:42 megabajt +- updated to 1.0.7 + Revision 1.81 2006/11/07 22:21:10 glen - do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/bluefish.spec?r1=1.81&r2=1.82&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
