Author: pawelz Date: Fri Jul 25 23:59:58 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - Scriptable Network Graphics compiler/decompiler - initial PLD release
---- Files affected: SPECS: sng.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/sng.spec diff -u /dev/null SPECS/sng.spec:1.1 --- /dev/null Sat Jul 26 01:59:58 2008 +++ SPECS/sng.spec Sat Jul 26 01:59:53 2008 @@ -0,0 +1,75 @@ +# $Revision$, $Date$ +# +Summary: Scriptable Network Graphics tool +Summary(pl.UTF-8): Narzędzie do obsługi formatu SNG +Name: sng +Version: 1.0.2 +Release: 0.1 +License: distributable - libpng license +Group: Applications/Graphics +Source0: http://dl.sourceforge.net/sng/%{name}-%{version}.tar.gz +# Source0-md5: 7bcbab5d60435da9aa106f3da926c049 +Patch0: %{name}-buildfix.patch +URL: http://sng.sourceforge.net/ +BuildRequires: libpng >= 1.0.9 +BuildRequires: xorg-app-rgb +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +SNG (Scriptable Network Graphics) is a minilanguage designed +specifically to represent the entire contents of a PNG (Portable +Network Graphics) file in an editable form. Thus, SNGs representing +elaborate graphics images and ancillary chunk data can be readily +generated or modified using only text tools. + +SNG is implemented by a compiler/decompiler called sng that losslessly +translates between SNG and PNG. + +%description -l pl.UTF-8 +Minijęzyk SNG (Scriptable Network Graphics) jest tekstową +reprezentacją plików PNG. Pliki SNG zawierają te same informacje co +pliki PNG, mogą jednak być edytowane za pomocą zwykłego edytora +tekstu lub innych narzędzi do obróbki plików tekstowych. + +Pakiet SNG zawiera implementację kompilatora/dekompilatora który +pozwala bezstratnie konwertować pliki między formatami PNG a SNG. + +%prep +%setup -q + +%patch0 -p1 + +%build +%configure \ + --with-rgbtxt=%{_datadir}/X11/rgb.txt + +%{__make} + + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/%{name} +%{_mandir}/man1/* +%doc AUTHORS COPYING ChangeLog NEWS README TODO test.sng + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/07/25 23:59:53 pawelz +- Scriptable Network Graphics compiler/decompiler +- initial PLD release + + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
