]> git.pld-linux.org Git - projects/template-specs.git/blob - kdepackage.spec
pecl: add example how to make failed tests as XFAIL
[projects/template-specs.git] / kdepackage.spec
1 Summary:        -
2 Summary(pl.UTF-8):      -
3 Name:           -
4 Version:        -
5 Release:        0.1
6 License:        CHECK FIRST!
7 Group:          X11/Applications/...
8 Source0:        %{name}
9 # Source0-md5:  -
10 URL:            -
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  kdelibs-devel >= 9:3.2.0
14 BuildRequires:  rpmbuild(macros) >= 1.129
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18
19 %description -l pl.UTF-8
20
21 %prep
22 %setup -q
23
24 %build
25 # update config.sub for amd64
26 cp -f /usr/share/automake/config.sub admin
27 # or rebuild auto*
28 %{__make} -f admin/Makefile.common cvs
29 %configure \
30 %if "%{_lib}" == "lib64"
31         --enable-libsuffix=64 \
32 %endif
33         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
34         --with-qt-libraries=%{_libdir}
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         kde_htmldir=%{_kdedocdir} \
44         kde_libs_htmldir=%{_kdedocdir} \
45         kdelnkdir=%{_desktopdir} \
46
47 %find_lang %{name} --with-kde
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files -f %{name}.lang
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/*
55 %{_pixmapsdir}/*
56 %{_desktopdir}/*.desktop
57 %{_iconsdir}/*/*/apps/%{name}.png
58 %{_datadir}/mimelnk/application/*
59 %{_datadir}/apps/%{name}
This page took 0.051741 seconds and 3 git commands to generate.