Skip to content

Commit 6820dcf

Browse files
committed
more nip2 cleanups
1 parent fcc5691 commit 6820dcf

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Process this file with autoconf to produce a configure script.
22

3-
AC_INIT([nip2], [8.9.1], [vipsip@jiscmail.ac.uk])
3+
AC_INIT([nip4], [8.9.1], [vipsip@jiscmail.ac.uk])
44

55
# foreign stops complaints about a missing README (we use README.md instead)
66
# and missing INSTALL (the standard Gnu INSTALL is not very useful)

nip4.spec

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: nip4
2-
Version: 8.9.0
2+
Version: 8.9.1
33
Release: 1%{?dist}
44
Summary: Interactive tool for working with large images
55

@@ -19,12 +19,12 @@ BuildRequires: desktop-file-utils
1919

2020
# description taken from Debian package
2121
%description
22-
nip2 is a graphical front end to the VIPS package.
23-
With nip2, rather than directly editing images, you build
22+
nip4 is a graphical front end to the VIPS package.
23+
With nip4, rather than directly editing images, you build
2424
relationships between objects in a spreadsheet-like fashion. When you
25-
make a change somewhere, nip2 recalculates the objects affected by
25+
make a change somewhere, nip4 recalculates the objects affected by
2626
that change. Since it is demand-driven this update is very fast, even
27-
for very, very large images. nip2 is very good at creating pipelines
27+
for very, very large images. nip4 is very good at creating pipelines
2828
of image manipulation operations. It is not very good for image
2929
editing tasks like touching up photographs. For that, a tool like the
3030
GIMP should be used instead.
@@ -44,32 +44,32 @@ rm -rf $RPM_BUILD_ROOT
4444
make install DESTDIR=$RPM_BUILD_ROOT
4545

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

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

52-
# the nip2 post install hook seems to run update-mime-database, but we
52+
# the nip4 post install hook seems to run update-mime-database, but we
5353
# need to run it in post
5454
rm -rf $RPM_BUILD_ROOT%{_datadir}/mime
5555
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mime/packages
56-
cp -a nip2.xml $RPM_BUILD_ROOT%{_datadir}/mime/packages
56+
cp -a nip4.xml $RPM_BUILD_ROOT%{_datadir}/mime/packages
5757

5858
# same with desktop file
5959
rm -rf $RPM_BUILD_ROOT%{_datadir}/applications
6060

6161
# locale stuff
62-
%find_lang nip2
62+
%find_lang nip4
6363

6464
# icon
6565
install -d $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
66-
cp -a share/nip2/data/vips-128.png \
67-
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/nip2.png
66+
cp -a share/nip4/data/vips-128.png \
67+
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/nip4.png
6868

6969
# desktop file
7070
desktop-file-install --vendor fedora \
7171
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
72-
nip2.desktop
72+
nip4.desktop
7373

7474

7575
%post
@@ -104,16 +104,16 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
104104
rm -rf $RPM_BUILD_ROOT
105105

106106

107-
%files -f nip2.lang
107+
%files -f nip4.lang
108108
%defattr(-,root,root,-)
109109
%doc doc/html doc/pdf AUTHORS ChangeLog COPYING NEWS THANKS TODO
110-
%{_bindir}/nip2
111-
%{_bindir}/run-nip2.sh
112-
%{_datadir}/nip2
113-
%{_mandir}/man1/nip2.1.gz
110+
%{_bindir}/nip4
111+
%{_bindir}/run-nip4.sh
112+
%{_datadir}/nip4
113+
%{_mandir}/man1/nip4.1.gz
114114
%{_datadir}/icons/hicolor/*/apps/*
115115
%{_datadir}/applications/*
116-
%{_datadir}/mime/packages/nip2.xml
116+
%{_datadir}/mime/packages/nip4.xml
117117

118118

119119
%changelog

0 commit comments

Comments
 (0)