summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2015-02-15 14:54:39 -0700
committerKen Dreyer <ktdreyer@ktdreyer.com>2015-02-15 14:54:39 -0700
commitf0eaec20a0947f4d2c3019d0423ce646dcd65be9 (patch)
tree669fb9f21fce1a14f4bc8808dbf747d3566b3422
downloadpidgin-ignore-nickchange-f0eaec20a0947f4d2c3019d0423ce646dcd65be9.tar.gz
pidgin-ignore-nickchange-f0eaec20a0947f4d2c3019d0423ce646dcd65be9.tar.xz
pidgin-ignore-nickchange-f0eaec20a0947f4d2c3019d0423ce646dcd65be9.zip
Initial packaging.
-rw-r--r--.gitignore1
-rw-r--r--pidgin-ignore-nickchange.spec40
-rw-r--r--sources1
3 files changed, 42 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..69556b0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/pidgin-ignore-nickchange-0.1-cace89c.tar.gz
diff --git a/pidgin-ignore-nickchange.spec b/pidgin-ignore-nickchange.spec
new file mode 100644
index 0000000..28a944e
--- /dev/null
+++ b/pidgin-ignore-nickchange.spec
@@ -0,0 +1,40 @@
+%global commitdate 20150215
+%global commit cace89c80c43b19ccaaf1ca21d2235a360cdd130
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: pidgin-ignore-nickchange
+Version: 0.1
+Release: 0.1.%{commitdate}git%{shortcommit}%{?dist}
+Summary: Pidgin plugin to ignore "X is now known as Y" messages in chat.
+Group: Applications/Internet
+License: GPLv2+
+URL: https://github.com/EionRobb/pidgin-ignore-nickchange
+Source0: https://github.com/EionRobb/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
+BuildRequires: pkgconfig(glib-2.0) >= 2.12.0
+BuildRequires: pkgconfig(pidgin)
+BuildRequires: pkgconfig(purple)
+
+%description
+Pidgin plugin to ignore "X is now known as Y" messages in chat.
+
+%prep
+%setup -q -n %{name}-%{commit}
+
+%build
+#gcc -Wall -fPIC nickchange.c -o nickchange.so -shared `pkg-config --cflags --libs glib-2.0 purple pidgin`
+gcc %{optflags} -fPIC nickchange.c -o nickchange.so -shared `pkg-config --cflags --libs glib-2.0 purple pidgin`
+
+%install
+mkdir -p %{buildroot}%{_libdir}/purple-2
+install -m0755 nickchange.so %{buildroot}%{_libdir}/purple-2/nickchange.so
+
+%files
+%license LICENSE
+%doc README.md
+%{_libdir}/purple-2/nickchange.so
+
+
+%changelog
+* Sun Feb 15 2015 Ken Dreyer <ktdreyer@ktdreyer.com> - 0.1-0.1.20150115git4d21fdc
+- Initial packaging.
diff --git a/sources b/sources
new file mode 100644
index 0000000..f81fa3f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+248e59abfbaec024a708f9d81a84ab7a pidgin-ignore-nickchange-0.1-cace89c.tar.gz