]> git.pld-linux.org Git - packages/bluefish.git/blobdiff - bluefish.spec
- cosmetics
[packages/bluefish.git] / bluefish.spec
index 05fb58c3ac9857550bf870acb2f329a24e01bc91..512ff9e7adc20657f48c8e58e3b4432f0fd80455 100644 (file)
@@ -2,8 +2,8 @@ Summary:        Bluefish - HTML editor for the experienced web designer
 Summary(pl):   Bluefish - Edytor HTML dla zaawansowanych
 Summary(pt_BR):        Editor HTML Bluefish
 Name:          bluefish
-Version:       0.7
-Release:       3
+Version:       0.9
+Release:       0.2
 License:       GPL
 Group:         X11/Applications/Editors
 # The master server is here
@@ -14,20 +14,22 @@ Source1:    %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-ac_lt.patch
+Patch2:                %{name}-locale.patch
+Patch3:                %{name}-netscape-now-mozilla.patch
+Patch4:                %{name}-pl.patch
 URL:           http://bluefish.openoffice.nl/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: gettext-devel
-BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: gtk+2-devel
 BuildRequires: imlib-devel
 BuildRequires: libjpeg-devel
-BuildRequires: libpng >= 1.0.8
+BuildRequires: libpng >= 1.2.5
 BuildRequires: libtiff-devel
 BuildRequires: libungif-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
 
 %description
 Bluefish is a GTK+ based HTML editor designed for the experienced web
@@ -43,31 +45,48 @@ experientes. Atualmente ele est
 usável. Algumas opções ainda não estão completamente finalizadas.
 Bluefish é liberado sob a licença GPL.
 
-%prep 
+%prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+#%patch1 -p1
+#%patch2 -p1
+#%patch3 -p1
+#%patch4 -p1
 
 %build
-gettextize --copy --force
-libtoolize --copy --force
-aclocal
-autoconf
+%ifarch i586
+OPTIMIZATION="--enable-gcc3-optimization=pentium"
+%endif
+%ifarch i686 athlon
+OPTIMIZATION="--enable-gcc3-optimization=pentiumpro"
+%endif
+
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
 %configure \
-       --with-install-location=%{_datadir}/bluefish
+       $OPTIMIZATION   
 %{__make}
 
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Office/Editors,%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Editors/HTML,%{_pixmapsdir},%{_datadir},%{_bindir}}
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors/HTML
+install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}/
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+cd po
+make install DESTDIR=$RPM_BUILD_ROOT
+cd ..
 
-gzip -9nf README ChangeLog BUGS AUTHORS NEWS TODO
+install src/%{name} $RPM_BUILD_ROOT%{_bindir}
+
+install -d icons/*.png $RPM_BUILD_ROOT%{_datadir}/%{name}/
+install data/*.default $RPM_BUILD_ROOT%{_datadir}/%{name}/
+ln -sf %{_pixmapsdir}/%{name}.png $RPM_BUILD_ROOT%{_datadir}/%{name}/
 
 %find_lang %{name}
 
@@ -76,9 +95,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {README,ChangeLog,BUGS,AUTHORS,NEWS,TODO}.gz
+%doc doc 
 %attr(755,root,root) %{_bindir}/*
-
-%{_datadir}/bluefish
-%{_applnkdir}/Office/Editors/bluefish.desktop
+%{_datadir}/%{name}/*
+%{_applnkdir}/Editors/HTML/bluefish.desktop
 %{_pixmapsdir}/*
This page took 0.35436 seconds and 4 git commands to generate.