SPECS: weechat.spec (NEW) - initial - NFY

shadzik shadzik at pld-linux.org
Mon Mar 5 10:40:22 CET 2007


Author: shadzik                      Date: Mon Mar  5 09:40:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial
- NFY

---- Files affected:
SPECS:
   weechat.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/weechat.spec
diff -u /dev/null SPECS/weechat.spec:1.1
--- /dev/null	Mon Mar  5 10:40:22 2007
+++ SPECS/weechat.spec	Mon Mar  5 10:40:17 2007
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+%bcond_without	qt	# don't build qt support
+%bcond_without	ncurses	# don't build ncurses support
+
+Summary:	WeeChat
+Summary(pl.UTF-8):	WeeChat
+Name:		weechat
+Version:	0.2.3
+Release:	0.1
+License:	GPL
+Group:		X11/Applications
+Source0:	http://weechat.flashtux.org/download/%{name}-%{version}.tar.bz2
+# Source0-md5:	12c39b30988d78e9544acda6e518476f
+URL:		http://weechat.flashtux.org/
+#BuildRequires:	autoconf
+#BuildRequires:	automake
+%{?with_ncurses:BuildRequires:	ncurses-devel}
+BuildRequires:	perl-devel
+BuildRequires:	python-devel
+%{?with_qt:BuildRequires:	qt-devel}
+BuildRequires:	rpmbuild(macros) >= 1.129
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_noautostrip	%{_libdir}/weechat/plugins/*.a
+
+%description
+WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
+environment for many operating systems. Everything can be done with a keyboard.
+It is customizable and extensible with scripts.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q
+
+%build
+%configure \
+%if "%{_lib}" == "lib64"
+	--enable-libsuffix=64 \
+%endif
+	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+	--with-qt-libraries=%{_libdir} \
+	--%{?with_qt:en}%{!?with_qt:dis}able-qt \
+	--%{?with_ncurses:en}%{!?with_ncurses:dis}able-ncurses
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%dir %{_libdir}/weechat
+%attr(755,root,root) %{_libdir}/weechat/*.so*
+%{_libdir}/weechat/*.la
+
+%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.1  2007/03/05 09:40:17  shadzik
+- initial
+- NFY
+
================================================================


More information about the pld-cvs-commit mailing list