rpms/iec16022/F-12 iec16022-0.2.4-test-suite-fix.patch, NONE, 1.1 iec16022.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tareq Al Jurf
taljurf at fedoraproject.org
Thu Jul 1 08:09:21 UTC 2010
- Previous message: rpms/iec16022/F-13 iec16022-0.2.4-test-suite-fix.patch, NONE, 1.1 iec16022.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/firefox/F-13 firefox.spec,1.367,1.368
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: taljurf
Update of /cvs/pkgs/rpms/iec16022/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12173
Modified Files:
.cvsignore sources
Added Files:
iec16022-0.2.4-test-suite-fix.patch iec16022.spec
Log Message:
Initial build for F12
iec16022-0.2.4-test-suite-fix.patch:
testsuite.sh | 10 +++++-----
testsuite.sh~ |only
2 files changed, 5 insertions(+), 5 deletions(-)
--- NEW FILE iec16022-0.2.4-test-suite-fix.patch ---
diff -dur iec16022-0.2.4.orig/test/testsuite.sh iec16022-0.2.4/test/testsuite.sh
--- iec16022-0.2.4.orig/test/testsuite.sh 2008-11-30 03:22:32.000000000 +0300
+++ iec16022-0.2.4/test/testsuite.sh 2010-06-02 14:15:14.130267000 +0300
@@ -8,11 +8,11 @@
../iec16022 -o testsuite-test.bin -f Bin -c "Aolash3l dee6Ieke OhBohm1C MengaR9m zaHaoQu2 huW3Uer8 ieg7chaJ haiKua1o"
../iec16022 -o testsuite-test.hex -f Hex -c "Aolash3l dee6Ieke OhBohm1C MengaR9m zaHaoQu2 huW3Uer8 ieg7chaJ haiKua1o"
-diff -b testsuite-test.text testsuite-example.text && echo "Text test passed" || echo "Text test FAILED" || FAILED=1
-diff -b testsuite-test.eps testsuite-example.eps && echo "EPS test passed" || echo "EPS test FAILED" || FAILED=1
-diff -b testsuite-test.png testsuite-example.png && echo "PNG test passed" || echo "PNG test FAILED" || FAILED=1
-diff -b testsuite-test.bin testsuite-example.bin && echo "Bin test passed" || echo "Bin test FAILED" || FAILED=1
-diff -b testsuite-test.hex testsuite-example.hex && echo "Hex test passed" || echo "Hex test FAILED" || FAILED=1
+diff -b testsuite-test.text testsuite-example.text && echo "Text test passed" || { echo "Text test FAILED" && FAILED=1 ; }
+diff -b testsuite-test.eps testsuite-example.eps && echo "EPS test passed" || { echo "EPS test FAILED" && FAILED=1 ; }
+diff -b testsuite-test.png testsuite-example.png && echo "PNG test passed" || { echo "PNG test FAILED" && FAILED=1 ; }
+diff -b testsuite-test.bin testsuite-example.bin && echo "Bin test passed" || { echo "Bin test FAILED" && FAILED=1 ; }
+diff -b testsuite-test.hex testsuite-example.hex && echo "Hex test passed" || { echo "Hex test FAILED" && FAILED=1 ; }
rm testsuite-test.*
Only in iec16022-0.2.4/test: testsuite.sh~
--- NEW FILE iec16022.spec ---
# TODO: shared lib calls exit
Name: iec16022
Version: 0.2.4
Release: 6%{?dist}
Summary: Generate ISO/IEC 16022 2D barcodes
Group: Applications/Engineering
License: GPLv2+
URL: http://www.datenfreihafen.org/projects/iec16022.html
Source0: http://www.datenfreihafen.org/~stefan/iec16022/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-test-suite-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: popt-devel zlib-devel
%description
iec16022 is a program for producing ISO/IEC 16022 2D barcodes, also
known as Data Matrix. These barcodes are defined in the ISO/IEC 16022
standard.
%package libs
Summary: ISO/IEC 16022 libraries
Group: System Environment/Libraries
%description libs
%{summary}.
%package devel
Summary: ISO/IEC 16022 development files
Group: Development/Libraries
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
%{summary}.
%prep
%setup -q
%patch0 -p1 -b .orig
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libiec16022.la
%check
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
make -C test check
%clean
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_bindir}/iec16022
%{_mandir}/man1/iec16022.1*
%files libs
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{_libdir}/libiec16022.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/iec16022/
%{_libdir}/libiec16022.so
%{_libdir}/pkgconfig/libiec16022.pc
%changelog
* Wed Jun 02 2010 Tareq Al Jurf <taljurf at fedoraproject.org> - 0.2.4-6
- Rearranging sed positions.
* Wed Jun 02 2010 Tareq Al Jurf <taljurf at fedoraproject.org> - 0.2.4-5
- Fixed test-suite(wasn't correctly fixed) and devel dependencies.
* Thu May 27 2010 Tareq Al Jurf <taljurf at fedoraproject.org> - 0.2.4-4
- Fixed test-suite and devel dependencies.
* Fri May 21 2010 Tareq Al Jurf <taljurf at fedoraproject.org> - 0.2.4-3
- Modify the spec according to Fedora Package Guidelines.
* Sat Mar 6 2010 Ville Skyttä <ville.skytta at iki.fi> - 0.2.4-2
- Avoid rpath in executable.
* Sun Oct 18 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.2.4-1
- 0.2.4.
* Tue Jul 22 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.2.3-1
- 0.2.3.
* Sun Dec 30 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.2.2-1
- 0.2.2.
* Sat Nov 10 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.2.1-2
- BuildRequire popt-devel.
- License: GPLv2+
* Wed Nov 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.2.1-1
- 0.2.1.
* Sat Sep 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.2-2
- Rebuild.
* Mon Apr 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.2-1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/iec16022/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 7 Jun 2010 21:21:48 -0000 1.1
+++ .cvsignore 1 Jul 2010 08:09:21 -0000 1.2
@@ -0,0 +1 @@
+iec16022-0.2.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/iec16022/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 7 Jun 2010 21:21:48 -0000 1.1
+++ sources 1 Jul 2010 08:09:21 -0000 1.2
@@ -0,0 +1 @@
+9395108f1deaa2c4bd6d05a9e7c91431 iec16022-0.2.4.tar.gz
- Previous message: rpms/iec16022/F-13 iec16022-0.2.4-test-suite-fix.patch, NONE, 1.1 iec16022.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/firefox/F-13 firefox.spec,1.367,1.368
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list