packages: amsn/amsn.spec, amsn/ca-certificates.patch (NEW) - use system ca-...
glen
glen at pld-linux.org
Sat Aug 27 14:18:32 CEST 2011
Author: glen Date: Sat Aug 27 12:18:32 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- use system ca-certificates
---- Files affected:
packages/amsn:
amsn.spec (1.45 -> 1.46) , ca-certificates.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/amsn/amsn.spec
diff -u packages/amsn/amsn.spec:1.45 packages/amsn/amsn.spec:1.46
--- packages/amsn/amsn.spec:1.45 Fri Aug 26 07:00:15 2011
+++ packages/amsn/amsn.spec Sat Aug 27 14:18:26 2011
@@ -2,7 +2,6 @@
# TODO
# - Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/perl ... etc in music plugin, subpackage it?
# - use mv for language codes fix, instead handling specially in find-lang.sh, send to upstream
-# - use ca-certificatesc
Summary: MSN Messenger clone for Linux
Summary(de.UTF-8): MSN Messenger-Klon für Linux
Summary(fr.UTF-8): Clône MSN Messenger pour Linux
@@ -19,6 +18,7 @@
Patch1: %{name}-paths.patch
Patch2: useV4L2.patch
Patch3: %{name}-bwidget.patch
+Patch4: ca-certificates.patch
Patch6: %{name}-disable-autoupdate.patch
URL: http://www.amsn-project.net/
BuildRequires: farsight2-devel
@@ -42,6 +42,7 @@
Requires: %{name}-skin-default
# IM's convert is needed to display pictures (buddy icons).
Requires: ImageMagick
+Requires: ca-certificates-update
Requires: tcl >= 8.5.7
# MSN Protocol 9 won't let you in without SSL anymore.
Requires: tcl-tls
@@ -54,7 +55,6 @@
# new deps
Requires: tcl-snack
Requires: tclsoap
-Requires: tcltls
Requires: tkdnd
%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -98,13 +98,13 @@
# undos some source files
find -name '*.tcl' -print0 | xargs -0 sed -i -e 's,\r$,,'
-rm -r utils/BWidget-1.9.0
-rm -r plugins/music/MusicWin
-rm plugins/music/*.scpt
-rm plugins/amsnplus/snapshot
+%{__rm} -r utils/BWidget-1.9.0
+%{__rm} -r plugins/music/MusicWin
+%{__rm} plugins/music/*.scpt
+%{__rm} plugins/amsnplus/snapshot
# skins in amsn-skins.spec
-rm -r skins/*
+%{__rm} -r skins/*
# for webcam to work these paths need to be added because we move libs around
%{__sed} -i 's#\.\./libng/plugins#%{tcl_sitearch}/capture/libng/plugins#' utils/linux/capture/libng/grab-ng.c
@@ -123,6 +123,7 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%patch6 -p1
%build
@@ -137,7 +138,7 @@
#%{__cc} plugins/amsnplus/snapshot.c -o plugins/amsnplus/snapshot %{rpmcflags} %{rpmldflags} `imlib-config --cflags` `imlib-config --libs`
%install
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_iconsdir}/hicolor,%{_pixmapsdir},%{_desktopdir}}
%{__make} install \
@@ -150,16 +151,16 @@
#install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/amsnplus
#mv $RPM_BUILD_ROOT{%{_datadir},%{_libdir}}/%{name}/plugins/amsnplus/snapshot
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/base64
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/http
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/log
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/sha1
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/snit
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/uri
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/{AGREEMENT,FAQ,GNUGPL,INSTALL,remote.help,TODO}
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/{CREDITS,HELP,README}
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lang/{*.*,LANG-HOWTO,sortlang}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/base64
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/http
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/log
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/sha1
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/snit
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/uri
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/{AGREEMENT,FAQ,GNUGPL,INSTALL,remote.help,TODO}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/{CREDITS,HELP,README}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/lang/{*.*,LANG-HOWTO,sortlang}
install -d $RPM_BUILD_ROOT%{tcl_sitearch}
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/linux/* $RPM_BUILD_ROOT%{tcl_sitearch}
@@ -174,21 +175,21 @@
mv $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_desktopdir}}/%{name}.desktop
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/desktop-icons/* $RPM_BUILD_ROOT%{_iconsdir}/hicolor
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/desktop-icons
-rm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/desktop-icons
+%{__rm} $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
-rm $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/amsnplus/{snapshot.c,Makefile}
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/amsnplus/{snapshot.c,Makefile}
#%{_datadir}/%{name}/plugins/growl/styles/aMSN.growlStyle/Contents/Resources/default.css
#%{_datadir}/%{name}/plugins/growl/styles/aMSNMac.growlStyle/Contents/Info.plist
#%{_datadir}/%{name}/plugins/address_book/utils/addressbook/pkgIndex.tcl
# docs in docs
-rm -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/*/test.tcl
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/utils/*/test.tcl
%find_lang %{name}
-grep /plugins/ %{name}.lang > %{name}-plugins.lang
+%{__grep} /plugins/ %{name}.lang > %{name}-plugins.lang
sed -i -e '/plugins/d' %{name}.lang
%clean
@@ -416,6 +417,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.46 2011/08/27 12:18:26 glen
+- use system ca-certificates
+
Revision 1.45 2011/08/26 05:00:15 glen
- up to 0.98.4
================================================================
Index: packages/amsn/ca-certificates.patch
diff -u /dev/null packages/amsn/ca-certificates.patch:1.1
--- /dev/null Sat Aug 27 14:18:32 2011
+++ packages/amsn/ca-certificates.patch Sat Aug 27 14:18:27 2011
@@ -0,0 +1,22 @@
+--- amsn-0.98.4/amsn~ 2011-08-26 12:59:54.432594949 +0300
++++ amsn-0.98.4/amsn 2011-08-26 13:04:54.261871106 +0300
+@@ -115,7 +115,7 @@
+ unset program
+ #unset program_dir
+
+-set CERT_DIR [file join $program_dir ca-certs]
++set CERT_DIR "/usr/share/ca-certificates"
+
+ ############################################################
+ ### From here we need amsncore, for platform checks etc
+--- amsn-0.98.4/Makefile.in~ 2011-08-26 12:59:54.439261895 +0300
++++ amsn-0.98.4/Makefile.in 2011-08-26 13:15:51.649515360 +0300
+@@ -17,7 +17,7 @@
+ FILES_TO_INSTALL += utils/scalable-bg utils/sha1 utils/snit utils/dpbrowser
+ FILES_TO_INSTALL += plugins utils/sexytile
+ FILES_TO_INSTALL += utils/log utils/uri utils/combobox utils/voipcontrols
+-FILES_TO_INSTALL += utils/md4 utils/sasl ca-certs
++FILES_TO_INSTALL += utils/md4 utils/sasl
+
+ FILES_TO_EXCLUDE := lang/genpage.c lang/addkey.tcl lang/lang1.tmpl lang/lang2.tmpl lang/lang3.tmpl lang/langchk.sh lang/complete.pl lang/genlangfiles.c
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/amsn/amsn.spec?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list