diff --git a/ansifilter-1.3.tar.bz2 b/ansifilter-1.3.tar.bz2 deleted file mode 100644 index f66c4c9..0000000 --- a/ansifilter-1.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0eed2a040a52c320d3a867b4081841cd0bea115ea8d498d085e776d0d9fe6584 -size 48868 diff --git a/ansifilter-1.6.tar.bz2 b/ansifilter-1.6.tar.bz2 new file mode 100644 index 0000000..63db05b --- /dev/null +++ b/ansifilter-1.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a704438f6b93b9695e6f15c17df189a1a343dc65678a0a16fdf521a53e91c52 +size 50449 diff --git a/ansifilter.changes b/ansifilter.changes new file mode 100644 index 0000000..e7744bb --- /dev/null +++ b/ansifilter.changes @@ -0,0 +1,23 @@ +------------------------------------------------------------------- +Thu Mar 31 15:54:51 UTC 2011 - pascal.bleser@opensuse.org + +- fix license: it's GPLv3, not GPLv2 + +- update to 1.6: + * fixed tab output + * added support for aixterm codes + * added bbcode output + * brightened default colours + +- changes from 1.5: + * fixed parsing of grep escape sequences + +- changes from 1.4: + * fixed parsing of xterm escape sequences + +------------------------------------------------------------------- +Fri Jul 24 00:00:00 UTC 2009 - pascal.bleser@opensuse.org + +- new package + + diff --git a/ansifilter.spec b/ansifilter.spec index c415b79..7848cdc 100644 --- a/ansifilter.spec +++ b/ansifilter.spec @@ -1,4 +1,4 @@ -# norootforbuild +# vim: set ts=4 sw=4 et: %if 0%{?suse_version} > 1030 %define with_gui 1 @@ -6,22 +6,22 @@ %define with_gui 0 %endif -Name: ansifilter -Version: 1.3 -Release: 0 -Summary: ANSI Terminal Escape Code Converter -Source: http://www.andre-simon.de/zip/ansifilter-%{version}.tar.bz2 -Source1: ansifilter.desktop -URL: http://www.andre-simon.de/ -Group: Development/Tools/Other -License: GNU General Public License version 2 (GPL v2) -BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: gcc-c++ libstdc++-devel pkgconfig -BuildRequires: gcc make glibc-devel -BuildRequires: ImageMagick -BuildRequires: update-desktop-files +Name: ansifilter +Version: 1.6 +Release: 0 +Summary: ANSI Terminal Escape Code Converter +Source: http://www.andre-simon.de/zip/ansifilter-%{version}.tar.bz2 +Source1: ansifilter.desktop +URL: http://www.andre-simon.de/ +Group: Development/Tools/Other +License: GNU General Public License version 3 (GPL v3) +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: gcc-c++ libstdc++-devel pkgconfig +BuildRequires: gcc make glibc-devel +BuildRequires: ImageMagick +BuildRequires: update-desktop-files %if %with_gui -BuildRequires: libqt4-devel +BuildRequires: libqt4-devel %endif %description @@ -38,9 +38,9 @@ Authors: %if %with_gui %package gui -Summary: ANSI Terminal Escape Code Converter -Group: Development/Tools/Other -Requires: %{name} = %{version}-%{release} +Summary: ANSI Terminal Escape Code Converter +Group: Development/Tools/Other +Requires: %{name} = %{version}-%{release} %description gui Ansifilter handles text files containing ANSI terminal escape codes. @@ -57,56 +57,55 @@ Authors: Andre Simon %endif -%debug_package %prep -%setup -q +%setup -q -n ansifilter convert src/qt-gui/ansifilter.{ico,png} %build %__make %{?jobs:-j%{jobs}} \ - QMAKE="%{_usr}/bin/qmake" \ - PREFIX="%{_prefix}" \ - man_dir="%{_mandir}/man1" \ - doc_dir="%{_docdir}/%{name}" \ - all \ + QMAKE="%{_usr}/bin/qmake" \ + PREFIX="%{_prefix}" \ + man_dir="%{_mandir}/man1" \ + doc_dir="%{_docdir}/%{name}" \ + all \ %if %with_gui - all-gui + all-gui %endif %install %__make \ DESTDIR="%{buildroot}" \ - QMAKE="%{_usr}/bin/qmake" \ - PREFIX="%{_prefix}" \ - man_dir="%{_mandir}/man1" \ - doc_dir="%{_docdir}/%{name}" \ - install \ + QMAKE="%{_usr}/bin/qmake" \ + PREFIX="%{_prefix}" \ + man_dir="%{_mandir}/man1" \ + doc_dir="%{_docdir}/%{name}" \ + install \ %if %with_gui - install-gui + install-gui %endif %__rm "%{buildroot}%{_docdir}/%{name}"/INSTALL for f in "%{buildroot}%{_mandir}/man1"/*.gz; do - [ -e "$f" ] && %__gzip -d "$f" + [ -e "$f" ] && %__gzip -d "$f" done %if %with_gui %__install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/ansifilter.desktop" %__install -D -m0644 src/qt-gui/ansifilter.png "%{buildroot}%{_datadir}/pixmaps/ansifilter.png" -%__sed -i 's|^\(Icon=\).*$|$1ansifilter.png|g' "%{buildroot}%{_datadir}/applications/ansifilter.desktop" +%__sed -i 's|^\(Icon=\).*$|\1ansifilter.png|g' "%{buildroot}%{_datadir}/applications/ansifilter.desktop" %suse_update_desktop_file -r ansifilter Development Documentation %endif %clean -%__rm -rf "%{buildroot}" +%{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc %dir %{_docdir}/%{name} %doc %{_docdir}/%{name}/* %{_bindir}/ansifilter -%doc %{_mandir}/man1/ansifilter.1* +%doc %{_mandir}/man1/ansifilter.1%{ext_man} %if %with_gui %files gui @@ -117,11 +116,3 @@ done %endif %changelog -* Fri Jul 24 2009 Pascal Bleser 1.3 -- new package - -# vim: set sw=3 ts=3 noet: -# Local Variables: -# mode: rpm-spec -# tab-width: 3 -# End: