]>
Commit | Line | Data |
---|---|---|
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: 3 | |
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 | Patch4: %{name}-dotnet2.patch | |
16 | Patch5: %{name}-include.patch | |
17 | URL: http://micke.hallendal.net/ | |
18 | BuildRequires: GConf2-devel >= 2.14.0 | |
19 | BuildRequires: autoconf | |
20 | BuildRequires: automake >= 1:1.7 | |
21 | BuildRequires: dotnet-gecko-sharp2-devel >= 0.11 | |
22 | BuildRequires: dotnet-gnome-sharp-devel >= 2.15.0 | |
23 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.9.0 | |
24 | BuildRequires: intltool >= 0.25 | |
25 | BuildRequires: libgnomeui-devel >= 2.15.91 | |
26 | BuildRequires: libstdc++-devel | |
27 | BuildRequires: libtool | |
28 | BuildRequires: mono-csharp >= 1.1.4 | |
29 | BuildRequires: pkgconfig | |
30 | BuildRequires: rpmbuild(macros) >= 1.213 | |
31 | Requires(post,preun): GConf2 >= 2.4.0 | |
32 | Requires: mozilla-embedded | |
33 | ExcludeArch: alpha i386 sparc sparc64 | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | .NET RSS Reader. | |
38 | ||
39 | %description -l pl | |
40 | Program do pobierania informacji w formacie RSS wykonany w technologii | |
41 | .NET. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | %patch0 -p1 | |
46 | %patch1 -p1 | |
47 | %patch2 -p1 | |
48 | %patch3 -p1 | |
49 | %patch4 -p1 | |
50 | %patch5 -p1 | |
51 | ||
52 | %build | |
53 | rm -rf autom4te.cache | |
54 | %{__libtoolize} | |
55 | %{__aclocal} | |
56 | %{__autoheader} | |
57 | %{__automake} | |
58 | %{__autoconf} | |
59 | %configure \ | |
60 | --disable-schemas-install \ | |
61 | --disable-static | |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no | |
71 | ||
72 | %find_lang %{name} | |
73 | ||
74 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post | |
80 | /sbin/ldconfig | |
81 | %gconf_schema_install blam.schemas | |
82 | ||
83 | %preun | |
84 | %gconf_schema_uninstall blam.schemas | |
85 | ||
86 | %postun -p /sbin/ldconfig | |
87 | ||
88 | %files -f %{name}.lang | |
89 | %defattr(644,root,root,755) | |
90 | %doc AUTHORS ChangeLog NEWS README | |
91 | %attr(755,root,root) %{_bindir}/* | |
92 | %dir %{_prefix}/lib/%{name} | |
93 | %attr(755,root,root) %{_libdir}/libblam.so* | |
94 | %attr(755,root,root) %{_prefix}/lib/%{name}/*.exe | |
95 | %{_prefix}/lib/%{name}/blam.exe.config | |
96 | %{_prefix}/lib/%{name}/*.dll | |
97 | %{_datadir}/%{name} | |
98 | %{_desktopdir}/* | |
99 | %{_pixmapsdir}/* | |
100 | %{_sysconfdir}/gconf/schemas/blam.schemas |