SPECS: kbarcode.spec - pldize

glen glen at pld-linux.org
Tue Oct 10 00:23:53 CEST 2006


Author: glen                         Date: Mon Oct  9 22:23:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pldize

---- Files affected:
SPECS:
   kbarcode.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/kbarcode.spec
diff -u SPECS/kbarcode.spec:1.1 SPECS/kbarcode.spec:1.2
--- SPECS/kbarcode.spec:1.1	Mon Oct  9 17:38:31 2006
+++ SPECS/kbarcode.spec	Tue Oct 10 00:23:47 2006
@@ -1,50 +1,52 @@
-%define name kbarcode
-%define version 2.0.4
-Summary: A barcode and label printing application for KDE
-Name: %{name}
-Version: %{version}
-Release: 1
-License: GPL
-Vendor: Dominik Seichter <domseichter at web.de>
-Url: http://www.kbarcode.net
-Packager: Dominik Seichter <domseichter at web.de>
-Group: kde/utilities
-Source: %{name}-%{version}.tar.gz
-BuildRoot: /var/tmp/%{name}-%{version}
+# $Revision$, $Date$
+Summary:	A barcode and label printing application for KDE
+Name:		kbarcode
+Version:	2.0.4
+Release:	1
+License:	GPL
+Group:		Applications
+URL:		http://www.kbarcode.net/
+Source0:	http://dl.sourceforge.net/kbarcode/%{name}-%{version}.tar.gz
+# Source0-md5:	86f62225995d9c55a0b8b0bf1dd0e403
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-KBarcode is a barcode and label printing application for Linux and KDE 3. It can be used to print every thing from simple business cards up to complex labels with several barcodes (e.g. article descriptions). KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, batch import of labels (directly from the delivery note), thousands of predefined labels, database managment tools and translations in many languages. Even printing more than 10.000 labels in one go is no problem for KBarcode. Additionally it is a simply xbarcode replacement for the creation of barcodes. All major types of barcodes like EAN, UPC, CODE39 and ISBN are supported.
+KBarcode is a barcode and label printing application for Linux and KDE
+3. It can be used to print every thing from simple business cards up
+to complex labels with several barcodes (e.g. article descriptions).
+KBarcode comes with an easy to use WYSIWYG label designer, a setup
+wizard, batch import of labels (directly from the delivery note),
+thousands of predefined labels, database managment tools and
+translations in many languages. Even printing more than 10.000 labels
+in one go is no problem for KBarcode. Additionally it is a simply
+xbarcode replacement for the creation of barcodes. All major types of
+barcodes like EAN, UPC, CODE39 and ISBN are supported.
 
 %prep
-%setup
-./configure
+%setup -q
 
 %build
-
-# Setup for parallel builds
-numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
-if [ "$numprocs" = "0" ]; then
-  numprocs=1
-fi
-
-make -j$numprocs
+%configure
+%{__make}
 
 %install
-make install-strip DESTDIR=$RPM_BUILD_ROOT
-
-cd $RPM_BUILD_ROOT
-find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.kbarcode
-find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >>  $RPM_BUILD_DIR/file.list.kbarcode
-find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >>  $RPM_BUILD_DIR/file.list.kbarcode
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
-rm -rf $RPM_BUILD_ROOT/*
-rm -rf $RPM_BUILD_DIR/kbarcode-%{version}
-rm -rf ../file.list.kbarcode
-
-
-%files -f ../file.list.kbarcode
+rm -rf $RPM_BUILD_ROOT
 
+%files
+%defattr(644,root,root,755)
 
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.2  2006/10/09 22:23:47  glen
+- pldize
 
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kbarcode.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list