[clxclient] Initial import of SRPM
Brendan Jones
bsjones at fedoraproject.org
Sat Nov 12 08:06:08 UTC 2011
commit 1ff051bbed9bf72d9a442dca2e1626ed09cb3607
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date: Sat Nov 12 09:05:54 2011 +0100
Initial import of SRPM
.gitignore | 1 +
clxclient-3.6.1-fsf-address.patch | 180 +++++++++++++++++++++++++++++++++++++
clxclient.spec | 83 +++++++++++++++++
sources | 1 +
4 files changed, 265 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fc6a617 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/clxclient-3.6.1.tar.bz2
diff --git a/clxclient-3.6.1-fsf-address.patch b/clxclient-3.6.1-fsf-address.patch
new file mode 100644
index 0000000..5027a99
--- /dev/null
+++ b/clxclient-3.6.1-fsf-address.patch
@@ -0,0 +1,180 @@
+diff -Nurp clxclient-3.6.1.orig/button.cc clxclient-3.6.1/button.cc
+--- clxclient-3.6.1.orig/button.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/button.cc 2011-10-28 10:42:05.315758307 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/clxclient.h clxclient-3.6.1/clxclient.h
+--- clxclient-3.6.1.orig/clxclient.h 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/clxclient.h 2011-10-28 10:49:08.855762356 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/enumip.cc clxclient-3.6.1/enumip.cc
+--- clxclient-3.6.1.orig/enumip.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/enumip.cc 2011-10-28 10:42:05.290758308 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/mclist.cc clxclient-3.6.1/mclist.cc
+--- clxclient-3.6.1.orig/mclist.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/mclist.cc 2011-10-28 10:42:05.312758309 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/menuwin.cc clxclient-3.6.1/menuwin.cc
+--- clxclient-3.6.1.orig/menuwin.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/menuwin.cc 2011-10-28 10:42:05.293758306 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/meter.cc clxclient-3.6.1/meter.cc
+--- clxclient-3.6.1.orig/meter.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/meter.cc 2011-10-28 10:42:05.309758307 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/scale.cc clxclient-3.6.1/scale.cc
+--- clxclient-3.6.1.orig/scale.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/scale.cc 2011-10-28 10:42:05.285758305 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/scroll.cc clxclient-3.6.1/scroll.cc
+--- clxclient-3.6.1.orig/scroll.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/scroll.cc 2011-10-28 10:42:05.298758308 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/slider.cc clxclient-3.6.1/slider.cc
+--- clxclient-3.6.1.orig/slider.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/slider.cc 2011-10-28 10:42:05.283758303 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/textip.cc clxclient-3.6.1/textip.cc
+--- clxclient-3.6.1.orig/textip.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/textip.cc 2011-10-28 10:42:05.307758306 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/xdisplay.cc clxclient-3.6.1/xdisplay.cc
+--- clxclient-3.6.1.orig/xdisplay.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/xdisplay.cc 2011-10-28 10:42:05.303758308 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/xdraw.cc clxclient-3.6.1/xdraw.cc
+--- clxclient-3.6.1.orig/xdraw.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/xdraw.cc 2011-10-28 10:42:05.317758306 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/xhandler.cc clxclient-3.6.1/xhandler.cc
+--- clxclient-3.6.1.orig/xhandler.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/xhandler.cc 2011-10-28 10:42:05.287758310 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/xresman.cc clxclient-3.6.1/xresman.cc
+--- clxclient-3.6.1.orig/xresman.cc 2008-01-26 22:10:44.000000000 +0100
++++ clxclient-3.6.1/xresman.cc 2011-10-28 10:42:05.295758309 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
+diff -Nurp clxclient-3.6.1.orig/xwindow.cc clxclient-3.6.1/xwindow.cc
+--- clxclient-3.6.1.orig/xwindow.cc 2008-04-09 21:53:41.000000000 +0200
++++ clxclient-3.6.1/xwindow.cc 2011-10-28 10:42:05.300758308 +0200
+@@ -14,7 +14,7 @@
+ //
+ // You should have received a copy of the GNU Lesser General Public
+ // License along with this program; if not, write to the Free Software
+-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
++// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ //
+ // ---------------------------------------------------------------------------------
+
diff --git a/clxclient.spec b/clxclient.spec
new file mode 100644
index 0000000..25f8e50
--- /dev/null
+++ b/clxclient.spec
@@ -0,0 +1,83 @@
+%global libmajor 3
+
+
+Summary: C++ X Windows Library
+Name: clxclient
+Version: 3.6.1
+Release: 5%{?dist}
+License: LGPLv2+
+Group: System Environment/Libraries
+URL: http://kokkinizita.linuxaudio.org/
+Source0: http://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2
+# patch emailed upstream
+Patch0: clxclient-3.6.1-fsf-address.patch
+
+BuildRequires: clthreads-devel
+BuildRequires: libXft-devel
+BuildRequires: libX11-devel
+
+%description
+C++ X Windows library
+
+%package -n clxclient-devel
+Summary: C++ X Windows Library Development Files
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description -n clxclient-devel
+Header files required for the development of applications using the clxclient
+C++ X Windows library.
+
+%prep
+%setup -q
+%patch0 -p1
+
+# Force Fedora's flags and correct linkage
+sed -e 's|-O2|%{optflags}|' \
+ -e 's|/sbin/ldconfig|# /sbin/ldconfig|' \
+ -e 's|`freetype-config --libs`||' \
+ -e 's! -shared ! -Wl,--as-needed\0!g' \
+ -e 's|-lpthread -lXft -lX11|-lclthreads -lXft -lX11|' \
+ -i Makefile
+
+%build
+make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_lib}
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p %{buildroot}%{_includedir}
+mkdir -p %{buildroot}%{_libdir}
+
+make install PREFIX=%{buildroot}%{_prefix} LIBDIR=%{_lib}
+ln -s libclxclient.so.%{version} %{buildroot}%{_libdir}/libclxclient.so.%{libmajor}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc AUTHORS COPYING
+%{_libdir}/lib%{name}*.so.*
+
+%files devel
+%{_libdir}/lib%{name}*.so
+%{_includedir}/%{name}.h
+
+%changelog
+* Fri Nov 04 2011 Brendan Jones <brendan.jones.it at gmail.com> 3.6.1-5
+- Reinstated BuildArch and macro
+
+* Fri Nov 04 2011 Brendan Jones <brendan.jones.it at gmail.com> 3.6.1-4
+- Bumped release number so as not to conflict with same package in CCRMA
+
+* Fri Nov 04 2011 Brendan Jones <brendan.jones.it at gmail.com> 3.6.1-3
+- Corrected license
+- Remove unnecessary linkage
+- Remove buildroot tag
+- Add BuildArch:noarch and removed isa macro from the -devel package
+
+* Fri Nov 04 2011 Brendan Jones <brendan.jones.it at gmail.com> 3.6.1-2
+- remove unecessary file permissions and buildroot removal
+
+* Tue Oct 18 2011 Brendan Jones <brendan.jones.it at gmail.com> 3.6.1-1
+- initial build, based on package from CCRMA
diff --git a/sources b/sources
index e69de29..767014d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bd47f80a855d3203fcf10365e79d85e4 clxclient-3.6.1.tar.bz2
More information about the scm-commits
mailing list