]> git.pld-linux.org Git - packages/blam.git/blame - blam.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/blam.git] / blam.spec
CommitLineData
60843bcc 1#
2# Conditional build:
3%bcond_without mozilla_firefox # build with mozilla-devel instead of
4 # mozilla-firefox-devel
5#
6165d227 6%include /usr/lib/rpm/macros.mono
05f4d9eb 7Summary: .NET RSS Reader
8Summary(pl): Program do pobierania informacji w formacie RSS
5b80d2a3 9Name: blam
4480e3c9 10Version: 1.8.2
d3b8fd39 11Release: 3
4480e3c9 12License: GPL v2
5b80d2a3 13Group: X11/Applications
01c87091 14Source0: http://ftp.imendio.com/pub/imendio/blam/src/%{name}-%{version}.tar.gz
4480e3c9 15# Source0-md5: 8cb05faedf60d895d94a5ecf9d10eb8f
56c54050 16Patch0: %{name}-mozilla.patch
17Patch1: %{name}-mozilla_includes.patch
4d212d4e 18Patch2: %{name}-desktop.patch
9459459d 19Patch3: %{name}-install.patch
d3b8fd39 20Patch4: %{name}-dotnet2.patch
21Patch5: %{name}-include.patch
5b80d2a3 22URL: http://micke.hallendal.net/
d3b8fd39 23BuildRequires: GConf2-devel >= 2.14.0
5b80d2a3 24BuildRequires: autoconf
14fc354c 25BuildRequires: automake >= 1:1.7
d3b8fd39 26BuildRequires: dotnet-gecko-sharp2-devel >= 0.11
27BuildRequires: dotnet-gnome-sharp-devel >= 2.15.0
28BuildRequires: dotnet-gtk-sharp2-devel >= 2.9.0
05f4d9eb 29BuildRequires: intltool >= 0.25
d3b8fd39 30BuildRequires: libgnomeui-devel >= 2.15.91
d1e5a78a 31BuildRequires: libstdc++-devel
5b80d2a3 32BuildRequires: libtool
4480e3c9 33BuildRequires: mono-csharp >= 1.1.4
60843bcc 34%if %{with mozilla_firefox}
35BuildRequires: mozilla-firefox-devel
36%else
37BuildRequires: mozilla-devel
38%endif
05f4d9eb 39BuildRequires: pkgconfig
d58724c6 40BuildRequires: rpmbuild(macros) >= 1.213
7468076e 41Requires(post,preun): GConf2 >= 2.4.0
60843bcc 42%if %{with mozilla_firefox}
43%requires_eq mozilla-firefox
44%else
45Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
46%endif
6165d227 47ExcludeArch: alpha i386 sparc sparc64
5b80d2a3 48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
05f4d9eb 51.NET RSS Reader.
52
53%description -l pl
54Program do pobierania informacji w formacie RSS wykonany w technologii
55.NET.
5b80d2a3 56
57%prep
58%setup -q
05f4d9eb 59%patch0 -p1
56c54050 60%patch1 -p1
4d212d4e 61%patch2 -p1
9459459d 62%patch3 -p1
d3b8fd39 63%patch4 -p1
64%patch5 -p1
5b80d2a3 65
66%build
67rm -rf autom4te.cache
68%{__libtoolize}
69%{__aclocal}
70%{__autoheader}
71%{__automake}
72%{__autoconf}
05f4d9eb 73%configure \
9459459d 74 --disable-schemas-install \
75 --disable-static
5b80d2a3 76%{__make}
77
78%install
79rm -rf $RPM_BUILD_ROOT
80
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
d3b8fd39 84rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
85
5b80d2a3 86%find_lang %{name}
87
9459459d 88rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
05f4d9eb 89
5b80d2a3 90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post
9459459d 94/sbin/ldconfig
7468076e 95%gconf_schema_install blam.schemas
96
97%preun
98%gconf_schema_uninstall blam.schemas
5b80d2a3 99
9459459d 100%postun -p /sbin/ldconfig
101
5b80d2a3 102%files -f %{name}.lang
103%defattr(644,root,root,755)
f8601c17 104%doc AUTHORS ChangeLog NEWS README
5b80d2a3 105%attr(755,root,root) %{_bindir}/*
4eeeabee 106%dir %{_prefix}/lib/%{name}
9459459d 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
5b80d2a3 111%{_datadir}/%{name}
58f012cd 112%{_desktopdir}/*.desktop
5b80d2a3 113%{_pixmapsdir}/*
9459459d 114%{_sysconfdir}/gconf/schemas/blam.schemas
This page took 0.323406 seconds and 4 git commands to generate.