SPECS: compiz-bcop.spec - removed mistaken pkgconfig patch, this p...

qboosh qboosh at pld-linux.org
Sat Aug 25 14:37:50 CEST 2007


Author: qboosh                       Date: Sat Aug 25 12:37:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- removed mistaken pkgconfig patch, this package is noarch
- R: getopt, pkgconfig, xsltproc (for bcop script)
- better Group (Development/Tools)

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

---- Diffs:

================================================================
Index: SPECS/compiz-bcop.spec
diff -u SPECS/compiz-bcop.spec:1.1 SPECS/compiz-bcop.spec:1.2
--- SPECS/compiz-bcop.spec:1.1	Mon Aug 13 16:43:24 2007
+++ SPECS/compiz-bcop.spec	Sat Aug 25 14:37:45 2007
@@ -4,36 +4,41 @@
 Name:		compiz-bcop
 Version:	0.5.2
 Release:	1
-License:	GPL
-Group:		X11/Applications
+License:	GPL v2+
+Group:		Development/Tools
 Source0:	http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5:	f6d5bcd605cdbf4f49f2bb7e602d3bb5
-Patch0:		%{name}-pkgconfig.patch
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	libtool
+URL:		http://forum.compiz-fusion.org/
+BuildRequires:	autoconf >= 2.57
+BuildRequires:	automake >= 1:1.9
+# only for configure check
 BuildRequires:	libxslt-devel
 BuildRequires:	pkgconfig
+Requires:	/usr/bin/getopt
+# xsltproc
+Requires:	libxslt-progs
+Requires:	pkgconfig >= 1:0.19
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noarchpkgconfigdir	%{_datadir}/pkgconfig
+
 %description
 BCOP is a code generator that provides an easy way to handle plugin
-options by generating parts of the plugin code directly from the xml
+options by generating parts of the plugin code directly from the XML
 metadata file. It is used for most of the Compiz Fusion plugins.
 
 %description -l pl.UTF-8
 BCOP jest generatorem kodu, który pozwala na łatwą obsługę opcji
 wtyczek poprzez generowanie części kodu wtyczki bezpośrednio z pliku
-xml metadanych. Jest używany przez większość wtyczek Compiz Fusion.
+XML metadanych. Jest używany przez większość wtyczek Compiz Fusion.
 
 %prep
 %setup -q
-%patch0 -p1
 
 echo "echo -n %{version}" > VERSION
 
 %build
-%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -44,7 +49,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,9 +59,9 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/bcop
 %{_datadir}/bcop
-%{_pkgconfigdir}/*
+%{_noarchpkgconfigdir}/bcop.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +69,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/08/25 12:37:45  qboosh
+- removed mistaken pkgconfig patch, this package is noarch
+- R: getopt, pkgconfig, xsltproc (for bcop script)
+- better Group (Development/Tools)
+
 Revision 1.1  2007/08/13 14:43:24  wolf
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/compiz-bcop.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list