]> git.pld-linux.org Git - packages/bluefish.git/blobdiff - bluefish.spec
- adapterized
[packages/bluefish.git] / bluefish.spec
index 474774cffe6e5c11169118b6b6f3386e5cbce674..3997ffafdcafd743fd080916bd74e4f9bee2cfd0 100644 (file)
@@ -1,23 +1,29 @@
 Summary:       Bluefish - HTML editor for the experienced web designer
 Summary(pl):   Bluefish - Edytor HTML dla zaawansowanych
 Name:          bluefish
-Version:       0.3.6
-Release:       1
+Version:       0.6
+Release:       2
 License:       GPL
 Group:         X11/Applications/Editors
+Group(de):     X11/Applikationen/Editors
 Group(pl):     X11/Aplikacje/Edytory
-Source0:       http://bluefish.linuxbox.com/download/%{name}-%{version}.tar.bz2
-Source1:       bluefish.desktop
-Patch0:                bluefish-DESTDIR.patch
-URL:           http://bluefish.linuxbox.com/
+Group(pt):     X11/Aplicações/Editores
+Source0:       http://bluefish.openoffice.nl/download/%{name}-%{version}.tar.bz2
+Source1:       %{name}.desktop
+Source2:       %{name}.png
+Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-ac_lt.patch
+URL:           http://bluefish.openoffice.nl/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: gettext-devel
 BuildRequires: gtk+-devel >= 1.2.0
 BuildRequires: imlib-devel
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
+BuildRequires: libpng >= 1.0.8
 BuildRequires: libtiff-devel
 BuildRequires: libungif-devel
-BuildRequires: zlib-devel
-BuildRequires: gettext-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
@@ -28,26 +34,31 @@ designer.
 
 %description -l pl
 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
-do¶wiadczonych  projektantów stron WWW.
+do¶wiadczonych projektantów stron WWW.
 
-%prep
+%prep 
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p1
 
 %build
 gettextize --copy --force
-LDFLAGS="-s"; export LDFLAGS
+libtoolize --copy --force
+aclocal
+autoconf
 %configure \
        --with-install-location=%{_datadir}/bluefish
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Editors
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Office/Editors,%{_pixmapsdir}}
 
-make prefix=$RPM_BUILD_ROOT%{_prefix} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 gzip -9nf README ChangeLog BUGS AUTHORS NEWS TODO
 
@@ -62,4 +73,5 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 
 %{_datadir}/bluefish
-%{_applnkdir}/Editors/bluefish.desktop
+%{_applnkdir}/Office/Editors/bluefish.desktop
+%{_pixmapsdir}/*
This page took 0.07062 seconds and 4 git commands to generate.