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