rpms/pic2aa/devel pic2aa.desktop, NONE, 1.1 pic2aa.spec, NONE, 1.1 shot1.png, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Krzysztof Kurzawski (kurzawa)
fedora-extras-commits at redhat.com
Fri Feb 15 03:11:42 UTC 2008
- Previous message (by thread): rpms/kdepim/devel .cvsignore, 1.41, 1.42 kdepim.spec, 1.151, 1.152 sources, 1.46, 1.47 kdepim-3.5.7-kde#146967.patch, 1.1, NONE
- Next message (by thread): rpms/pic2aa/F-7 pic2aa.desktop, NONE, 1.1 pic2aa.spec, NONE, 1.1 shot1.png, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kurzawa
Update of /cvs/pkgs/rpms/pic2aa/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6349/devel
Modified Files:
.cvsignore sources
Added Files:
pic2aa.desktop pic2aa.spec shot1.png
Log Message:
import pic2aa 0.2.1
--- NEW FILE pic2aa.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Pic2AA
GenericName=Pic2AA
Comment= Pic2AA is tool for converting jpeg/png to AA (Ascii Art) images
Comment[pl_PL]= Pic2AA to narzÄdzie do konwertowanie jpeg/png do AA (Ascii Art) obrazków
Exec=pic2aa
Icon=pic2aa
Terminal=false
Type=Application
Categories=Graphics;
GenericName[pl_PL]=Pic2AA
--- NEW FILE pic2aa.spec ---
Name: pic2aa
Version: 0.2.1
Release: 3%{?dist}
Summary: Pic2AA is tool for converting jpeg/png to AA (Ascii Art) images
Summary(pl): Pic2AA to narzÄdzie do konwertowanie jpeg/png do AA (Ascii Art) obrazków
Group: Applications/Multimedia
License: GPLv2+
URL: http://scripts.one.pl/%{name}
Source0: http://scripts.one.pl/%{name}/files/%{name}-%{version}.tar.gz
Source1: http://scripts.one.pl/%{name}/ss/shot1.png
Source2: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt-devel ImageMagick aalib-devel desktop-file-utils
Requires: hicolor-icon-theme
%description
Pic2AA is tool for converting jpeg/png (and any other image formats
supported by Qt library) to AA (Ascii Art) images, using AA-Lib library.
It can show previews of converted image and save image into text file.
%description -l pl
Pic2AA to narzÄdzie do konwertowanie jpeg/png (i innych formatów obrazkowych
formatów wspieranych przez Qt biblitoeke) do AA (Ascii Art)obrazków, używajÄ
c
AA-Lib biblioteki. Może pokazwyaÄ podglÄ
d przekonwertowanego obrazka i zapisaÄ
obrazek do pliku tekstowego.
%prep
%setup -q
iconv --from=ISO-8859-1 --to=UTF-8 COPYING > COPYING.utf8
mv COPYING.utf8 COPYING
iconv --from=ISO-8859-1 --to=UTF-8 AUTHORS > AUTHORS.utf8
mv AUTHORS.utf8 AUTHORS
mkdir icons
for size in 16 22 24 32 36 48; do
mkdir -p icons/${size}x${size}/apps
convert %{SOURCE1} -resize ${size}x${size} icons/${size}x${size}/apps/%{name}.png
done
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor
cp -pr icons/*x* $RPM_BUILD_ROOT%{_datadir}/icons/hicolor
desktop-file-install --vendor="fedora" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE2}
%clean
rm -rf $RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%exclude %{_datadir}/%{name}
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%{_datadir}/applications/fedora-%{name}.desktop
%changelog
* Tue Feb 12 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.2.1-3
- Correct .desktop
* Sun Feb 10 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.2.1-2
- Correct summary and description
- Convert doc to UTF-8
* Sun Feb 10 2008 Krzysztof Kurzawski <kurzawax at gmail.com> - 0.2.1-1
- First release
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pic2aa/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 13 Feb 2008 17:36:02 -0000 1.1
+++ .cvsignore 15 Feb 2008 03:11:06 -0000 1.2
@@ -0,0 +1 @@
+pic2aa-0.2.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pic2aa/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 13 Feb 2008 17:36:02 -0000 1.1
+++ sources 15 Feb 2008 03:11:06 -0000 1.2
@@ -0,0 +1 @@
+8c0431aa6521f6abc55459cb9d6e70f8 pic2aa-0.2.1.tar.gz
- Previous message (by thread): rpms/kdepim/devel .cvsignore, 1.41, 1.42 kdepim.spec, 1.151, 1.152 sources, 1.46, 1.47 kdepim-3.5.7-kde#146967.patch, 1.1, NONE
- Next message (by thread): rpms/pic2aa/F-7 pic2aa.desktop, NONE, 1.1 pic2aa.spec, NONE, 1.1 shot1.png, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list