rpms/gnome-scan/F-8 gnome-scan.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Deji Akingunola (deji) fedora-extras-commits at redhat.com
Sat Nov 10 16:43:28 UTC 2007


Author: deji

Update of /cvs/pkgs/rpms/gnome-scan/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8051/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	gnome-scan.spec 
Log Message:
Initial commit


--- NEW FILE gnome-scan.spec ---
Summary:	Gnome solution for scanning in the desktop on top of libsane
Name:		gnome-scan
Version:	0.5.3
Release:	0.1.20071030svn%{?dist}
Group:		Applications/System
License:	LGPLv2+
URL:		http://home.gna.org/gnomescan/
#Source0:	http://download.gna.org/gnomescan/%{name}-%{version}.tar.gz
# Tarball generated from svn checkout on the date referenced in the spec
# 'Release' field. The tarball can be re-generated as follows;
#  svn co -r 458 http://svn.gnome.org/svn/gnome-scan/trunk/ gnome-scan-svn20071030
#  cd gnome-scan-svn20071030 && ./autogen.sh && make distcheck
Source0:	%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	gtk2-devel libgnomeui-devel sane-backends-devel
BuildRequires:	gegl-devel gimp-devel
BuildRequires:	gettext perl(XML::Parser) pkgconfig
BuildRequires:	desktop-file-utils gtk-doc gnome-doc-utils
Requires:	gimp
Provides:	flegita = %{version}-%{release}
Provides:	gnomescan = %{version}-%{release}
Obsoletes:	gnomescan < 0.5

%description
Gnome Scan provide a library for use by applications (e.g. using
plugins) as well as a tiny standalone application, called flegita,
which allow to simply save scan to file.

%package libs
Summary:	Gnome-scan library
Group:		Development/Libraries
Obsoletes:	gnomescan < 0.5

%description libs
Libraries for using gnome-scan

%package devel
Summary:	Development files for gnome-scan
Group:		Development/Libraries
Requires:	%{name}-libs = %{version}-%{release}
Requires:	pkgconfig gtk2-devel
Requires:	gegl-devel libgnomeui-devel

%description devel
Contains development headers and libraries for gnome-scan

%prep
%setup -q

%build
%configure --disable-static
# Disable rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

make %{?_smp_mflags} 

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install

desktop-file-install --delete-original			\
	--remove-category Application			\
	--dir %{buildroot}%{_datadir}/applications	\
	--mode 0644					\
	%{buildroot}%{_datadir}/applications/flegita.desktop


%find_lang %{name}

find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
rm -rf %{buildroot}%{_prefix}/doc

%clean
rm -rf %{buildroot}

%post 
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%post libs -p /sbin/ldconfig

%postun 
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun libs -p /sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/flegita
%{_libdir}/gimp/2.0/plug-ins/flegita-gimp
%{_datadir}/applications/flegita.desktop
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/gnome-scan/

%files libs
%defattr(-,root,root,-)
%dir %{_libdir}/gnome-scan-1.0 
%{_libdir}/libgnomescan.so.*
%{_libdir}/gnome-scan-1.0/*.so.*
%{_datadir}/gtk-doc/html/gnome-scan*/

%files devel
%defattr(-,root,root,-)
%{_includedir}/gnome-scan-1.0/
%{_libdir}/libgnomescan.so
%{_libdir}/gnome-scan-1.0/*.so
%{_libdir}/pkgconfig/gnome-scan.pc

%changelog
* Tue Oct 30 2007 Deji Akingunola <dakingun at gmail.com> - 0.5.3-0.1.20071030svn
- Update to a SVN snapshot that build against current gegl

* Sat Sep 14 2007 Deji Akingunola <dakingun at gmail.com> - 0.5.2-1
- Rename gnomescan to gnome-scan
- Version 0.5.2

* Mon Jan 29 2007 Deji Akingunola <dakingun at gmail.com> - 0.4.0.4-1
- Update to 0.4.0.4

* Tue Jan 09 2007 Deji Akingunola <dakingun at gmail.com> - 0.4.0.2-1
- Initial build for Extras

* Thu Dec 07 2006 Deji Akingunola <dakingun at gmail.com> - 0.3.1-1
- Initial build for Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-scan/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Oct 2007 16:37:38 -0000	1.1
+++ .cvsignore	10 Nov 2007 16:42:55 -0000	1.2
@@ -0,0 +1 @@
+gnome-scan-0.5.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-scan/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Oct 2007 16:37:38 -0000	1.1
+++ sources	10 Nov 2007 16:42:55 -0000	1.2
@@ -0,0 +1 @@
+0d109c93e2876cf778d5d7e9a7dc1b2e  gnome-scan-0.5.3.tar.bz2




More information about the fedora-extras-commits mailing list