[libsocialweb] * Thu Aug 26 2010 Bastien Nocera <bnocera at redhat.com> 0.25.1-2 - Add API keys to the -keys sub-packa

Bastien Nocera hadess at fedoraproject.org
Thu Aug 26 17:00:04 UTC 2010


commit 966c02af30faa2f5c18818aa25e907e9612c0eac
Author: Bastien Nocera <hadess at hadess.net>
Date:   Thu Aug 26 18:00:02 2010 +0100

    * Thu Aug 26 2010 Bastien Nocera <bnocera at redhat.com> 0.25.1-2
    - Add API keys to the -keys sub-package

 digg              |    1 +
 flickr            |    1 +
 lastfm            |    1 +
 libsocialweb.spec |   28 +++++++++++++++++++++++++++-
 myspace           |    1 +
 twitter           |    1 +
 6 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/digg b/digg
new file mode 100644
index 0000000..19366e2
--- /dev/null
+++ b/digg
@@ -0,0 +1 @@
+http://services.digg.com/user/sbwms?appkey=http%3A%2F%2Fwww.fedoraproject.org%2Fapplication
diff --git a/flickr b/flickr
new file mode 100644
index 0000000..71414b1
--- /dev/null
+++ b/flickr
@@ -0,0 +1 @@
+d7953dc63a9498433bfdb4287ee2694b:2bd799133e3a2c7f
diff --git a/lastfm b/lastfm
new file mode 100644
index 0000000..9aa2970
--- /dev/null
+++ b/lastfm
@@ -0,0 +1 @@
+b70f696913487a44ea13038e926a096a
diff --git a/libsocialweb.spec b/libsocialweb.spec
index 317a819..a874384 100644
--- a/libsocialweb.spec
+++ b/libsocialweb.spec
@@ -5,7 +5,7 @@
 
 Name:          libsocialweb
 Version:       0.25.1
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       A social network data aggregator
 
 Group:         Applications/Internet
@@ -22,6 +22,13 @@ BuildRequires: NetworkManager-glib-devel
 BuildRequires: rest-devel
 BuildRequires: intltool
 
+Requires: libsocialweb-key = %{version}-%{release}
+Source1: flickr
+Source2: myspace
+Source3: twitter
+Source4: digg
+Source5: lastfm
+
 # Require these because the git tarball doesn't have the configure built
 BuildRequires: libtool
 
@@ -40,6 +47,15 @@ Requires: pkgconfig
 %description devel
 Files for development with %{name}.
 
+%package keys
+Summary: API keys for %{name}
+Group: Applications/Internet
+BuildArch: noarch
+Requires: %{name} = %{version}-%{release}
+
+%description keys
+Keys allowing access to various web services through libsocialweb.
+
 %prep
 %setup -q
 
@@ -68,6 +84,9 @@ make install DESTDIR=%{buildroot} INSTALL='install -p'
 find %{buildroot} -name '*.la' -exec rm -f {} ';'
 find %{buildroot} -name '*.a' -exec rm -f {} ';'
 
+mkdir -p %{buildroot}/%{_datadir}/libsocialweb/keys
+cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}/%{_datadir}/libsocialweb/keys
+
 %find_lang %{name}
 
 %clean
@@ -93,7 +112,14 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/libsocialweb*
 %{_libdir}/libsocialweb*so
 
+%files keys
+%defattr(-,root,root,-)
+%{_datadir}/libsocialweb/keys
+
 %changelog
+* Thu Aug 26 2010 Bastien Nocera <bnocera at redhat.com> 0.25.1-2
+- Add API keys to the -keys sub-package
+
 * Sat Aug  7 2010 Peter Robinson <pbrobinson at gmail.com> 0.25.1-1
 - Update to 0.25.1, disable MySpace and Digg until they build again
 
diff --git a/myspace b/myspace
new file mode 100644
index 0000000..cc4a53c
--- /dev/null
+++ b/myspace
@@ -0,0 +1 @@
+f06906e7522f46f2a08a03e11ef66496:45ee30d3b29c47ffbb65b59bd84d1848bfa93c968b7d487cae68a6790e96c6ef
diff --git a/twitter b/twitter
new file mode 100644
index 0000000..8878e5a
--- /dev/null
+++ b/twitter
@@ -0,0 +1 @@
+4PEfS48BDCWSHSb1s84ebQ:HqJIWVVJwXNIMaNPuxkYw6wVTL2paNdWkvOg3mXxE


More information about the scm-commits mailing list