packages: roxterm/roxterm.spec - updated to 2.4.2 - switch to maitch build ...

lisu lisu at pld-linux.org
Tue Feb 7 14:53:52 CET 2012


Author: lisu                         Date: Tue Feb  7 13:53:52 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.4.2
- switch to maitch build system (autoconf is going to be deprecated soon)
- BR: po4a, python-lockfile
- dropped BRs: autoconf, automake
- use find_lang macro

---- Files affected:
packages/roxterm:
   roxterm.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: packages/roxterm/roxterm.spec
diff -u packages/roxterm/roxterm.spec:1.40 packages/roxterm/roxterm.spec:1.41
--- packages/roxterm/roxterm.spec:1.40	Sun Oct 16 11:18:06 2011
+++ packages/roxterm/roxterm.spec	Tue Feb  7 14:53:46 2012
@@ -1,20 +1,22 @@
 # $Revision$, $Date$
 #
+# TODO: why fr and gl locales are not packaged by find_lang macro?
+#
 # Conditional build:
 %bcond_with	gnomecontrol	# register with GNOME as a default terminal application
+#
 Summary:	ROXTerm - a terminal emulator
 Summary(hu.UTF-8):	ROXTerm egy terminál emulátor
 Summary(pl.UTF-8):	ROXTerm - emulator terminala
 Name:		roxterm
-Version:	2.2.2
+Version:	2.4.2
 Release:	1
 License:	GPL v2
 Group:		X11/Applications
-Source0:	http://downloads.sourceforge.net/roxterm/%{name}-%{version}.tar.gz
-# Source0-md5:	ad3c2e92c588ab312e8b199a9082efcd
+Source0:	http://downloads.sourceforge.net/roxterm/%{name}-%{version}.tar.bz2
+# Source0-md5:	7c3bb1471f814a8bfdfcf169ad18e425
+Patch0:		%{name}-flags.patch
 URL:		http://roxterm.sourceforge.net/
-BuildRequires:	autoconf
-BuildRequires:	automake
 BuildRequires:	dbus-devel
 BuildRequires:	dbus-glib-devel >= 0.22
 BuildRequires:	gettext-devel >= 0.17
@@ -24,6 +26,8 @@
 BuildRequires:	libglade2-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	po4a
+BuildRequires:	python-lockfile
 BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	sed >= 4.0
 BuildRequires:	vte-devel >= 0.27.0
@@ -60,29 +64,29 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__gettextize}
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure \
+%{__python} mscript.py configure \
 	--enable-gtk3 \
 	--enable-sm \
 	--with%{!?with_gnomecontrol:out}-gnome-default-applications
 
-%{__make}
+%{__python} mscript.py build \
+	CC="%{__cc}" \
+	OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__python} mscript.py install \
+	PREFIX="%{_prefix}" \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc
 
+%find_lang %{name} --all-name
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -92,9 +96,9 @@
 %postun
 %update_icon_cache hicolor
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README Help/en Help/lib
+%doc AUTHORS ChangeLog NEWS README Help/en Help/es Help/lib
 %attr(755,root,root) %{_bindir}/roxterm-config
 %attr(755,root,root) %{_bindir}/roxterm
 %{_datadir}/%{name}
@@ -103,6 +107,8 @@
 %{_iconsdir}/hicolor/scalable/apps/roxterm.svg
 %{_mandir}/man1/roxterm-config.1*
 %{_mandir}/man1/roxterm.1*
+%lang(es) %{_mandir}/es/man1/roxterm-config.1*
+%lang(es) %{_mandir}/es/man1/roxterm.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -110,6 +116,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2012/02/07 13:53:46  lisu
+- updated to 2.4.2
+- switch to maitch build system (autoconf is going to be deprecated soon)
+- BR: po4a, python-lockfile
+- dropped BRs: autoconf, automake
+- use find_lang macro
+
 Revision 1.40  2011/10/16 09:18:06  atler
 - up to 2.2.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/roxterm/roxterm.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list