]> git.pld-linux.org Git - packages/xnc.git/blob - xnc.spec
7cc389e60cb6e563f7ac1ef8fb885d1e7ad36c13
[packages/xnc.git] / xnc.spec
1 Summary:        xnc - a file manager for Linux
2 Summary(pl.UTF-8):      xnc - zarządca plików dla Linuksa
3 Name:           xnc
4 Version:        5.0.4
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://www.xnc.dubna.su/src-5/%{name}-%{version}.src.tar.gz
9 # Source0-md5:  62446cdfdf5730f125fb351a658c0bd3
10 Patch0:         %{name}-Makefile_in.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://www.xnc.dubna.su/
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
17 BuildRequires:  libjpeg-devel
18 BuildRequires:  libpng-devel
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtiff-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sysconfdir     /etc/X11
24
25 %description
26 xnc is a file manager for Linux.
27
28 %description -l pl.UTF-8
29 xnc jest zarządcą plików dla Linuksa.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35
36 mv -f po/{sr,sr@Latn}.po
37 mv -f po/{sp,sr}.po
38 %{__perl} -pi -e 's/sr sp/sr sr\@Latn/' po/LINGUAS
39
40 rm -rf jpeg
41
42 %build
43 cp -f /usr/share/automake/config.sub .
44 %{__gettextize}
45 %{__aclocal}
46 %{__autoconf}
47 %configure
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %find_lang %{name}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc AUTHORS README* TODO WHATS_NEW
65 %attr(755,root,root) %{_bindir}/*
66 %attr(755,root,root) %{_libdir}/xnc
67 %{_mandir}/man1/*
68 %{_desktopdir}/*.desktop
69 %{_pixmapsdir}/*
This page took 0.047845 seconds and 2 git commands to generate.