View | Details | Raw Unified | Return to bug 8562
Collapse All | Expand All

(-)kxmleditor-1.1.4~/kxmleditor.spec (-31 / +19 lines)
Lines 1-39 Link Here
1
%define qt_ver_major 3
1
%define qtdir %_qt3dir
2
%define qtdir %_libdir/qt%qt_ver_major
2
%define kdedir %prefix
3
%define kdedir %(kde-config --prefix)
4
3
5
Name: kxmleditor
4
Name: kxmleditor
6
Version: 1.1.4
5
Version: 1.1.4
7
Release: alt1
6
Release: alt1.1
8
7
9
Packager: Yuri N. Sedunov <aris@altlinux.ru>
8
Packager: Yuri N. Sedunov <aris@altlinux.ru>
10
9
11
Group: Development/Other
10
Group: Development/Other
12
Summary: KXML Editor for KDE 3.x
11
Summary: KXML Editor for KDE
13
Summary(ru_RU.KOI8-R): òÅÄÁËÔÏÒ XML ÆÁÊÌÏ× ÄÌÑ KDE 3.x
12
Summary(ru_RU.UTF-8): Редактор XML файлов для KDE
14
License: GPL
13
License: GPL
15
Url: http://kxmleditor.sourceforge.net
14
Url: http://kxmleditor.sourceforge.net
16
15
17
Source: %name-%version.tar.gz
16
Source: %name-%version.tar.gz
18
17
19
%define desktop_file_utils_ver 0.8
20
Requires(post,postun): desktop-file-utils >= %desktop_file_utils_ver
21
22
BuildPreReq: menu-devel
23
BuildPreReq: desktop-file-utils >= %desktop_file_utils_ver
24
25
# Automatically added by buildreq on Thu Apr 15 2004
18
# Automatically added by buildreq on Thu Apr 15 2004
26
BuildRequires: XFree86-devel-static XFree86-libs fontconfig freetype2 gcc-c++ kde-settings kdelibs-devel libarts-devel libjpeg-devel libpng-devel libqt3-devel libstdc++-devel qt3-designer xml-utils zlib-devel
19
#BuildRequires: XFree86-devel-static XFree86-libs fontconfig freetype2 gcc-c++ kde-settings kdelibs-devel libarts-devel libjpeg-devel libpng-devel libqt3-devel libstdc++-devel qt3-designer xml-utils zlib-devel
20
21
BuildRequires: xorg-x11-devel gcc-c++ kdelibs-devel libarts-devel libjpeg-devel
22
BuildRequires: libpng-devel libqt3-devel libstdc++-devel xml-utils zlib-devel
27
23
28
%description
24
%description
29
KXML Editor is a program that lets you browse and edit XML files.
25
KXML Editor is a program that lets you browse and edit XML files.
30
26
31
%description -l ru_RU.KOI8-R
27
%description -l ru_RU.UTF-8
32
KXML Editor ÐÒÅÄÎÁÚÎÁÞÅÎ ÄÌÑ ÐÒÏÓÍÏÔÒÁ É ÒÅÄÁËÔÏÒÏ×ÁÎÉÑ XML ÆÁÊÌÏ×. 
28
KXML Editor предназначен для просмотра и редактирования XML файлов. 
33
29
34
%prep
30
%prep
35
%setup -q
31
%setup -q
36
%__subst 's,\.la\>,.so,' configure
32
#%__subst 's,\.la\>,.so,' configure
37
%__subst 's,\$(kde_appsdir)/Applications,\$(datadir)/applications,' %name/Makefile.in
33
%__subst 's,\$(kde_appsdir)/Applications,\$(datadir)/applications,' %name/Makefile.in
38
34
39
%build
35
%build
Lines 53-90 export QTDIR=%qtdir Link Here
53
%install
49
%install
54
%make DESTDIR=%buildroot install 
50
%make DESTDIR=%buildroot install 
55
51
56
# menu
57
%__mkdir_p %buildroot/%_menudir
58
freedesktop2menu.pl %name "Applications/Publishing" \
59
    %buildroot/%_datadir/applications/%name.desktop \
60
    %buildroot/%_menudir/%name
61
62
%__cp %buildroot/%_iconsdir/locolor/16x16/apps/%name.png %buildroot/%_iconsdir
63
64
%find_lang --with-kde %name
52
%find_lang --with-kde %name
65
53
66
%post 
54
%post 
67
%post_ldconfig
68
%update_menus
55
%update_menus
69
%update_desktopdb
56
%post_ldconfig
70
57
71
%postun 
58
%postun 
72
%postun_ldconfig
73
%clean_menus
59
%clean_menus
74
%clean_desktopdb
60
%postun_ldconfig
75
61
76
%files -f %name.lang
62
%files -f %name.lang
77
%_bindir/%name
63
%_bindir/%name
78
%_libdir/*.so*
64
%_libdir/*.so*
79
%_datadir/apps/%name
65
%_datadir/apps/%name
80
%_datadir/services/*.desktop
66
%_datadir/services/*.desktop
81
%_iconsdir/*.png
67
%_iconsdir/*/*/apps/%name.png
82
%_iconsdir/*/*/*/*.png
83
%_datadir/applications/%name.desktop
68
%_datadir/applications/%name.desktop
84
%_menudir/%name
85
%doc ChangeLog AUTHORS KXMLEditor.flw README
69
%doc ChangeLog AUTHORS KXMLEditor.flw README
86
70
87
%changelog
71
%changelog
72
* Fri Apr 21 2006 Sergey V Turchin <zerg at altlinux dot org> 1.1.4-alt1.1
73
- spec cleanup
74
- fix build on current Sisyphus
75
88
* Mon Jan 17 2005 Yuri N. Sedunov <aris@altlinux.ru> 1.1.4-alt1
76
* Mon Jan 17 2005 Yuri N. Sedunov <aris@altlinux.ru> 1.1.4-alt1
89
- 1.1.4
77
- 1.1.4
90
78

Return to bug 8562