]> git.pld-linux.org Git - packages/blam.git/blame_incremental - blam.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/blam.git] / blam.spec
... / ...
CommitLineData
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
7Summary: .NET RSS Reader
8Summary(pl): Program do pobierania informacji w formacie RSS
9Name: blam
10Version: 1.8.2
11Release: 3
12License: GPL v2
13Group: X11/Applications
14Source0: http://ftp.imendio.com/pub/imendio/blam/src/%{name}-%{version}.tar.gz
15# Source0-md5: 8cb05faedf60d895d94a5ecf9d10eb8f
16Patch0: %{name}-mozilla.patch
17Patch1: %{name}-mozilla_includes.patch
18Patch2: %{name}-desktop.patch
19Patch3: %{name}-install.patch
20Patch4: %{name}-dotnet2.patch
21Patch5: %{name}-include.patch
22URL: http://micke.hallendal.net/
23BuildRequires: GConf2-devel >= 2.14.0
24BuildRequires: autoconf
25BuildRequires: automake >= 1:1.7
26BuildRequires: dotnet-gecko-sharp2-devel >= 0.11
27BuildRequires: dotnet-gnome-sharp-devel >= 2.15.0
28BuildRequires: dotnet-gtk-sharp2-devel >= 2.9.0
29BuildRequires: intltool >= 0.25
30BuildRequires: libgnomeui-devel >= 2.15.91
31BuildRequires: libstdc++-devel
32BuildRequires: libtool
33BuildRequires: mono-csharp >= 1.1.4
34%if %{with mozilla_firefox}
35BuildRequires: mozilla-firefox-devel
36%else
37BuildRequires: mozilla-devel
38%endif
39BuildRequires: pkgconfig
40BuildRequires: rpmbuild(macros) >= 1.213
41Requires(post,preun): GConf2 >= 2.4.0
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
47ExcludeArch: alpha i386 sparc sparc64
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
51.NET RSS Reader.
52
53%description -l pl
54Program 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
67rm -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
79rm -rf $RPM_BUILD_ROOT
80
81%{__make} install \
82 DESTDIR=$RPM_BUILD_ROOT
83
84rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
85
86%find_lang %{name}
87
88rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
89
90%clean
91rm -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}/*.desktop
113%{_pixmapsdir}/*
114%{_sysconfdir}/gconf/schemas/blam.schemas
This page took 0.077344 seconds and 4 git commands to generate.