[tintii/el6] Initial SETUP.
Christopher Meng
cicku at fedoraproject.org
Fri May 9 11:59:54 UTC 2014
commit 8740233bf2b72c3d78c70699b33e98762267c78e
Author: Christopher Meng <i at cicku.me>
Date: Fri May 9 19:59:35 2014 +0800
Initial SETUP.
.gitignore | 1 +
sources | 1 +
tintii.desktop | 12 +++++++++
tintii.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tintii_128.png | Bin 0 -> 22351 bytes
5 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..58ecf53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tintii-2.8.2.tar.gz
diff --git a/sources b/sources
index e69de29..9ccfae2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+441ceb115e0bb1ec04a7c575f9bda714 tintii-2.8.2.tar.gz
diff --git a/tintii.desktop b/tintii.desktop
new file mode 100644
index 0000000..8e4f748
--- /dev/null
+++ b/tintii.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Tintii
+GenericName=Selective colour, saturation and hue shift effects utility
+Version=1.0
+Type=Application
+Exec=tintii %f
+Icon=tintii
+Categories=Graphics;Photography;
+Comment=Utility for selective colour, saturation and hue shift photo adjustments
+StartupNotify=true
+Terminal=false
+MimeType=image/x-bmp;image/gif;image/jpeg;image/x-pcx;image/png;image/x-portable-pixmap;image/x-targa;image/tiff;image/x-xpm;
diff --git a/tintii.spec b/tintii.spec
new file mode 100644
index 0000000..9f50b48
--- /dev/null
+++ b/tintii.spec
@@ -0,0 +1,74 @@
+Name: tintii
+Version: 2.8.2
+Release: 1%{?dist}
+Summary: Selective colour, saturation and hue shift effects utility
+License: GPLv2
+URL: http://www.indii.org/software/tintii
+Source0: http://www.indii.org/files/tint/releases/%{name}-%{version}.tar.gz
+Source1: %{name}.desktop
+Source2: http://www.indii.org/images/%{name}_128.png
+BuildRequires: ImageMagick
+BuildRequires: boost-devel
+BuildRequires: desktop-file-utils
+BuildRequires: wxGTK-devel
+Requires: hicolor-icon-theme
+
+%description
+Tintii is a utility for selective colour, saturation and hue shift
+photo adjustments. Its unique ability is to automatically detect the
+major colours in a photo to allow colour-specific changes. This makes
+adjustments quick, easy, and more precise than other means.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+# Desktop file.
+desktop-file-install %{S:1} \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+# Install source icon.
+install -pDm644 %{S:2} \
+ %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
+
+# Convert to various sizes, via the 128x128 source.
+for size in 96x96 72x72 64x64 48x48 32x32 24x24 22x22 16x16 ; do
+ install -pdm755 \
+ %{buildroot}%{_datadir}/icons/hicolor/${size}/apps
+ convert -resize ${size} %{S:2} \
+ %{buildroot}%{_datadir}/icons/hicolor/${size}/apps/%{name}.png
+done
+
+%post
+update-desktop-database &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files
+%doc COPYING README
+%{_bindir}/tintii
+%{_datadir}/tintii/
+%{_datadir}/applications/tintii.desktop
+%{_datadir}/icons/hicolor/*x*/apps/tintii.png
+
+%changelog
+* Tue Jan 21 2014 Christopher Meng <rpm at cicku.me> - 2.8.2-1
+- Update to 2.8.2
+
+* Wed Sep 14 2011 Christopher Meng <rpm at cicku.me> - 2.3.0-1
+- Initial Package.
diff --git a/tintii_128.png b/tintii_128.png
new file mode 100644
index 0000000..6fde69e
Binary files /dev/null and b/tintii_128.png differ
More information about the scm-commits
mailing list