]> git.pld-linux.org Git - packages/blam.git/blobdiff - blam.spec
- one more %%files fix
[packages/blam.git] / blam.spec
index 1e722ea8135d58104d96fcffeebf64e1c313064f..188ff7e93ca41c6a8f9343208bf310466d5a2102 100644 (file)
--- a/blam.spec
+++ b/blam.spec
@@ -1,31 +1,34 @@
+%include        /usr/lib/rpm/macros.mono
 Summary:       .NET RSS Reader
 Summary(pl):   Program do pobierania informacji w formacie RSS
 Name:          blam
-Version:       1.4.0
-Release:       1
-License:       GPL
+Version:       1.8.2
+Release:       2
+License:       GPL v2
 Group:         X11/Applications
 Source0:       http://ftp.imendio.com/pub/imendio/blam/src/%{name}-%{version}.tar.gz
-# Source0-md5: 9954bd96a9082fd20e9664cdeb5c692b
-Patch0:                %{name}-locale-names.patch
+# Source0-md5: 8cb05faedf60d895d94a5ecf9d10eb8f
+Patch0:                %{name}-mozilla.patch
+Patch1:                %{name}-mozilla_includes.patch
+Patch2:                %{name}-desktop.patch
+Patch3:                %{name}-install.patch
 URL:           http://micke.hallendal.net/
 BuildRequires: GConf2-devel >= 2.4.0
 BuildRequires: autoconf
-BuildRequires: automake >= 1.7
-BuildRequires: dotnet-gecko-sharp-devel >= 0.5
+BuildRequires: automake >= 1:1.7
+BuildRequires: dotnet-gecko-sharp-devel >= 0.6
 BuildRequires: dotnet-gtk-sharp-devel >= 1.0
+BuildRequires: dotnet-gtk-sharp-gnome-devel >= 1.0
 BuildRequires: intltool >= 0.25
 BuildRequires: libgnomeui-devel >= 2.2.0
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
-BuildRequires: mono-csharp >= 1.0
+BuildRequires: mono-csharp >= 1.1.4
 BuildRequires: pkgconfig
-Requires(post):        GConf2 >= 2.4.0
-Requires:      dotnet-gecko-sharp
-Requires:      dotnet-gtk-sharp
-Requires:      mono
-Requires:      monodoc
+BuildRequires: rpmbuild(macros) >= 1.213
+Requires(post,preun):  GConf2 >= 2.4.0
 Requires:      mozilla-embedded
-ExcludeArch:   alpha
+ExcludeArch:   alpha i386 sparc sparc64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -38,8 +41,9 @@ Program do pobierania informacji w formacie RSS wykonany w technologii
 %prep
 %setup -q
 %patch0 -p1
-
-mv po/{no,nb}.po
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 rm -rf autom4te.cache
@@ -49,7 +53,8 @@ rm -rf autom4te.cache
 %{__automake}
 %{__autoconf}
 %configure \
-       --disable-schemas-install
+       --disable-schemas-install \
+       --disable-static
 %{__make}
 
 %install
@@ -60,23 +65,30 @@ rm -rf $RPM_BUILD_ROOT
 
 %find_lang %{name}
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
+/sbin/ldconfig
+%gconf_schema_install blam.schemas
+
+%preun
+%gconf_schema_uninstall blam.schemas
+
+%postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%{_sysconfdir}/gconf/schemas/*
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/libblam.so*
-%attr(755,root,root) %{_libdir}/%{name}/*.exe
-%{_libdir}/%{name}/*.dll
+%dir %{_prefix}/lib/%{name}
+%attr(755,root,root) %{_libdir}/libblam.so*
+%attr(755,root,root) %{_prefix}/lib/%{name}/*.exe
+%{_prefix}/lib/%{name}/blam.exe.config
+%{_prefix}/lib/%{name}/*.dll
 %{_datadir}/%{name}
 %{_desktopdir}/*
 %{_pixmapsdir}/*
+%{_sysconfdir}/gconf/schemas/blam.schemas
This page took 0.517164 seconds and 4 git commands to generate.