]> git.pld-linux.org Git - packages/blam.git/blob - blam.spec
9cde260fd0d7398d45240fbc1f554ea4660e6e01
[packages/blam.git] / blam.spec
1 %include         /usr/lib/rpm/macros.mono
2 Summary:        .NET RSS Reader
3 Summary(pl):    Program do pobierania informacji w formacie RSS
4 Name:           blam
5 Version:        1.8.2
6 Release:        2
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.imendio.com/pub/imendio/blam/src/%{name}-%{version}.tar.gz
10 # Source0-md5:  8cb05faedf60d895d94a5ecf9d10eb8f
11 Patch0:         %{name}-mozilla.patch
12 Patch1:         %{name}-mozilla_includes.patch
13 Patch2:         %{name}-desktop.patch
14 Patch3:         %{name}-install.patch
15 URL:            http://micke.hallendal.net/
16 BuildRequires:  GConf2-devel >= 2.4.0
17 BuildRequires:  autoconf
18 BuildRequires:  automake >= 1:1.7
19 BuildRequires:  dotnet-gecko-sharp-devel >= 0.6
20 BuildRequires:  dotnet-gtk-sharp-devel >= 1.0
21 BuildRequires:  dotnet-gtk-sharp-gnome-devel >= 1.0
22 BuildRequires:  intltool >= 0.25
23 BuildRequires:  libgnomeui-devel >= 2.2.0
24 BuildRequires:  libstdc++-devel
25 BuildRequires:  libtool
26 BuildRequires:  mono-csharp >= 1.1.4
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(macros) >= 1.213
29 Requires(post,preun):   GConf2 >= 2.4.0
30 Requires:       mozilla-embedded
31 ExcludeArch:    alpha i386 sparc sparc64
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 .NET RSS Reader.
36
37 %description -l pl
38 Program do pobierania informacji w formacie RSS wykonany w technologii
39 .NET.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45 %patch2 -p1
46 %patch3 -p1
47
48 %build
49 rm -rf autom4te.cache
50 %{__libtoolize}
51 %{__aclocal}
52 %{__autoheader}
53 %{__automake}
54 %{__autoconf}
55 %configure \
56         --disable-schemas-install \
57         --disable-static
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %find_lang %{name}
67
68 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post
74 /sbin/ldconfig
75 %gconf_schema_install blam.schemas
76
77 %preun
78 %gconf_schema_uninstall blam.schemas
79
80 %postun -p /sbin/ldconfig
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README
85 %attr(755,root,root) %{_bindir}/*
86 %dir %{_libdir}/%{name}
87 %attr(755,root,root) %{_libdir}/libblam.so*
88 %attr(755,root,root) %{_prefix}/lib/%{name}/*.exe
89 %{_prefix}/lib/%{name}/blam.exe.config
90 %{_prefix}/lib/%{name}/*.dll
91 %{_datadir}/%{name}
92 %{_desktopdir}/*
93 %{_pixmapsdir}/*
94 %{_sysconfdir}/gconf/schemas/blam.schemas
This page took 0.054702 seconds and 2 git commands to generate.