SPECS: photoprint.spec - rel.1
blues
blues at pld-linux.org
Fri Aug 29 00:56:31 CEST 2008
Author: blues Date: Thu Aug 28 22:56:31 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel.1
---- Files affected:
SPECS:
photoprint.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/photoprint.spec
diff -u SPECS/photoprint.spec:1.2 SPECS/photoprint.spec:1.3
--- SPECS/photoprint.spec:1.2 Thu Aug 28 23:55:52 2008
+++ SPECS/photoprint.spec Fri Aug 29 00:56:25 2008
@@ -2,19 +2,18 @@
Summary: Photo Print - Prints photos in various layouts and with color management
Name: photoprint
Version: 0.3.8b
-Release: 0.2
+Release: 1
License: GPL
Group: Publishing
Source0: http://www.blackfiveservices.co.uk/photoprint_resources/%{name}-%{version}.tar.gz
# Source0-md5: 9f8cc6552a799bbeeee42d64b2cb7a1a
URL: http://www.blackfiveservices.co.uk/photoprint.shtml
-BuildRequires: ImageMagick
+#BuildRequires: ImageMagick
BuildRequires: libgutenprint-devel
-BuildRequires: liblcms-devel
+BuildRequires: lcms-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-
Photo Print is a utility for printing images via Gutenprint (a
rebranding of Gimp-Print for the latest version).
@@ -27,15 +26,11 @@
%setup -q
%build
-# Do not do any compiler optimizations, they break the program.
+# Do not do any compiler optimizations, they break the program - MDK note
#CFLAGS='' CXXFLAGS='' ./configure --program-prefix= --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libdir} --localstatedir=/var/lib --sharedstatedir=%{_prefix}/com --mandir=%{_mandir} --infodir=%{_infodir} --x-includes=%{_prefix}/X11R6/include --x-libraries=%{_prefix}/X11R6/lib
%configure
-
%{__make}
-# Generate menu icons in required format
-convert splashscreen/SplashScreen.tif -resize 32x32 photoprint.png
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/photoprint/{borders,ProfilingKit} \
@@ -48,18 +43,7 @@
install photoprint.1 $RPM_BUILD_ROOT%{_mandir}/man1/
# install menu icon
-install photoprint.png $RPM_BUILD_ROOT%{_iconsdir}
-
-## install menu entry
-#install -d $RPM_BUILD_ROOT%_menudir
-#cat <<EOF > $RPM_BUILD_ROOT%_menudir/photoprint
-#?package(photoprint): needs=X11 \
-#section="Multimedia/Graphics" \
-#title="Photo Print" \
-#longtitle="Prints photos in various layouts and with color management" \
-#command="photoprint" \
-#icon="photoprint.png"
-#EOF
+mv $RPM_BUILD_ROOT/%{_iconsdir}/hicolor/48x48/apps/fotoprint.png $RPM_BUILD_ROOT%{_iconsdir}
%find_lang %{name} --with-gnome
@@ -70,7 +54,8 @@
%defattr(644,root,root,755)
%doc README COPYING NEWS TODO
%attr(755,root,root) %{_bindir}/*
-%{_iconsdir}/%{name}.png
+%{_iconsdir}/*.png
+%{_desktopdir}/*.desktop
%{_mandir}/man*/*
%{_datadir}/photoprint
@@ -80,6 +65,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008/08/28 22:56:25 blues
+- rel.1
+
Revision 1.2 2008/08/28 21:55:52 blues
- adapterized, some parts to separate spec
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/photoprint.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list