]> git.pld-linux.org Git - packages/blam.git/blobdiff - blam.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/blam.git] / blam.spec
index 8f0b6dac3178d9ae8e0cd60d2e252a026aec3784..98b63eb9d4ae44f6a5019cddadd06d5a905bc73e 100644 (file)
--- a/blam.spec
+++ b/blam.spec
@@ -1,55 +1,54 @@
+#
 Summary:       .NET RSS Reader
-Summary(pl):   Program do pobierania informacji w formacie RSS
+Summary(pl.UTF-8):     Program do pobierania informacji w formacie RSS
 Name:          blam
-Version:       1.6.0
+Version:       1.8.7
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications
-Source0:       http://ftp.imendio.com/pub/imendio/blam/src/%{name}-%{version}.tar.gz
-# Source0-md5: 2d806ec6c57330b929dd3bd78e564659
-Patch0:                %{name}-mozilla.patch
-Patch1:                %{name}-mozilla_includes.patch
+Source0:       http://www.cmartin.tk/blam/%{name}-%{version}.tar.bz2
+# Source0-md5: ecb4af421c93ae8e58087de4b00e6b35
+Patch0:                %{name}-desktop.patch
 URL:           http://micke.hallendal.net/
-BuildRequires: GConf2-devel >= 2.4.0
+BuildRequires: GConf2-devel >= 2.14.0
 BuildRequires: autoconf
-BuildRequires: automake >= 1.7
-BuildRequires: dotnet-gecko-sharp-devel >= 0.6
-BuildRequires: dotnet-gtk-sharp-devel >= 1.0
+BuildRequires: automake >= 1:1.7
+BuildRequires: dotnet-gecko-sharp2-devel >= 0.11
+BuildRequires: dotnet-gnome-sharp-devel >= 2.15.0
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.9.0
 BuildRequires: intltool >= 0.25
-BuildRequires: libgnomeui-devel >= 2.2.0
+BuildRequires: libgnomeui-devel >= 2.15.91
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
-BuildRequires: mono-csharp >= 1.0
+BuildRequires: mono-csharp >= 1.1.4
 BuildRequires: pkgconfig
-Requires(post):        GConf2 >= 2.4.0
-Requires:      dotnet-gecko-sharp
-Requires:      dotnet-gtk-sharp
-Requires:      mono
-Requires:      monodoc
-Requires:      mozilla-embedded
-ExcludeArch:   alpha amd64
+BuildRequires: rpmbuild(macros) >= 1.213
+BuildRequires: xulrunner-devel
+Requires(post,preun):  GConf2 >= 2.4.0
+%requires_eq   xulrunner
+ExcludeArch:   alpha i386 sparc sparc64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 .NET RSS Reader.
 
-%description -l pl
+%description -l pl.UTF-8
 Program do pobierania informacji w formacie RSS wykonany w technologii
 .NET.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 rm -rf autom4te.cache
 %{__libtoolize}
 %{__aclocal}
-%{__autoheader}
 %{__automake}
 %{__autoconf}
 %configure \
-       --disable-schemas-install
+       --disable-schemas-install \
+       --disable-static
 %{__make}
 
 %install
@@ -58,27 +57,37 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
-
 %find_lang %{name}
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
+/sbin/ldconfig
+%gconf_schema_install blam.schemas
+
+%preun
+%gconf_schema_uninstall blam.schemas
+
+%postun -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%{_sysconfdir}/gconf/schemas/*
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/libblam.so*
-%attr(755,root,root) %{_libdir}/%{name}/*.exe
-%{_libdir}/%{name}/*.dll
+%dir %{_prefix}/lib/%{name}
+%attr(755,root,root) %{_prefix}/lib/%{name}/*.exe
+%{_prefix}/lib/%{name}/blam.exe.config
+%{_prefix}/lib/%{name}/*.dll
 %{_datadir}/%{name}
-%{_desktopdir}/*
-%{_pixmapsdir}/*
+%{_desktopdir}/*.desktop
+%{_sysconfdir}/gconf/schemas/blam.schemas
+%{_iconsdir}/hicolor/16x16/apps/blam.png
+%{_iconsdir}/hicolor/22x22/apps/blam.png
+%{_iconsdir}/hicolor/24x24/apps/blam.png
+%{_iconsdir}/hicolor/32x32/apps/blam.png
+%{_iconsdir}/hicolor/48x48/apps/blam.png
+%{_iconsdir}/hicolor/scalable/apps/blam.svg
+%{_mandir}/man1/blam.1*
This page took 0.033245 seconds and 4 git commands to generate.