SPECS (DEVEL): libgtop.spec - readded -examples subpackage - more ...

megabajt megabajt at pld-linux.org
Wed Jan 9 17:24:12 CET 2008


Author: megabajt                     Date: Wed Jan  9 16:24:12 2008 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- readded -examples subpackage
- more verbose files
- unified LibGTop name

---- Files affected:
SPECS:
   libgtop.spec (1.126.2.1 -> 1.126.2.2) 

---- Diffs:

================================================================
Index: SPECS/libgtop.spec
diff -u SPECS/libgtop.spec:1.126.2.1 SPECS/libgtop.spec:1.126.2.2
--- SPECS/libgtop.spec:1.126.2.1	Thu Dec 20 03:29:00 2007
+++ SPECS/libgtop.spec	Wed Jan  9 17:24:06 2008
@@ -1,9 +1,9 @@
 # $Revision$, $Date$
 Summary:	LibGTop library
-Summary(es.UTF-8):	Biblioteca libgtop
+Summary(es.UTF-8):	Biblioteca LibGTop
 Summary(ja.UTF-8):	LibGTop ăƒŠă‚¤ăƒ–ăƒŠăƒŞ
 Summary(pl.UTF-8):	Biblioteka LibGTop
-Summary(pt_BR.UTF-8):	Biblioteca libgtop
+Summary(pt_BR.UTF-8):	Biblioteca LibGTop
 Summary(ru.UTF-8):	БийНиОтока LibGTop
 Summary(uk.UTF-8):	БійНіОтока LibGTop
 Name:		libgtop
@@ -16,21 +16,22 @@
 # Source0-md5:	16895460107c980d698fec58330ef45d
 Patch0:		%{name}-configure.patch
 URL:		http://www.home-of-linux.org/gnome/libgtop/
-BuildRequires:	autoconf
+BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
-BuildRequires:	gettext-devel >= 0.10.35-9
 BuildRequires:	gdbm-devel >= 1.8.3
+BuildRequires:	gettext-devel >= 0.10.35-9
 BuildRequires:	glib2-devel >= 1:2.14.0
 BuildRequires:	gtk-doc >= 1.8
+BuildRequires:	intltool >= 0.35.0
 BuildRequires:	libtool
 BuildRequires:	perl-base
 BuildRequires:	pkgconfig
-BuildRequires:	popt-devel
 BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	texinfo
 BuildRequires:	xorg-lib-libXau-devel
-Obsoletes:	libgtop-examples
 Obsoletes:	libgtop1
+# sr at Latn vs. sr at latin
+Conflicts:	glibc-misc < 6:2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -83,23 +84,23 @@
 такиŃ
 дМороН як /dev/kmem.
 
 %package apidocs
-Summary:	libGTop API documentation
-Summary(pl.UTF-8):	Dokumentacja API libGTop
+Summary:	LibGTop API documentation
+Summary(pl.UTF-8):	Dokumentacja API LibGTop
 Group:		Documentation
 Requires:	gtk-doc-common
 
 %description apidocs
-libGTop API documentation.
+LibGTop API documentation.
 
 %description apidocs -l pl.UTF-8
-Dokumentacja API libGTop.
+Dokumentacja API LibGTop.
 
 %package devel
 Summary:	Header files and etc for develop LibGTop applications
-Summary(es.UTF-8):	Bibliotecas e archivos de inclusiĂłn para desarrollar aplicaciones libgtop
+Summary(es.UTF-8):	Bibliotecas e archivos de inclusiĂłn para desarrollar aplicaciones LibGTop
 Summary(ja.UTF-8):	LibGTop ă‚˘ăƒ—ăƒŞă‚ąăƒźă‚ˇăƒ§ăƒłä˝œćˆăŽăŸă‚ăŽăƒŠă‚¤ăƒ–ăƒŠăƒŞă€ă‚¤ăƒłă‚ŻăƒŤăƒźăƒ‰ăƒ•ă‚Ąă‚¤ăƒŤă‚„ăăŽäť–ăƒ•ă‚Ąă‚¤ăƒŤ
 Summary(pl.UTF-8):	Pliki nagłówkowe dla LibGTop
-Summary(pt_BR.UTF-8):	Bibliotecas e arquivos de inclusão para desenvolver aplicaçþes com a libgtop
+Summary(pt_BR.UTF-8):	Bibliotecas e arquivos de inclusão para desenvolver aplicaçþes com a LibGTop
 Summary(ru.UTF-8):	ФаКНы для раСрайОтки прОграПП с Đ¸ŃĐżĐžĐťŃŒĐˇĐžĐ˛Đ°Đ˝Đ¸ĐľĐź LibGTop
 Summary(uk.UTF-8):	ФаКНи для рОСрОйки прОграП С Đ˛Đ¸ĐşĐžŃ€Đ¸ŃŃ‚Đ°Đ˝Đ˝ŃĐź LibGTop
 Group:		X11/Development/Libraries
@@ -114,7 +115,7 @@
 
 %description devel -l es.UTF-8
 Bibliotecas e archivos de inclusiĂłn para desarrollar aplicaciones
-libgtop.
+LibGTop.
 
 %description devel -l ja.UTF-8
 CPU ă‚„ăƒĄăƒ˘ăƒŞăŽä˝żç”¨çŽ‡ăŞăŠăŽă‚ˇă‚šăƒ†ăƒ ćƒ
ĺ ąăŤă‚˘ă‚Żă‚ťă‚šă™ă‚‹ă‚˘ăƒ—ăƒŞă‚ąăƒźă‚ˇăƒ§ăƒłă‚’
@@ -126,7 +127,7 @@
 
 %description devel -l pt_BR.UTF-8
 Bibliotecas e arquivos de inclusão para desenvolver aplicaçþes com a
-libgtop.
+LibGTop.
 
 %description devel -l ru.UTF-8
 БийНиОтоки, Ń
одоры и Đ´Ń€ŃƒĐłĐ¸Đľ фаКНы для раСрайОтки прОграПП с
@@ -139,7 +140,7 @@
 %package static
 Summary:	Static LibGTop libraries
 Summary(pl.UTF-8):	Biblioteki statyczne LibGTop
-Summary(pt_BR.UTF-8):	Bibliotecas estĂĄticas para desenvolvimento com libgtop
+Summary(pt_BR.UTF-8):	Bibliotecas estĂĄticas para desenvolvimento com LibGTop
 Summary(ru.UTF-8):	Хтатичоскио йийНиОтоки для раСрайОтки прОграПП с Đ¸ŃĐżĐžĐťŃŒĐˇĐžĐ˛Đ°Đ˝Đ¸ĐľĐź LibGTop
 Summary(uk.UTF-8):	Хтатичні йійНіОтоки для рОСрОйки прОграП С Đ˛Đ¸ĐşĐžŃ€Đ¸ŃŃ‚Đ°Đ˝Đ˝ŃĐź LibGTop
 Group:		X11/Development/Libraries
@@ -152,7 +153,7 @@
 Biblioteki statyczne LibGTop.
 
 %description static -l pt_BR.UTF-8
-Bibliotecas estĂĄticas para desenvolvimento com libgtop.
+Bibliotecas estĂĄticas para desenvolvimento com LibGTop.
 
 %description static -l uk.UTF-8
 Хтатичні йійНіОтоки для рОСрОйки прОграП С Đ˛Đ¸ĐşĐžŃ€Đ¸ŃŃ‚Đ°Đ˝Đ˝ŃĐź LibGTop.
@@ -161,6 +162,17 @@
 Хтатичоскио йийНиОтоки для раСрайОтки прОграПП с Đ¸ŃĐżĐžĐťŃŒĐˇĐžĐ˛Đ°Đ˝Đ¸ĐľĐź
 LibGTop.
 
+%package examples
+Summary:	LibGTop - example programs
+Summary(pl.UTF-8):	LibGTop - przykładowe programy
+Group:		X11/Development/Libraries
+
+%description examples
+LibGTop - example programs.
+
+%description examples -l pl.UTF-8
+LibGTop - przykładowe programy.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -182,10 +194,15 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
+
 %find_lang %{name} --all-name
 
 %clean
@@ -203,7 +220,8 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libgtop-2.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgtop-2.0.so.7
 
 %files apidocs
 %defattr(644,root,root,755)
@@ -211,15 +229,19 @@
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libgtop-2.0.so
+%{_libdir}/libgtop-2.0.la
 %{_includedir}/libgtop-2.0
 %{_infodir}/*info*
-%{_pkgconfigdir}/*.pc
+%{_pkgconfigdir}/libgtop-2.0.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libgtop-2.0.a
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -227,6 +249,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.126.2.2  2008-01-09 16:24:06  megabajt
+- readded -examples subpackage
+- more verbose files
+- unified LibGTop name
+
 Revision 1.126.2.1  2007-12-20 02:29:00  patrys
 - 2.21.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libgtop.spec?r1=1.126.2.1&r2=1.126.2.2&f=u



More information about the pld-cvs-commit mailing list