packages: libqxt/libqxt.spec (NEW) - new from fc

glen glen at pld-linux.org
Thu Apr 22 23:11:55 CEST 2010


Author: glen                         Date: Thu Apr 22 21:11:55 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new from fc

---- Files affected:
packages/libqxt:
   libqxt.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libqxt/libqxt.spec
diff -u /dev/null packages/libqxt/libqxt.spec:1.1
--- /dev/null	Thu Apr 22 23:11:55 2010
+++ packages/libqxt/libqxt.spec	Thu Apr 22 23:11:47 2010
@@ -0,0 +1,97 @@
+# $Revision$, $Date$
+Summary:	Qt extension library
+Name:		libqxt
+Version:	0.6.0
+Release:	0.1
+License:	CPL or LGPL v2
+Group:		Libraries
+URL:		http://www.libqxt.org/
+Source0:	http://bitbucket.org/libqxt/libqxt/get/v%{version}.tar.bz2
+# Source0-md5:	129527c1b18676720f59d22bb4d5ef18
+BuildRequires:	avahi-compat-libdns_sd-devel
+BuildRequires:	avahi-devel
+BuildRequires:	db-devel
+BuildRequires:	openssl-devel
+BuildRequires:	qt4-build
+BuildRequires:	QtDesigner-devel
+BuildRequires:	sed >= 4.0
+BuildRequires:	xorg-lib-libXrandr-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# XXX: unify and move to rpm-build-macros
+%define		_qt4_datadir	%{_datadir}/qt4
+%define		_qt4_headerdir	%{_includedir}
+%define		_qt4_libdir		%{_libdir}
+%define		_qt4_plugindir	%{_libdir}/qt4/plugins
+
+%description
+LibQxt, an extension library for Qt, provides a suite of
+cross-platform utility classes to add functionality not readily
+available in the Qt toolkit.
+
+%package	devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	avahi-compat-libdns_sd-devel
+Requires:	avahi-devel
+Requires:	db-devel
+Requires:	qt4-build
+
+%description	devel
+This package contains libraries and header files for developing
+applications that use LibQxt.
+
+%prep
+%setup -q -n %{name}
+
+# We don't want rpath
+sed -i '/-rpath/d' src/qxtlibs.pri
+
+%build
+# Does not use GNU configure
+./configure -verbose \
+	-qmake-bin qmake-qt4 \
+	-prefix %{_prefix} \
+	-libdir %{_libdir}
+
+%{__make} -j1
+#%{__make} docs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+
+# We are installing these to the proper location
+rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGES *.txt README
+# XXX ghost and stuff
+%attr(755,root,root) %{_qt4_libdir}/*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc examples
+#%doc doc/html
+%{_qt4_headerdir}/*
+%{_qt4_libdir}/*.so
+%{_qt4_plugindir}/designer/*.so
+%{_qt4_datadir}/mkspecs/features/qxt*.prf
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/04/22 21:11:47  glen
+- new from fc
================================================================


More information about the pld-cvs-commit mailing list