packages: datacrow/datacrow.spec - recompile discid, package not noarch

glen glen at pld-linux.org
Sat Apr 14 02:35:32 CEST 2012


Author: glen                         Date: Sat Apr 14 00:35:31 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- recompile discid, package not noarch

---- Files affected:
packages/datacrow:
   datacrow.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/datacrow/datacrow.spec
diff -u packages/datacrow/datacrow.spec:1.1 packages/datacrow/datacrow.spec:1.2
--- packages/datacrow/datacrow.spec:1.1	Sat Apr 14 02:31:25 2012
+++ packages/datacrow/datacrow.spec	Sat Apr 14 02:35:26 2012
@@ -1,13 +1,13 @@
 # $Revision$, $Date$
 # TODO
 # - bashism: Requires: /bin/bash
-# - bundled ix86 binaries: Requires:  libc.so.6 libc.so.6(GLIBC_2.0)
+# - try use xdg paths
 
 %define	ver	%(echo %{version} | tr . _)
 Summary:	Data Crow is a movie, video, book, software, and music cataloguer/database
 Name:		datacrow
 Version:	3.9.3
-Release:	0.3
+Release:	0.4
 License:	GPL v3
 Group:		X11/Applications
 URL:		http://www.datacrow.net/
@@ -60,7 +60,6 @@
 #Requires:	liquidlnf
 #Requires:	metadata-extractor
 #Requires:	xalan-j2-xsltc
-BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -94,6 +93,8 @@
 mv %{name}/* .
 
 %build
+%{__cc} %{rpmcxxflags} %{rpmcflags} %{rpmldflags} -o discid plugins/discid/linux/discid.c
+
 export LC_ALL=en_US # source code not US-ASCII
 %ant \
 	-Dfile.encoding=iso-8859-1
@@ -102,7 +103,7 @@
 rm -rf $RPM_BUILD_ROOT
 # discid
 install -d $RPM_BUILD_ROOT%{_bindir}
-install -p plugins/discid/linux/discid $RPM_BUILD_ROOT%{_bindir}
+install -p discid $RPM_BUILD_ROOT%{_bindir}
 
 # jars
 install -d $RPM_BUILD_ROOT%{_javadir}/%{name}
@@ -206,6 +207,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/04/14 00:35:26  glen
+- recompile discid, package not noarch
+
 Revision 1.1  2012/04/14 00:31:25  glen
 - new, based on src rpm
   http://mirrors.coreix.net/MIB/2010.2/srpms/datacrow-3.9.3-69mib2010.2.src.rpm
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/datacrow/datacrow.spec?r1=1.1&r2=1.2



More information about the pld-cvs-commit mailing list