Summary(pl.UTF-8): bbe - binarny edytor blokowy
Name: bbe
Version: 0.2.2
-Release: 0.1
+Release: 1
License: GPL v2
Group: Applications/Text
-Source0: http://dl.sourceforge.net/bbe-/%{name}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/bbe-/%{name}-%{version}.tar.gz
# Source0-md5: b056d0bfd852384aced73d4533887d4b
URL: http://members.surfeu.fi/tjsa/bbe/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
DESTDIR=$RPM_BUILD_ROOT \
htmldir=%{_docdir}/%{name}-%{version}
+# clean docdir
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog
%attr(755,root,root) %{_bindir}/bbe
%{_mandir}/man1/bbe.*
%{_infodir}/bbe.*
-
-%clean
-rm -rf $RPM_BUILD_ROOT