rpms/PerceptualDiff/devel PerceptualDiff.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chauvet (kwizart) fedora-extras-commits at redhat.com
Wed Apr 18 12:08:25 UTC 2007


Author: kwizart

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

Modified Files:
	.cvsignore sources 
Added Files:
	PerceptualDiff.spec 
Log Message:
Initial import



--- NEW FILE PerceptualDiff.spec ---
Name:			PerceptualDiff          
Version:		1.0.1
Release:		5%{?dist}
Summary:		An image comparison utility

Group:			Applications/Multimedia
License:		GPL
URL:			http://pdiff.sourceforge.net
Source:			http://downloads.sourceforge.net/pdiff/%{name}-%{version}.tar.gz
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	libtiff-devel, libpng-devel, cmake



%description
PerceptualDiff is an image comparison utility that makes use of a 
computational model of the human visual system to compare two images.

This software is released under the GNU General Public License.

%prep
%setup -q
sed -i 's/\r//' gpl.txt
sed -i 's/\r//' README.txt
sed -i 's/\r//' LPyramid.cpp
sed -i 's/\r//' LPyramid.h
chmod 0644 *


%build
export  CFLAGS="$RPM_OPT_FLAGS" 
export  CXXFLAGS="$RPM_OPT_FLAGS"
export  FFLAGS="$RPM_OPT_FLAGS"

cmake \
%if %{?_lib} == "lib64"
	-DLIB_SUFFIX=64 \
%endif
	-DCMAKE_SKIP_RPATH:BOOL=ON \
	-DBUILD_SHARED_LIBS:BOOL=ON \
	-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} .
make VERBOSE=1 %{?_smp_mflags}



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

chmod 755 $RPM_BUILD_ROOT%{_bindir}/perceptualdiff

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README.txt gpl.txt
%{_bindir}/perceptualdiff



%changelog
* Tue Apr 17 2007 kwizart < kwizart at gmail.com > - 1.0.1-5
- Removed cflags calls at cmake step.

* Tue Apr 17 2007 kwizart < kwizart at gmail.com > - 1.0.1-4
- Fix CXXFLAGS
- Fix wrong-script-end-of-line-encoding and spurious-executable-perm

* Tue Apr 17 2007 kwizart < kwizart at gmail.com > - 1.0.1-3
- Fix RPATHs from cmake build from:
  http://fedoraproject.org/wiki/PackagingDrafts/cmake
- Make VERBOSE=1

* Sat Apr 14 2007 kwizart < kwizart at gmail.com > - 1.0.1-2
- Minor fixes wip

* Wed Apr 11 2007 kwizart < kwizart at gmail.com > - 1.0.1-1
- Update to 1.0.1
- Fix RPATHs
- Removed Exclude x86_64

* Sun Jan 21 2007 Tobias Sauerwein <tsauerwein at aqsis.org> 1.0-2
- BuildRequires fixed
- Excluded x86_64

* Thu Jan 18 2007 Tobias Sauerwein <tsauerwein at aqsis.org> 1.0-1
- Update to 1.0

* Mon Dec 11 2006 Tobias Sauerwein <tsauerwein at aqsis.org> 0.9
- Initial RPM/SPEC


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/PerceptualDiff/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Apr 2007 04:14:34 -0000	1.1
+++ .cvsignore	18 Apr 2007 12:07:51 -0000	1.2
@@ -0,0 +1 @@
+PerceptualDiff-1.0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/PerceptualDiff/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Apr 2007 04:14:34 -0000	1.1
+++ sources	18 Apr 2007 12:07:51 -0000	1.2
@@ -0,0 +1 @@
+2f7d90f478036bb2184663e56e8b1d3b  PerceptualDiff-1.0.1.tar.gz




More information about the fedora-extras-commits mailing list