SPECS: qedje.spec - added BRs and Rs - added -devel subpackages - fixed bui...

shadzik shadzik at pld-linux.org
Sun Nov 2 17:57:39 CET 2008


Author: shadzik                      Date: Sun Nov  2 16:57:39 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added BRs and Rs
- added -devel subpackages
- fixed build and packaged all files
- TODO: needs description

---- Files affected:
SPECS:
   qedje.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/qedje.spec
diff -u SPECS/qedje.spec:1.3 SPECS/qedje.spec:1.4
--- SPECS/qedje.spec:1.3	Sun Nov  2 17:49:32 2008
+++ SPECS/qedje.spec	Sun Nov  2 17:57:34 2008
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+
+%define		qtver	4.4.3
+
 Summary:	qedje
 Summary(pl.UTF-8):	qedje
 Name:		qedje
@@ -9,9 +12,14 @@
 Source0:	http://dev.openbossa.org/%{name}/downloads/source/%{name}/%{name}-%{version}.tar.gz
 # Source0-md5:	7435e3631fd44dce4086afe8698cdb13
 URL:		http://dev.openbossa.org/trac/qedje
+BuildRequires:	QtCore-devel >= %{qtver}
+BuildRequires:	QtGui-devel >= %{qtver}
 BuildRequires:	eet-devel
+BuildRequires:	pkgconfig
+BuildRequires:	qt4-qmake >= %{qtver}
 BuildRequires:	qzion-devel
 BuildRequires:	rpmbuild(macros) >= 1.164
+Requires(post,postun):	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -20,25 +28,50 @@
 %description -l pl.UTF-8
 qedje
 
+%package devel
+Summary:        Header files for qedje library
+Summary(pl.UTF-8):      Pliki nagÅ~Bówkowe biblioteki qedje
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+Header files for qedje library.
+
+%description devel -l pl.UTF-8
+Pliki nagÅ~Bówkowe biblioteki qedje.
+
 %prep
 %setup -q
 
 %build
-qmake
+qmake-qt4 \
+	PREFIX=%{_prefix}
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	INSTALL_ROOT=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/kde4/plasma_applet_wifi_signal.so
+%attr(755,root,root) %{_libdir}/libqedje.so.*.*.*
+%attr(755,root,root) %{_libdir}/libqedje.prl
+%attr(755,root,root) %ghost %{_libdir}/libqedje.so.?
+%attr(755,root,root) %ghost %{_libdir}/libqedje.so.?.?
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libqedje.so
+%{_includedir}/*.h
+%{_pkgconfigdir}/qedje.pc
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -46,6 +79,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008/11/02 16:57:34  shadzik
+- added BRs and Rs
+- added -devel subpackages
+- fixed build and packaged all files
+- TODO: needs description
+
 Revision 1.3  2008/11/02 16:49:32  shadzik
 - BR: -devels
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qedje.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list