]> git.pld-linux.org Git - packages/blam.git/blob - blam.spec
- added without mozilla_firefox bcond
[packages/blam.git] / blam.spec
1 #
2 # Conditional build:
3 %bcond_without  mozilla_firefox # build with mozilla-devel instead of
4                                 # mozilla-firefox-devel
5 #
6 %include         /usr/lib/rpm/macros.mono
7 Summary:        .NET RSS Reader
8 Summary(pl):    Program do pobierania informacji w formacie RSS
9 Name:           blam
10 Version:        1.8.2
11 Release:        3
12 License:        GPL v2
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
36 %else
37 BuildRequires:  mozilla-devel
38 %endif
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
44 %else
45 Requires:       mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
46 %endif
47 ExcludeArch:    alpha i386 sparc sparc64
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 .NET RSS Reader.
52
53 %description -l pl
54 Program do pobierania informacji w formacie RSS wykonany w technologii
55 .NET.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61 %patch2 -p1
62 %patch3 -p1
63 %patch4 -p1
64 %patch5 -p1
65
66 %build
67 rm -rf autom4te.cache
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoheader}
71 %{__automake}
72 %{__autoconf}
73 %configure \
74         --disable-schemas-install \
75         --disable-static
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
85
86 %find_lang %{name}
87
88 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post
94 /sbin/ldconfig
95 %gconf_schema_install blam.schemas
96
97 %preun
98 %gconf_schema_uninstall blam.schemas
99
100 %postun -p /sbin/ldconfig
101
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
111 %{_datadir}/%{name}
112 %{_desktopdir}/*
113 %{_pixmapsdir}/*
114 %{_sysconfdir}/gconf/schemas/blam.schemas
This page took 0.0581 seconds and 4 git commands to generate.