]> git.pld-linux.org Git - packages/compupic.git/blobdiff - compupic.spec
- removed NoSource
[packages/compupic.git] / compupic.spec
index 2f099208bb5ce6d9089626d87dc45137e402692e..669712dfe8e0286fe2fe094064f1e86ae4b17b9a 100644 (file)
@@ -3,12 +3,12 @@ Summary(pl):  Komercyjna aplikacja do przegl
 Name:          compupic
 Version:       5.1.1063
 Release:       2
-##License:     Proprietary (Free for non-business use. Busines use requires registration.)
-Copyright:     Photodex Corporation
+License:       Proprietary (Free for non-business use. Busines use requires registration.)
+Vendor:                Photodex Corporation
 Group:         X11/Applications/Multimedia
 Source0:       http://www.photodex.com/files.system/linux/%{name}-%{version}-i386-Linux.tar.gz 
-# NoSource0-md5: 7c4c1f042cfef63055de960933d7a19c
-NoSource:      0
+# Source0-md5: 7c4c1f042cfef63055de960933d7a19c
+Source1:       %{name}.desktop
 URL:           http://www.photodex.com/products/compupic/index.html
 BuildRequires: coreutils
 ExclusiveArch: %{ix86}
@@ -17,11 +17,12 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 The fastest, easiest to use software for browsing and viewing pictures. 
 CompuPic gives you unmatched performance paired with a full set of 
-features for editing, sharing, and using your digital content
+features for editing, sharing, and using your digital content.
 
 %description -l pl
 Najszybsze i naj³atwiejsze w u¿yciu narzêdzie do przegl±dania i podgl±du
-obrazków. 
+obrazków. CompuPic daje nieporównywaln± wydajno¶æ po³±czon± z pe³n± gam±
+mo¿liwo¶ci edycji, udostêpniania oraz u¿ywania cyfrowych zasobów.
 
 %prep
 %setup -q -n compupic-5.1.1063-i386-Linux
@@ -29,7 +30,6 @@ obrazk
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/compupic,%{_pixmapsdir},%{_desktopdir}}
 
 tar xf compupic.tar -C $RPM_BUILD_ROOT%{_datadir}/compupic
@@ -43,19 +43,7 @@ perl -pi -e 's/nss/FOO/g' compupic
 ln compupic ../../bin/compupic
 cd -
 
-cat > $RPM_BUILD_ROOT%{_desktopdir}/compupic.desktop <<_EOF_
-[Desktop Entry]
-Encoding=UTF-8
-Name=Compupic
-Name[pl]=Compupic
-Type=Application
-Exec=compupic
-GenericName=Picture browser
-GenericName[pl]=Przegl±darka obrazów
-_EOF_
-
-iconv -f iso8859-2 -t utf8 $RPM_BUILD_ROOT%{_desktopdir}/compupic.desktop >> $RPM_BUILD_ROOT%{_desktopdir}/compupic.desktop.1
-mv $RPM_BUILD_ROOT%{_desktopdir}/compupic.desktop{.1,}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.216748 seconds and 4 git commands to generate.