packages: minbif/minbif.spec - add gcc fix, install files, setup prefix, etc

glen glen at pld-linux.org
Mon Apr 26 19:18:14 CEST 2010


Author: glen                         Date: Mon Apr 26 17:18:14 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add gcc fix, install files, setup prefix, etc

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

---- Diffs:

================================================================
Index: packages/minbif/minbif.spec
diff -u packages/minbif/minbif.spec:1.1 packages/minbif/minbif.spec:1.2
--- packages/minbif/minbif.spec:1.1	Sun Apr 25 23:41:11 2010
+++ packages/minbif/minbif.spec	Mon Apr 26 19:18:09 2010
@@ -7,12 +7,14 @@
 Group:		Applications/Communications
 Source0:	http://symlink.me/attachments/download/45/%{name}-%{version}.tar.gz
 # Source0-md5:	32418078a1741da3b4028269666f2bac
+Patch0:		gcc.patch
 URL:		http://www.minbif.im/
+BuildRequires:	cmake
 BuildRequires:	glib2
 BuildRequires:	imlib2-devel
 BuildRequires:	libcaca-devel
-BuildRequires:	libpurple-devel >= 2.4
 BuildRequires:	libstdc++-devel
+BuildRequires:	pidgin-devel >= 2.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -21,9 +23,14 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__make}
+%{__make} \
+	PREFIX=%{_prefix} \
+	MAN_PREFIX=%{_mandir}/man8 \
+	CONF_PREFIX=%{_sysconfdir}/%{name} \
+	DOC_PREFIX=%{_docdir}/%{name}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -36,6 +43,11 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/minbif
+%dir %{_sysconfdir}/minbif
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/minbif/minbif.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/minbif/minbif.motd
+%{_mandir}/man8/minbif.8*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -43,5 +55,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/04/26 17:18:09  glen
+- add gcc fix, install files, setup prefix, etc
+
 Revision 1.1  2010/04/25 21:41:11  glen
 - nfy
================================================================

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



More information about the pld-cvs-commit mailing list