]> git.pld-linux.org Git - packages/vte.git/commitdiff
- grouped subpackages by library version auto/th/vte-0_28_1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 16 Jun 2011 15:00:06 +0000 (15:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- moved utempter dependency to -common
- removed gnome-common BR (needed only to run autogen.sh, which we don't use)
- unified library descriptions, note GTK+ version everywhere

Changed files:
    vte.spec -> 1.167

vte.spec

index 220b2dc2599da1c92e2b2b303516a0dad9394e17..fc0e6aae29ccc58c320740f1a68a509fdeda89f9 100644 (file)
--- a/vte.spec
+++ b/vte.spec
@@ -12,7 +12,6 @@ BuildRequires:        automake >= 1:1.9
 BuildRequires: docbook-dtd412-xml
 BuildRequires: gettext-devel
 BuildRequires: glib2-devel >= 1:2.28.0
-BuildRequires: gnome-common
 BuildRequires: gobject-introspection-devel >= 0.10.0
 BuildRequires: gtk+2-devel >= 2:2.14.0
 BuildRequires: gtk+3-devel >= 3.0.0
@@ -25,7 +24,6 @@ BuildRequires:        pkgconfig
 BuildRequires: python-pygtk-devel >= 2:2.12.0
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.592
-Requires(pre): utempter
 Requires:      %{name}-common = %{version}-%{release}
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
@@ -36,33 +34,24 @@ The vte package contains a terminal widget for GTK+ 3.x. It's used by
 gnome-terminal among other programs.
 
 %description -l pl.UTF-8
-Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany przez
-gnome-terminal oraz inne programy.
-
-%package -n vte0
-Summary:       VTE terminal widget library
-Summary(pl.UTF-8):     Biblioteka z kontrolką terminala VTE
-Group:         X11/Libraries
-Requires:      %{name}-common = %{version}-%{release}
-
-%description -n vte0
-The vte package contains a terminal widget for GTK+ 2.x. It's used by
-gnome-terminal among other programs.
-
-%description -n vte0 -l pl.UTF-8
-Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany przez
-gnome-terminal oraz inne programy.
+Ten pakiet zawiera kontrolkę terminala dla GTK+ 3.x. Jest używany
+przez gnome-terminal oraz inne programy.
 
 %package common
 Summary:       Common files for vte and vte0
+Summary(pl.UTF-8):     Pliki wspólne dla vte i vte0
 Group:         X11/Libraries
+Requires(pre): utempter
 
 %description common
-Common files for vte and vte0.
+Common files for GTK+ 3 based vte and GTK+ 2 based vte0.
+
+%description common -l pl.UTF-8
+Pliki wspólne dla vte opartego na GTK+ 3 oraz vte0 opartego na GTK+ 2.
 
 %package devel
-Summary:       Headers for VTE
-Summary(pl.UTF-8):     Pliki nagłówkowe VTE
+Summary:       Header files for VTE for GTK+ 3
+Summary(pl.UTF-8):     Pliki nagłówkowe VTE dla GTK+ 3
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.28.0
@@ -71,19 +60,54 @@ Requires:   ncurses-devel
 Conflicts:     gnome-libs-devel < 1.4.1.2
 
 %description devel
-The vte package contains a terminal widget for GTK+ 3.x. It's used by
-gnome-terminal among other programs.
-
-You should install the vte-devel package if you would like to compile
-applications that use the vte terminal widget. You do not need to
-install vte-devel if you just want to use precompiled applications.
+This package contains header files for GTK+ 3 based vte library.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe potrzebne do kompilowania programów używających vte.
+Pliki nagłówkowe potrzebne do kompilowania programów używających
+biblioteki vte opartej na GTK+ 3.
+
+%package static
+Summary:       Static VTE library for GTK+ 3
+Summary(pl.UTF-8):     Statyczna biblioteka VTE dla GTK+ 3
+Group:         X11/Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+Conflicts:     gnome-libs-static < 1.4.1.2
+
+%description static
+Static version of VTE library for GTK+ 3.
+
+%description static -l pl.UTF-8
+Statyczna wersja biblioteki VTE dla GTK+ 3.
+
+%package apidocs
+Summary:       VTE API documentation (GTK+ 3 version)
+Summary(pl.UTF-8):     Dokumentacja API VTE (wersja dla GTK+ 3)
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+VTE API documentation (GTK+ 3 version).
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API VTE (wersja dla GTK+ 3).
+
+%package -n vte0
+Summary:       VTE terminal widget library for GTK+ 2
+Summary(pl.UTF-8):     Biblioteka z kontrolką terminala VTE dla GTK+ 2
+Group:         X11/Libraries
+Requires:      %{name}-common = %{version}-%{release}
+
+%description -n vte0
+The vte package contains a terminal widget for GTK+ 2.x. It's used by
+gnome-terminal among other programs.
+
+%description -n vte0 -l pl.UTF-8
+Ten pakiet zawiera kontrolkę terminala dla GTK+ 2.x. Jest używany
+przez gnome-terminal oraz inne programy.
 
 %package -n vte0-devel
-Summary:       Headers for VTE
-Summary(pl.UTF-8):     Pliki nagłówkowe VTE
+Summary:       Header files for VTE for GTK+ 2
+Summary(pl.UTF-8):     Pliki nagłówkowe VTE dla GTK+ 2
 Group:         X11/Development/Libraries
 Requires:      vte0 = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.28.0
@@ -92,41 +116,36 @@ Requires:  ncurses-devel
 Conflicts:     gnome-libs-devel < 1.4.1.2
 
 %description -n vte0-devel
-The vte package contains a terminal widget for GTK+ 2.x. It's used by
-gnome-terminal among other programs.
-
-You should install the vte-devel package if you would like to compile
-applications that use the vte terminal widget. You do not need to
-install vte-devel if you just want to use precompiled applications.
+This package contains header files for GTK+ 2 based vte library.
 
 %description -n vte0-devel -l pl.UTF-8
-Pliki nagłówkowe potrzebne do kompilowania programów używających vte.
-
-%package static
-Summary:       Static VTE library
-Summary(pl.UTF-8):     Statyczna biblioteka VTE
-Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}-%{release}
-Conflicts:     gnome-libs-static < 1.4.1.2
-
-%description static
-Static version of VTE libraries.
-
-%description static -l pl.UTF-8
-Statyczna wersja bibliotek VTE.
+Pliki nagłówkowe potrzebne do kompilowania programów używających
+biblioteki vte opartej na GTK+ 2.
 
 %package -n vte0-static
-Summary:       Static VTE library - GTK+ 2.x version
-Summary(pl.UTF-8):     Statyczna biblioteka VTE - wersja dla GTK+ 2.x
+Summary:       Static VTE library for GTK+ 2
+Summary(pl.UTF-8):     Statyczna biblioteka VTE dla GTK+ 2
 Group:         X11/Development/Libraries
 Requires:      vte0-devel = %{version}-%{release}
 Conflicts:     gnome-libs-static < 1.4.1.2
 
 %description -n vte0-static
-Static version of VTE libraries - GTK+ 2.x version.
+Static version of VTE library for GTK+ 2.
 
 %description -n vte0-static -l pl.UTF-8
-Statyczna wersja bibliotek VTE - wersja dla GTK+ 2.x.
+Statyczna wersja biblioteki VTE dla GTK+ 2.
+
+%package -n vte0-apidocs
+Summary:       VTE API documentation - GTK+ 2.x version
+Summary(pl.UTF-8):     Dokumentacja API VTE - wersja dla GTK+ 2.x
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description -n vte0-apidocs
+VTE API documentation - GTK+ 2.x version.
+
+%description -n vte0-apidocs -l pl.UTF-8
+Dokumentacja API VTE - wersja dla GTK+ 2.x.
 
 %package -n python-vte
 Summary:       Python VTE module
@@ -155,30 +174,6 @@ Development files for VTE Python bindings.
 %description -n python-vte-devel -l pl.UTF-8
 Pliki programistyczne wiązań Pythona do VTE.
 
-%package apidocs
-Summary:       VTE API documentation
-Summary(pl.UTF-8):     Dokumentacja API VTE
-Group:         Documentation
-Requires:      gtk-doc-common
-
-%description apidocs
-VTE API documentation.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API VTE.
-
-%package -n vte0-apidocs
-Summary:       VTE API documentation - GTK+ 2.x version
-Summary(pl.UTF-8):     Dokumentacja API VTE - wersja dla GTK+ 2.x
-Group:         Documentation
-Requires:      gtk-doc-common
-
-%description -n vte0-apidocs
-VTE API documentation - GTK+ 2.x version.
-
-%description -n vte0-apidocs -l pl.UTF-8
-Dokumentacja API VTE - wersja dla GTK+ 2.x.
-
 %prep
 %setup -q
 
@@ -220,13 +215,10 @@ cd ..
 %install
 rm -rf $RPM_BUILD_ROOT
 
-cd gtk2
-%{__make} install \
+%{__make} -C gtk2 install \
        DESTDIR=$RPM_BUILD_ROOT
-cd ../gtk3
-%{__make} install \
+%{__make} -C gtk3 install \
        DESTDIR=$RPM_BUILD_ROOT
-cd ..
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la \
        $RPM_BUILD_ROOT%{py_sitedir}/gtk-2.0/vtemodule.{la,a}
@@ -240,7 +232,7 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%post -n vte0  -p /sbin/ldconfig
+%post  -n vte0 -p /sbin/ldconfig
 %postun        -n vte0 -p /sbin/ldconfig
 
 %files -f vte-2.90.lang
@@ -250,13 +242,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %ghost %{_libdir}/libvte2_90.so.9
 %{_libdir}/girepository-1.0/Vte-2.90.typelib
 
-%files -n vte0 -f vte-0.0.lang
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/vte
-%attr(755,root,root) %{_libdir}/libvte.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libvte.so.9
-%{_libdir}/girepository-1.0/Vte-0.0.typelib
-
 %files common
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
@@ -270,6 +255,21 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/vte-2.90.pc
 %{_datadir}/gir-1.0/Vte-2.90.gir
 
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libvte2_90.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/vte-2.90
+
+%files -n vte0 -f vte-0.0.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/vte
+%attr(755,root,root) %{_libdir}/libvte.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvte.so.9
+%{_libdir}/girepository-1.0/Vte-0.0.typelib
+
 %files -n vte0-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libvte.so
@@ -277,27 +277,19 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/vte.pc
 %{_datadir}/gir-1.0/Vte-0.0.gir
 
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libvte2_90.a
-
 %files -n vte0-static
 %defattr(644,root,root,755)
 %{_libdir}/libvte.a
 
+%files -n vte0-apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/vte-0.0
+
 %files -n python-vte
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/gtk-2.0/vtemodule.so
 
 %files -n python-vte-devel
 %defattr(644,root,root,755)
-%{_datadir}/pygtk/2.0/defs/*.defs
+%{_datadir}/pygtk/2.0/defs/vte.defs
 %{_pkgconfigdir}/pyvte.pc
-
-%files apidocs
-%defattr(644,root,root,755)
-%{_gtkdocdir}/vte-2.90
-
-%files -n vte0-apidocs
-%defattr(644,root,root,755)
-%{_gtkdocdir}/vte-0.0
This page took 0.046617 seconds and 4 git commands to generate.