]> git.pld-linux.org Git - packages/bonobo-conf.git/blobdiff - bonobo-conf.spec
- updated gettext BR
[packages/bonobo-conf.git] / bonobo-conf.spec
index 728acf62ca068ebabb8a20886d5778244762bf87..94d874816d75b17f32af2a6f3a39a021ba1ab02d 100644 (file)
@@ -1,15 +1,14 @@
 Summary:       Bonobo configuration moniker
-Summary(pl):   Narzedzie konfiguracyjne Bonobo
+Summary(pl.UTF-8):     Narzędzie konfiguracyjne Bonobo
 Name:          bonobo-conf
-Version:       0.11
-Release:       1
+Version:       0.16
+Release:       2
 License:       GPL
 Group:         X11/Libraries
-Group(de):     X11/Libraries
-Group(es):     X11/Bibliotecas
-Group(fr):     X11/Librairies
-Group(pl):     X11/Biblioteki
-Source0:       ftp://ftp.gnome.org/pub/GNOME/unstable/sources/%{name}/%{name}-%{version}.tar.gz
+Source0:       http://ftp.gnome.org/pub/gnome/sources/bonobo-conf/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 03467d42b8a74d379cfef238017eb862
+Patch0:                %{name}-am15.patch
+Patch1:                %{name}-locale_names.patch
 URL:           http://www.gnome.org/
 BuildRequires: GConf-devel >= 0.11
 BuildRequires: audiofile-devel
@@ -17,52 +16,63 @@ BuildRequires:      autoconf
 BuildRequires: automake
 BuildRequires: bonobo-devel >= 1.0.0
 BuildRequires: esound-devel
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools
+BuildRequires: glib-devel >= 1.2.0
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: intltool
+BuildRequires: libtool
 BuildRequires: oaf-devel >= 0.6.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+Obsoletes:     libbonobo-conf0
 
 %description
 Bonobo configuration moniker.
 
-%description -l pl
-Narzedzie konfiguracyjne Bonobo
+%description -l pl.UTF-8
+Narzędzie konfiguracyjne Bonobo.
 
 %package devel
-Summary:       Libraries and include files for the configuration moniker
+Summary:       Include files for the configuration moniker
+Summary(pl.UTF-8):     Pliki nagłówkowe dla bibliotek narzędzia konfiguracyjnego Bonobo
 Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Libraries
-Group(pl):     X11/Programowanie/Biblioteki
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
+Obsoletes:     libbonobo-conf0-devel
 
 %description devel
 This package provides the necessary development libraries and include
 files to allow you to develop programs using the Bonobo configuration
 moniker.
 
-%description devel -l pl
-Biblioteki i pliki nag³ówkowe potrzebne do programowania.
+%description devel -l pl.UTF-8
+Biblioteki i pliki nagłówkowe potrzebne do programowania z użyciem
+bibliotek narzędzia konfiguracyjnego Bonobo.
 
 %package static
 Summary:       Static libraries for the configuration moniker
+Summary(pl.UTF-8):     Statyczne biblioteki narzędzia konfiguracyjnego Bonobo
 Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Libraries
-Group(pl):     X11/Programowanie/Biblioteki
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static libraries for the configuration moniker.
 
+%description static -l pl.UTF-8
+Statyczne biblioteki narzędzia konfiguracyjnego Bonobo.
+
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+
+mv -f po/{no,nb}.po
 
 %build
-gettextize --copy --force
-libtoolize --copy --force
-aclocal -I macros
-autoconf
+%{__gettextize}
+%{__libtoolize}
+xml-i18n-toolize --force
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
 %configure
 
 %{__make}
@@ -70,20 +80,22 @@ autoconf
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf AUTHORS ChangeLog NEWS README
+rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/monikers/*.{a,la}
 
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 %attr(755,root,root) %{_libdir}/bonobo/monikers/*.so*
@@ -91,10 +103,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz
 %attr(755,root,root) %{_libdir}/*.so
-%attr(755,root,root) %{_libdir}/*.la
-%attr(755,root,root) %{_libdir}/bonobo/monikers/*.la
+%{_libdir}/*.la
 %attr(755,root,root) %{_libdir}/*.sh
 %{_includedir}/bonobo-conf
 %{_datadir}/idl/*.idl
@@ -102,4 +112,3 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
-%{_libdir}/bonobo/monikers/*.a
This page took 0.103188 seconds and 4 git commands to generate.