]> git.pld-linux.org Git - packages/blam.git/blobdiff - blam.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/blam.git] / blam.spec
index 6445ae7f2c407d1162836a423319c5c9265adccf..98b63eb9d4ae44f6a5019cddadd06d5a905bc73e 100644 (file)
--- a/blam.spec
+++ b/blam.spec
@@ -1,24 +1,14 @@
 #
-# Conditional build:
-%bcond_without mozilla_firefox # build with mozilla-devel instead of
-                               # mozilla-firefox-devel
-#
-%include        /usr/lib/rpm/macros.mono
 Summary:       .NET RSS Reader
-Summary(pl):   Program do pobierania informacji w formacie RSS
+Summary(pl.UTF-8):     Program do pobierania informacji w formacie RSS
 Name:          blam
-Version:       1.8.2
-Release:       3
+Version:       1.8.7
+Release:       1
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.imendio.com/pub/imendio/blam/src/%{name}-%{version}.tar.gz
-# Source0-md5: 8cb05faedf60d895d94a5ecf9d10eb8f
-Patch0:                %{name}-mozilla.patch
-Patch1:                %{name}-mozilla_includes.patch
-Patch2:                %{name}-desktop.patch
-Patch3:                %{name}-install.patch
-Patch4:                %{name}-dotnet2.patch
-Patch5:                %{name}-include.patch
+Source0:       http://www.cmartin.tk/blam/%{name}-%{version}.tar.bz2
+# Source0-md5: ecb4af421c93ae8e58087de4b00e6b35
+Patch0:                %{name}-desktop.patch
 URL:           http://micke.hallendal.net/
 BuildRequires: GConf2-devel >= 2.14.0
 BuildRequires: autoconf
@@ -31,43 +21,29 @@ BuildRequires:      libgnomeui-devel >= 2.15.91
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: mono-csharp >= 1.1.4
-%if %{with mozilla_firefox}
-BuildRequires: mozilla-firefox-devel
-%else
-BuildRequires: mozilla-devel
-%endif
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.213
+BuildRequires: xulrunner-devel
 Requires(post,preun):  GConf2 >= 2.4.0
-%if %{with mozilla_firefox}
-%requires_eq   mozilla-firefox-libs
-%else
-Requires:      mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
-%endif
+%requires_eq   xulrunner
 ExcludeArch:   alpha i386 sparc sparc64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 .NET RSS Reader.
 
-%description -l pl
+%description -l pl.UTF-8
 Program do pobierania informacji w formacie RSS wykonany w technologii
 .NET.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
 
 %build
 rm -rf autom4te.cache
 %{__libtoolize}
 %{__aclocal}
-%{__autoheader}
 %{__automake}
 %{__autoconf}
 %configure \
@@ -81,8 +57,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
-
 %find_lang %{name}
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -104,11 +78,16 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
 %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}/*.desktop
-%{_pixmapsdir}/*
 %{_sysconfdir}/gconf/schemas/blam.schemas
+%{_iconsdir}/hicolor/16x16/apps/blam.png
+%{_iconsdir}/hicolor/22x22/apps/blam.png
+%{_iconsdir}/hicolor/24x24/apps/blam.png
+%{_iconsdir}/hicolor/32x32/apps/blam.png
+%{_iconsdir}/hicolor/48x48/apps/blam.png
+%{_iconsdir}/hicolor/scalable/apps/blam.svg
+%{_mandir}/man1/blam.1*
This page took 0.042534 seconds and 4 git commands to generate.