- tabs in preamble
[packages/compupic.git] / compupic.spec
1 Summary:        A commercial picture browsing tool
2 Summary(pl.UTF-8):      Komercyjna aplikacja do przeglądania obrazków
3 Name:           compupic
4 Version:        5.1.1063
5 Release:        3
6 License:        Proprietary (Free for non-business use. Busines use requires registration.)
7 Group:          X11/Applications/Multimedia
8 Source0:        http://www.photodex.com/files.system/linux/%{name}-%{version}-i386-Linux.tar.gz
9 # Source0-md5:  7c4c1f042cfef63055de960933d7a19c
10 Source1:        %{name}.desktop
11 URL:            http://www.photodex.com/products/compupic/index.html
12 BuildRequires:  sed >= 4.0
13 ExclusiveArch:  %{ix86}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 The fastest, easiest to use software for browsing and viewing
18 pictures. CompuPic gives you unmatched performance paired with a full
19 set of features for editing, sharing, and using your digital content.
20
21 %description -l pl.UTF-8
22 Najszybsze i najłatwiejsze w użyciu narzędzie do przeglądania i
23 podglądu obrazków. CompuPic daje nieporównywalną wydajność połączoną z
24 pełną gamą możliwości edycji, udostępniania oraz używania cyfrowych
25 zasobów.
26
27 %prep
28 %setup -q -n %{name}-%{version}-i386-Linux
29 > install.sh
30 mkdir -p compupic
31 tar xf compupic.tar -C compupic
32 mv compupic/compupic.1 .
33 mv compupic/LICENSE .
34 mv compupic/README .
35 mv compupic/*.xpm .
36 %{__sed} -i -e 's/libn/FOOB/g;s/nss/FOO/g' compupic/compupic
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/compupic,%{_pixmapsdir},%{_desktopdir}}
41
42 cp -a compupic/* $RPM_BUILD_ROOT%{_datadir}/compupic
43 cp -a compupic.1 $RPM_BUILD_ROOT%{_mandir}/man1
44 cp -a *.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
45 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
46 ln -s %{_datadir}/compupic/compupic $RPM_BUILD_ROOT%{_bindir}/compupic
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README LICENSE
54 %attr(755,root,root) %{_bindir}/compupic
55 %dir %{_datadir}/compupic
56 # XXX: x86 binary can't be in %{_datadir}
57 %attr(755,root,root) %{_datadir}/compupic/compupic
58 %doc %{_datadir}/compupic/english
59 %doc %{_datadir}/compupic/web
60 %{_datadir}/compupic/cpicoeme.bmp
61 %{_datadir}/compupic/defscr
62 %{_datadir}/compupic/docscr
63 %{_datadir}/compupic/order.txt
64 %{_pixmapsdir}/cpicicon-*.xpm
65 %{_desktopdir}/compupic.desktop
66 %{_mandir}/man1/compupic.1*
This page took 0.036343 seconds and 3 git commands to generate.