- works tx to fixes from rpm in the evil and dark past
authordjurban <djurban@pld-linux.org>
Wed, 3 Mar 2004 21:29:07 +0000 (21:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- saq: that iconv there is not because i have nothing to run in the spec,
  it converts from iso8859-2 to UTF8! if you change it to utf-8 than it wont
  convert

Changed files:
    compupic.spec -> 1.3

compupic.spec

index 352d7c7..2f09920 100644 (file)
@@ -2,7 +2,7 @@ Summary:        A commercial picture browsing tool.
 Summary(pl):   Komercyjna aplikacja do przegl±dania obrazków
 Name:          compupic
 Version:       5.1.1063
-Release:       1
+Release:       2
 ##License:     Proprietary (Free for non-business use. Busines use requires registration.)
 Copyright:     Photodex Corporation
 Group:         X11/Applications/Multimedia
@@ -38,6 +38,8 @@ mv $RPM_BUILD_ROOT%{_datadir}/compupic/*.xpm  $RPM_BUILD_ROOT%{_pixmapsdir}/
 mv $RPM_BUILD_ROOT%{_datadir}/compupic/LICENSE ./
 mv $RPM_BUILD_ROOT%{_datadir}/compupic/README ./
 cd $RPM_BUILD_ROOT%{_datadir}/compupic
+perl -pi -e 's/libn/FOOB/g' compupic
+perl -pi -e 's/nss/FOO/g' compupic
 ln compupic ../../bin/compupic
 cd -
 
@@ -45,11 +47,11 @@ cat > $RPM_BUILD_ROOT%{_desktopdir}/compupic.desktop <<_EOF_
 [Desktop Entry]
 Encoding=UTF-8
 Name=Compupic
-Name[pl]=
+Name[pl]=Compupic
 Type=Application
 Exec=compupic
 GenericName=Picture browser
-GenericName[pl]=Przeglądarka obrazów
+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
@@ -65,7 +67,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_datadir}/compupic/english
 %doc %{_datadir}/compupic/web
 %{_mandir}/man1/compupic*
-%{_datadir}/compupic/compupic
+%attr(755,root,root) %{_datadir}/compupic/compupic
 %{_datadir}/compupic/cpicoeme.bmp
 %{_datadir}/compupic/defscr
 %{_datadir}/compupic/docscr
This page took 0.148074 seconds and 4 git commands to generate.