]> git.pld-linux.org Git - packages/Charmap.git/blame - Charmap.spec
- tabs in preamle
[packages/Charmap.git] / Charmap.spec
CommitLineData
5544b2b8 1Summary: Character map for GNUstep
9aaca813 2Summary(pl.UTF-8): Mapa znaków dla GNUstepa
5544b2b8 3Name: Charmap
4Version: 0.2
5Release: 1
6License: GPL
7Group: X11/Applications
8Source0: http://komputilo.org/~crculver/devel/charmap-%{version}.tar.gz
9# Source0-md5: cb3431b5dcb9e7e9c6dfdcc970ee868d
10Patch0: %{name}-initializeWithArguments.patch
14093a53 11URL: http://www.nongnu.org/charmap/
5544b2b8 12BuildRequires: gnustep-gui-devel >= 0.9.1
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%define _prefix /usr/%{_lib}/GNUstep
16
17%define libcombo gnu-gnu-gnu
18%define gsos linux-gnu
19%ifarch %{ix86}
20%define gscpu ix86
21%else
22# also s/alpha.*/alpha/, but we use only "alpha" arch for now
23%define gscpu %(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
24%endif
25
26%description
a4c7d953 27Charmap is a powerful character map. It works on Unix-like operating
28systems with the GNUstep environment installed.
29
30Charmap's power lies its support not just of simply helping to pick
31characters, but also its display of substantial Unicode data about
32each character, such as the Unicode name, alias, canonical
33decomposition, Unicode category, and various representations. With
34all this, developers and linguaphiles alike will find Charmap
35a useful tool.
5544b2b8 36
67f75227
JR
37%description -l pl.UTF-8
38Charmap to mapa znaków o dużych możliwościach. Działa pod uniksowymi
39systemami operacyjnymi z zainstalowanym środowiskiem GNUstep.
14093a53 40
67f75227
JR
41Potęga Charmapa polega na obsłudze nie tylko prostej pomocy przy
42wybieraniu znaków, ale także wyświetlaniu istotnych danych unikodowych
43dotyczących każdego znaku, takich jak nazwa unikodowa, alias, rozkład
44kanoniczny, kategoria unikodowa i różne reprezentacje. Dzięki temu
45wszystkiemu programiści jak i językofile uznają Charmapa za użyteczne
46narzędzie.
14093a53 47
5544b2b8 48%prep
49%setup -q -n charmap-%{version}
50%patch0 -p1
51
52%build
53. %{_prefix}/System/Library/Makefiles/GNUstep.sh
54%{__make} \
55 OPTFLAG="%{rpmcflags}" \
56 messages=yes
57
58%install
59rm -rf $RPM_BUILD_ROOT
60. %{_prefix}/System/Library/Makefiles/GNUstep.sh
61
62%{__make} install \
63 GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%post -p /sbin/ldconfig
69%postun -p /sbin/ldconfig
70
71%files
72%defattr(644,root,root,755)
73%dir %{_prefix}/System/Applications/Charmap.app
74%attr(755,root,root) %{_prefix}/System/Applications/Charmap.app/Charmap
75%dir %{_prefix}/System/Applications/Charmap.app/Resources
76%{_prefix}/System/Applications/Charmap.app/Resources/*.desktop
77%{_prefix}/System/Applications/Charmap.app/Resources/*.plist
78%{_prefix}/System/Applications/Charmap.app/Resources/*.png
79%{_prefix}/System/Applications/Charmap.app/Resources/*.gorm
80%{_prefix}/System/Applications/Charmap.app/Resources/*.txt
81%dir %{_prefix}/System/Applications/Charmap.app/%{gscpu}
82%dir %{_prefix}/System/Applications/Charmap.app/%{gscpu}/%{gsos}
83%dir %{_prefix}/System/Applications/Charmap.app/%{gscpu}/%{gsos}/%{libcombo}
84%attr(755,root,root) %{_prefix}/System/Applications/Charmap.app/%{gscpu}/%{gsos}/%{libcombo}/Charmap
85%{_prefix}/System/Applications/Charmap.app/%{gscpu}/%{gsos}/%{libcombo}/*.openapp
This page took 0.077667 seconds and 4 git commands to generate.