rpms/nip2/devel nip2.desktop, NONE, 1.1 nip2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Adam Goode (agoode) fedora-extras-commits at redhat.com
Tue Aug 1 23:10:58 UTC 2006


Author: agoode

Update of /cvs/extras/rpms/nip2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5944/devel

Modified Files:
	.cvsignore sources 
Added Files:
	nip2.desktop nip2.spec 
Log Message:
auto-import nip2-7.10.20-1 on branch devel from nip2-7.10.20-1.src.rpm


--- NEW FILE nip2.desktop ---
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=nip2
Comment=Image Processing System
Exec=nip2 %F
Icon=nip2.png
Terminal=false
Categories=Graphics
Version=7.10.20


--- NEW FILE nip2.spec ---
Name:		nip2
Version:	7.10.20
Release:	1%{?dist}
Summary:	Interactive tool for working with large images

Group:		Applications/Multimedia
License:	GPL
URL:		http://www.vips.ecs.soton.ac.uk/
Source0:	http://www.vips.ecs.soton.ac.uk/vips-7.10/%{name}-%{version}.tar.gz
Source1:	nip2.desktop
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	vips-devel gtk2-devel shared-mime-info gnome-icon-theme
BuildRequires:	flex bison intltool fftw-devel libxml2-devel gettext
BuildRequires:	desktop-file-utils
#Requires:


# description taken from Debian package
%description
nip2 is a graphical front end to the VIPS package.
With nip2, rather than directly editing images, you build
relationships between objects in a spreadsheet-like fashion. When you
make a change somewhere, nip2 recalculates the objects affected by
that change. Since it is demand-driven this update is very fast, even
for very, very large images. nip2 is very good at creating pipelines
of image manipulation operations. It is not very good for image
editing tasks like touching up photographs. For that, a tool like the
GIMP should be used instead.


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# delete doc (we will get it later with %doc)
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/nip2

# malkovich??
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/locale/malkovich

# locale stuff
%find_lang nip2

# icon
install -d ${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/128x128/apps
cp -a share/nip2/data/vips-128.png	\
	${RPM_BUILD_ROOT}%{_datadir}/icons/hicolor/128x128/apps/nip2.png

# desktop file
desktop-file-install --vendor fedora 			\
	--dir ${RPM_BUILD_ROOT}%{_datadir}/applications	\
	--add-category X-Fedora				\
	%{SOURCE1}


%post
# scriptlet for icons
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

# scriptlet for desktop database
update-desktop-database &> /dev/null || :


%postun
# scriptlet for icons
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
	%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

# scriptlet for desktop database
update-desktop-database &> /dev/null || :


%clean
rm -rf $RPM_BUILD_ROOT


%files -f nip2.lang
%defattr(-,root,root,-)
%doc doc/html doc/ps AUTHORS ChangeLog COPYING NEWS THANKS TODO
%{_bindir}/nip2
%{_bindir}/run-nip2.sh
%{_datadir}/nip2
%{_mandir}/man1/nip2.1.gz
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/applications/*


%changelog
* Sat Jul 22 2006 Adam Goode <adam at spicenitz.org> - 7.10.20-1
- New upstream release
- Updated for FC5

* Thu Jan 30 2003 John Cupitt <john.cupitt at ng-london.org.uk> 7.8.6-1
- first stab at an rpm package for nip


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/nip2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Aug 2006 23:03:44 -0000	1.1
+++ .cvsignore	1 Aug 2006 23:10:57 -0000	1.2
@@ -0,0 +1 @@
+nip2-7.10.20.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/nip2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Aug 2006 23:03:44 -0000	1.1
+++ sources	1 Aug 2006 23:10:57 -0000	1.2
@@ -0,0 +1 @@
+c60c36f5232dcebba5f0cbe9531e56fd  nip2-7.10.20.tar.gz




More information about the scm-commits mailing list