SPECS: tomboy.spec - sr at Latn -> sr at latin - use --with-omf - release 2

megabajt megabajt at pld-linux.org
Sat Nov 10 17:33:50 CET 2007


Author: megabajt                     Date: Sat Nov 10 16:33:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sr at Latn -> sr at latin
- use --with-omf
- release 2

---- Files affected:
SPECS:
   tomboy.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: SPECS/tomboy.spec
diff -u SPECS/tomboy.spec:1.28 SPECS/tomboy.spec:1.29
--- SPECS/tomboy.spec:1.28	Wed Oct 17 21:04:16 2007
+++ SPECS/tomboy.spec	Sat Nov 10 17:33:44 2007
@@ -6,7 +6,7 @@
 Summary(pl.UTF-8):	Tomboy - aplikacja do notatek na pulpicie
 Name:		tomboy
 Version:	0.8.1
-Release:	1
+Release:	2
 License:	LGPL v2.1
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/tomboy/0.8/%{name}-%{version}.tar.bz2
@@ -31,12 +31,16 @@
 BuildRequires:	libtool
 BuildRequires:	mono-csharp >= 1.1.16.1
 BuildRequires:	pkgconfig
+# support for --with-omf in find_lang.sh
+BuildRequires:	rpm-build >= 4.4.9-10
 BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	scrollkeeper
 Requires(post,postun):	gtk+2
 Requires(post,postun):	hicolor-icon-theme
 Requires(post,postun):	scrollkeeper
 Requires(post,preun):	GConf2
+# sr at Latn vs. sr at latin
+Conflicts:	glibc-misc < 6:2.7
 ExclusiveArch:	%{ix86} %{x8664} alpha arm hppa ppc s390 sparc sparcv9 sparc64
 ExcludeArch:	i386
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -55,6 +59,9 @@
 %setup -q
 %patch0 -p1
 
+sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
+mv po/sr\@{Latn,latin}.po
+
 %build
 %{__glib_gettextize}
 %{__intltoolize}
@@ -74,7 +81,7 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	dbusservicedir="%{_datadir}/dbus-1/services"
 
-%find_lang %{name} --with-gnome
+%find_lang %{name} --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -109,17 +116,6 @@
 %{_iconsdir}/hicolor/*/apps/*
 %{_pixmapsdir}/*.png
 %{_mandir}/man1/tomboy.1*
-%dir %{_omf_dest_dir}/%{name}
-%{_omf_dest_dir}/%{name}/tomboy-C.omf
-%lang(ca) %{_omf_dest_dir}/%{name}/tomboy-ca.omf
-%lang(en_GB) %{_omf_dest_dir}/%{name}/tomboy-en_GB.omf
-%lang(es) %{_omf_dest_dir}/%{name}/tomboy-es.omf
-%lang(fr) %{_omf_dest_dir}/%{name}/tomboy-fr.omf
-%lang(oc) %{_omf_dest_dir}/%{name}/tomboy-oc.omf
-%lang(pt_BR) %{_omf_dest_dir}/%{name}/tomboy-pt_BR.omf
-%lang(ru) %{_omf_dest_dir}/%{name}/tomboy-ru.omf
-%lang(sv) %{_omf_dest_dir}/%{name}/tomboy-sv.omf
-%lang(uk) %{_omf_dest_dir}/%{name}/tomboy-uk.omf
 %{_pkgconfigdir}/tomboy-addins.pc
 %{_sysconfdir}/gconf/schemas/tomboy.schemas
 
@@ -129,6 +125,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2007/11/10 16:33:44  megabajt
+- sr at Latn -> sr at latin
+- use --with-omf
+- release 2
+
 Revision 1.28  2007/10/17 19:04:16  megabajt
 - updated to 0.8.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tomboy.spec?r1=1.28&r2=1.29&f=u



More information about the pld-cvs-commit mailing list