3 %bcond_without mozilla_firefox # build with mozilla-devel instead of
4 # mozilla-firefox-devel
6 %include /usr/lib/rpm/macros.mono
7 Summary: .NET RSS Reader
8 Summary(pl): Program do pobierania informacji w formacie RSS
13 Group: X11/Applications
14 Source0: http://ftp.imendio.com/pub/imendio/blam/src/%{name}-%{version}.tar.gz
15 # Source0-md5: 8cb05faedf60d895d94a5ecf9d10eb8f
16 Patch0: %{name}-mozilla.patch
17 Patch1: %{name}-mozilla_includes.patch
18 Patch2: %{name}-desktop.patch
19 Patch3: %{name}-install.patch
20 Patch4: %{name}-dotnet2.patch
21 Patch5: %{name}-include.patch
22 URL: http://micke.hallendal.net/
23 BuildRequires: GConf2-devel >= 2.14.0
24 BuildRequires: autoconf
25 BuildRequires: automake >= 1:1.7
26 BuildRequires: dotnet-gecko-sharp2-devel >= 0.11
27 BuildRequires: dotnet-gnome-sharp-devel >= 2.15.0
28 BuildRequires: dotnet-gtk-sharp2-devel >= 2.9.0
29 BuildRequires: intltool >= 0.25
30 BuildRequires: libgnomeui-devel >= 2.15.91
31 BuildRequires: libstdc++-devel
32 BuildRequires: libtool
33 BuildRequires: mono-csharp >= 1.1.4
34 %if %{with mozilla_firefox}
35 BuildRequires: mozilla-firefox-devel
37 BuildRequires: mozilla-devel
39 BuildRequires: pkgconfig
40 BuildRequires: rpmbuild(macros) >= 1.213
41 Requires(post,preun): GConf2 >= 2.4.0
42 %if %{with mozilla_firefox}
43 %requires_eq mozilla-firefox
45 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
47 ExcludeArch: alpha i386 sparc sparc64
48 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 Program do pobierania informacji w formacie RSS wykonany w technologii
74 --disable-schemas-install \
79 rm -rf $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
84 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
88 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
91 rm -rf $RPM_BUILD_ROOT
95 %gconf_schema_install blam.schemas
98 %gconf_schema_uninstall blam.schemas
100 %postun -p /sbin/ldconfig
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog NEWS README
105 %attr(755,root,root) %{_bindir}/*
106 %dir %{_prefix}/lib/%{name}
107 %attr(755,root,root) %{_libdir}/libblam.so*
108 %attr(755,root,root) %{_prefix}/lib/%{name}/*.exe
109 %{_prefix}/lib/%{name}/blam.exe.config
110 %{_prefix}/lib/%{name}/*.dll
114 %{_sysconfdir}/gconf/schemas/blam.schemas