rpms/zint/devel import.log, NONE, 1.1 zint-rpath.patch, NONE, 1.1 zint.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Martin Gieseking mgieseki at fedoraproject.org
Mon Jun 14 07:03:10 UTC 2010


Author: mgieseki

Update of /cvs/pkgs/rpms/zint/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv2250/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log zint-rpath.patch zint.spec 
Log Message:
Initial import (#594744).


--- NEW FILE import.log ---
zint-2_3_2-2_fc13:HEAD:zint-2.3.2-2.fc13.src.rpm:1276498954

zint-rpath.patch:
 SetPaths.cmake |   16 ----------------
 1 file changed, 16 deletions(-)

--- NEW FILE zint-rpath.patch ---
diff -r 4b4f7dca5ce2 SetPaths.cmake
--- a/SetPaths.cmake	Sun May 30 14:28:22 2010 +0200
+++ b/SetPaths.cmake	Sun May 30 14:29:28 2010 +0200
@@ -237,19 +237,3 @@
    set(CMAKE_BUILD_TYPE RelWithDebInfo)
 endif (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE)
 
-
-
-# setup default RPATH/install_name handling, may be overridden by KDE4_HANDLE_RPATH_FOR_[LIBRARY|EXECUTABLE]
-# default is to build with RPATH for the install dir, so it doesn't need to relink
-if (UNIX)
-   if (APPLE)
-      set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
-   else (APPLE)
-      # add our LIB_INSTALL_DIR to the RPATH and use the RPATH figured out by cmake when compiling
-      set(CMAKE_INSTALL_RPATH ${LIB_INSTALL_DIR} )
-      set(CMAKE_SKIP_BUILD_RPATH TRUE)
-      set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
-      set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-   endif (APPLE)
-endif (UNIX)
-


--- NEW FILE zint.spec ---
Name:      zint
Version:   2.3.2
Release:   2%{?dist}
Summary:   A barcode generator
License:   GPLv3+
URL:       http://www.zint.org.uk
Source:    http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tar.gz
Group:     Applications/Text
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

# patch to disable creation of rpaths
Patch0:    %{name}-rpath.patch

BuildRequires: cmake
BuildRequires: libpng-devel
BuildRequires: zlib-devel
BuildRequires: qt-devel >= 4.4
BuildRequires: desktop-file-utils

%description
Zint is a C library for encoding data in several barcode variants. The
bundled command-line utility provides a simple interface to the library.
Features of the library:
- Over 50 symbologies including all ISO/IEC standards, like QR codes.
- Unicode translation for symbologies which support Latin-1 and 
  Kanji character sets.
- Full GS1 support including data verification and automated insertion of 
  FNC1 characters.
- Support for encoding binary data including NULL (ASCII 0) characters.
- Health Industry Barcode (HIBC) encoding capabilities.
- Output in PNG, EPS and SVG formats with user adjustable sizes and colors.
- Verification stage for SBN, ISBN and ISBN-13 data.


%package libs
Summary:       The Zint shared library
Group:         System Environment/Libraries

%description libs
Library to generate several barcode variants.


%package devel
Summary:       Library and header files for %{name}
Group:         Development/Libraries
Requires:      %{name}-libs = %{version}-%{release}

%description devel 
C library and header files needed to develop applications that use 
the Zint library. The API documentation can be found on the project website:
http://www.zint.org.uk/zintSite/Manual.aspx


%package qt
Summary:       Zint Barcode Studio
Group:         Applications/Text

%description qt
Zint Barcode Studio is a Qt-based GUI which allows desktop users to generate 
barcodes which can then be embedded in documents or HTML pages.


%package qt-libs
Summary:       Zint Qt library
Group:         System Environment/Libraries
Requires:      %{name}-libs = %{version}-%{release}

%description qt-libs
Library which can be used to incorporate Qt barcode generation functionality 
into other software.


%package qt-devel
Summary:       Library and header files for %{name}-qt
Group:         Development/Libraries
Requires:      %{name}-devel = %{version}-%{release}
Requires:      %{name}-qt-libs = %{version}-%{release}

%description qt-devel 
C library and header files needed to develop applications that use 
the %{name}-qt-libs.


%prep
%setup -q
%patch0 -p1

# remove BSD-licensed file required for Windows only (just to ensure that this package is plain GPLv3+)
rm -f backend/ms_stdint.h

# remove bundled getopt sources (we use the corresponding Fedora package instead)
rm -f frontend/getopt*.*

%build
%cmake .
make VERBOSE=1 %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/%{_datadir}/cmake
install -D -p -m 644 %{name}.png %{buildroot}/usr/share/pixmaps/%{name}.png
install -D -p -m 644 %{name}-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-qt.desktop


%clean
rm -rf $RPM_BUILD_ROOT


%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%post qt-libs -p /sbin/ldconfig
%postun qt-libs -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc COPYING readme
%{_bindir}/%{name}

%files libs
%defattr(-,root,root,-)
%{_libdir}/libzint.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}.h
%{_libdir}/libzint.so

%files qt
%defattr(-,root,root,-)
%{_bindir}/%{name}-qt
%{_datadir}/applications/%{name}-qt.desktop
%{_datadir}/pixmaps/%{name}.png

%files qt-libs
%defattr(-,root,root,-)
%{_libdir}/libQZint.so.*

%files qt-devel
%defattr(-,root,root,-)
%{_includedir}/qzint.h
%{_libdir}/libQZint.so


%changelog
* Fri Jun 11 2010 Martin Gieseking <martin.gieseking at uos.de> - 2.3.2-2
- changed Group of base and -qt package to Applications/Text
- removed redundant Requires

* Sun May 30 2010 Martin Gieseking <martin.gieseking at uos.de> - 2.3.2-1
- updated to release 2.3.2
- added patch to reolve rpath issue
- fixed Source0
- dropped locale patch and .desktop file (added upstream)
- split the libraries into separate subpackages

* Sat May 22 2010 Martin Gieseking <martin.gieseking at uos.de> - 2.3.1-2
- Added patch to fix export issue

* Fri May 21 2010 Martin Gieseking <martin.gieseking at uos.de> - 2.3.1-1
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/zint/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	14 Jun 2010 04:49:48 -0000	1.1
+++ .cvsignore	14 Jun 2010 07:03:08 -0000	1.2
@@ -0,0 +1 @@
+zint-2.3.2.src.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/zint/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	14 Jun 2010 04:49:48 -0000	1.1
+++ sources	14 Jun 2010 07:03:09 -0000	1.2
@@ -0,0 +1 @@
+b4f004198e50db31ab1a96ec8c60ff19  zint-2.3.2.src.tar.gz



More information about the scm-commits mailing list