Author: qboosh Date: Sun Jan 13 07:35:52 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - further packaging and deps fixes
---- Files affected: SPECS: gtk-vnc.spec (1.3 -> 1.4) ---- Diffs: ================================================================ Index: SPECS/gtk-vnc.spec diff -u SPECS/gtk-vnc.spec:1.3 SPECS/gtk-vnc.spec:1.4 --- SPECS/gtk-vnc.spec:1.3 Sun Jan 13 03:07:50 2008 +++ SPECS/gtk-vnc.spec Sun Jan 13 08:35:47 2008 @@ -4,18 +4,20 @@ Name: gtk-vnc Version: 0.3.0 Release: 1 -License: LGPL +License: LGPL v2 Group: Libraries Source0: http://dl.sourceforge.net/gtk-vnc/%{name}-%{version}.tar.gz # Source0-md5: 6ef6cd8862ba4edd797fe4df48db647d Patch0: %{name}-codegen.patch URL: http://gtk-vnc.sourceforge.net/ -BuildRequires: autoconf +BuildRequires: autoconf >= 2.50 BuildRequires: automake -BuildRequires: gtk+2-devel +BuildRequires: gnutls-devel >= 1.4.0 +BuildRequires: gtk+2-devel >= 1:2.0.0 BuildRequires: libtool -BuildRequires: python-devel -BuildRequires: python-pygtk-devel +BuildRequires: pkgconfig +BuildRequires: python-devel >= 1:2.4 +BuildRequires: python-pygtk-devel >= 2:2.0.0 BuildRequires: rpm-pythonprov BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -34,8 +36,8 @@ Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gtk-vnc Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: gtk+2-devel -Requires: python-pygtk-devel +Requires: gnutls-devel >= 1.4.0 +Requires: gtk+2-devel >= 1:2.0.0 %description devel Header files for gtk-vnc library. @@ -43,6 +45,18 @@ %description devel -l pl.UTF-8 Pliki nagłówkowe biblioteki gtk-vnc. +%package static +Summary: Static gtk-vnc library +Summary(pl.UTF-8): Statyczna biblioteka gtk-vnc +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static gtk-vnc library. + +%description static -l pl.UTF-8 +Statyczna biblioteka gtk-vnc. + %package -n python-gtk-vnc Summary: Python bindings for the gtk-vnc library Summary(pl.UTF-8): Wiązania Pythona do biblioteki gtk-vnc @@ -74,37 +88,42 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/*.a +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ + $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version} + +install examples/gvncviewer.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +install examples/gvncviewer.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version} + rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a} %clean rm -fr $RPM_BUILD_ROOT -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README COPYING.LIB -%attr(755,root,root) %{_libdir}/lib*.so.* +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libgtk-vnc-1.0.so.0 %files devel %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README COPYING.LIB -%doc examples/gvncviewer.c -%attr(755,root,root) %{_libdir}/lib*.so -%{_libdir}/lib*.la -%dir %{_includedir}/%{name}-1.0 -%{_includedir}/%{name}-1.0/*.h +%attr(755,root,root) %{_libdir}/libgtk-vnc-1.0.so +%{_libdir}/libgtk-vnc-1.0.la +%{_includedir}/%{name}-1.0 %{_pkgconfigdir}/%{name}-1.0.pc +%{_examplesdir}/%{name}-%{version} + +%files static +%defattr(644,root,root,755) +%{_libdir}/libgtk-vnc-1.0.a %files -n python-gtk-vnc %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README COPYING.LIB examples/gvncviewer.py -%{py_sitedir}/gtkvnc.so +%attr(755,root,root) %{py_sitedir}/gtkvnc.so +%{_examplesdir}/python-%{name}-%{version} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -112,6 +131,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.4 2008-01-13 07:35:47 qboosh +- further packaging and deps fixes + Revision 1.3 2008-01-13 02:07:50 qboosh - pl, cleanups part 1 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gtk-vnc.spec?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
