]>
Commit | Line | Data |
---|---|---|
8f00908b WF |
1 | # |
2 | # TODO: | |
3 | # - add man files | |
4 | # | |
5 | %define orgname kde-dev-scripts | |
6 | %define _state stable | |
7 | %define qtver 4.8.1 | |
8 | ||
9 | Summary: An set of scripts useful for building and maintaining KDE | |
10 | Summary(pl.UTF-8): Zestaw skryptów do kompilowania i utrzymywania KDE | |
11 | Name: kde4-%{orgname} | |
1a882135 | 12 | Version: 4.13.0 |
8f00908b WF |
13 | Release: 1 |
14 | License: GPL | |
15 | Group: X11/Development/Tools | |
16 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz | |
1a882135 | 17 | # Source0-md5: 65af761f930a6ccbabe9aa343ff48858 |
8f00908b WF |
18 | URL: http://www.kde.org/ |
19 | BuildRequires: QtNetwork-devel >= %{qtver} | |
20 | BuildRequires: QtScriptTools-devel >= %{qtver} | |
21 | BuildRequires: antlr | |
22 | BuildRequires: automoc4 >= 0.9.88 | |
23 | BuildRequires: boost-devel >= 1.35.0 | |
24 | BuildRequires: bzip2-devel | |
25 | BuildRequires: cmake >= 2.8.0 | |
26 | BuildRequires: db-devel | |
27 | BuildRequires: docbook-dtd42-xml | |
28 | BuildRequires: docbook-style-xsl | |
29 | BuildRequires: gettext-devel | |
30 | BuildRequires: qt4-build >= %{qtver} | |
31 | BuildRequires: qt4-qmake >= %{qtver} | |
32 | BuildRequires: rpm-pythonprov | |
33 | BuildRequires: rpmbuild(macros) >= 1.600 | |
34 | BuildRequires: subversion-devel >= 0.37.0 | |
35 | BuildRequires: utempter-devel | |
36 | Suggests: /usr/bin/perl | |
8f00908b | 37 | Obsoletes: kde4-kdesdk-scripts-cvs |
eff17d67 | 38 | Obsoletes: kde4-kdesdk-scripts-developer |
8f00908b | 39 | BuildArch: noarch |
eff17d67 | 40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8f00908b WF |
41 | |
42 | %description | |
43 | This package contains: | |
44 | - script that extracts strings in an application's .rc file, e.g. | |
45 | testappui.rc, and writes into the pot file | |
46 | - script that counts lines of code, comments and blank space in C and | |
47 | C++ source files | |
48 | - script for finding missing and packaging crystal icons. | |
49 | - kdelnk to desktop and zonetab2pot converter | |
50 | - set of kde-build scripts | |
51 | - set of scripts that allow more comfortable profiling of KDE apps | |
52 | - set of scripts to fix licence header/KDE includes directives and | |
53 | strip irrelevant tags from .ui files | |
54 | - KDE man pages generator | |
55 | - multi-frame PNG to MNG converter | |
56 | ||
57 | %description -l pl.UTF-8 | |
58 | Ten pakiet zawiera: | |
59 | - skrypt, który wyciąga łańcuchy z plików .rc aplikacji, np. | |
60 | testappgui.rc i zapisuje je do plików pot, z których tworzy się | |
61 | tłumaczenia (pliki po) | |
62 | - skrypt zliczający linijki kodu, komentarzy i znaków białych w | |
63 | plikach źródłowych C i C++ | |
64 | - skrypt do wyszukiwania brakujących i pakietowania ikon z motywu | |
65 | crystal. | |
66 | - konwerter plików kdelnk na desktop i zonetab na pot | |
67 | - zestaw skryptów kde-build | |
68 | - zestaw skryptów umożliwiających wygodne profilowanie aplikacji KDE | |
69 | - zestaw skryptów do poprawiania nagłówków informujących o licencji i | |
70 | dyrektyw w plikach nagłówkowych KDE oraz usuwania nieistotnych | |
71 | znaczników z plików .ui | |
72 | - generator stron man dla KDE | |
73 | - konwerter wieloramkowych PNG na MNG | |
74 | ||
75 | %prep | |
76 | %setup -q -n %{orgname}-%{version} | |
77 | ||
78 | %build | |
79 | install -d build | |
80 | cd build | |
81 | %cmake \ | |
82 | ../ | |
83 | ||
84 | %{__make} | |
85 | ||
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | install -d $RPM_BUILD_ROOT{%{_gimpdir}/palettes,%{_appdefsdir}} | |
90 | ||
91 | %{__make} -C build install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT \ | |
93 | kde_htmldir=%{_kdedocdir} | |
94 | ||
95 | rm -rf $RPM_BUILD_ROOT%{_iconsdir}/locolor | |
96 | ||
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
100 | %files | |
101 | %defattr(644,root,root,755) | |
102 | %attr(755,root,root) %{_bindir}/adddebug | |
103 | %attr(755,root,root) %{_bindir}/build-progress.sh | |
104 | %attr(755,root,root) %{_bindir}/cheatmake | |
105 | %attr(755,root,root) %{_bindir}/create_cvsignore | |
106 | %attr(755,root,root) %{_bindir}/create_makefiles | |
107 | %attr(755,root,root) %{_bindir}/create_svnignore | |
108 | %attr(755,root,root) %{_bindir}/cvsaddcurrentdir | |
109 | %attr(755,root,root) %{_bindir}/cvsbackport | |
110 | %attr(755,root,root) %{_bindir}/cvsforwardport | |
111 | %attr(755,root,root) %{_bindir}/cvslastlog | |
112 | %attr(755,root,root) %{_bindir}/cvsrevertlast | |
113 | %attr(755,root,root) %{_bindir}/cvsversion | |
114 | %attr(755,root,root) %{_bindir}/findmissingcrystal | |
115 | %attr(755,root,root) %{_bindir}/fix-include.sh | |
116 | %attr(755,root,root) %{_bindir}/kdedoc | |
117 | %attr(755,root,root) %{_bindir}/krazy-licensecheck | |
118 | %attr(755,root,root) %{_bindir}/optimizegraphics | |
119 | %attr(755,root,root) %{_bindir}/nonsvnlist | |
120 | %attr(755,root,root) %{_bindir}/pruneemptydirs | |
121 | %attr(755,root,root) %{_bindir}/qtdoc | |
122 | %attr(755,root,root) %{_bindir}/svnbackport | |
123 | %attr(755,root,root) %{_bindir}/svnforwardport | |
124 | %attr(755,root,root) %{_bindir}/svnchangesince | |
125 | %attr(755,root,root) %{_bindir}/svngettags | |
126 | %attr(755,root,root) %{_bindir}/svnlastlog | |
127 | %attr(755,root,root) %{_bindir}/svnrevertlast | |
128 | %attr(755,root,root) %{_bindir}/wcgrep | |
129 | %attr(755,root,root) %{_bindir}/draw_lib_dependencies | |
130 | %attr(755,root,root) %{_bindir}/create_makefile | |
131 | %attr(755,root,root) %{_bindir}/makeobj | |
132 | %attr(755,root,root) %{_bindir}/cvscheck | |
133 | %attr(755,root,root) %{_bindir}/cvslastchange | |
134 | %attr(755,root,root) %{_bindir}/noncvslist | |
135 | %attr(755,root,root) %{_bindir}/cvs-clean | |
136 | %attr(755,root,root) %{_bindir}/cvsblame | |
137 | %attr(755,root,root) %{_bindir}/colorsvn | |
138 | %attr(755,root,root) %{_bindir}/svn-clean | |
139 | %attr(755,root,root) %{_bindir}/svnlastchange | |
140 | %attr(755,root,root) %{_bindir}/svnversions | |
141 | %attr(755,root,root) %{_bindir}/extractrc | |
142 | %attr(755,root,root) %{_bindir}/extractattr | |
143 | %attr(755,root,root) %{_bindir}/zonetab2pot.py | |
144 | %attr(755,root,root) %{_bindir}/fixkdeincludes | |
145 | %attr(755,root,root) %{_bindir}/fixuifiles | |
146 | %attr(755,root,root) %{_bindir}/includemocs | |
147 | %attr(755,root,root) %{_bindir}/cxxmetric | |
148 | %attr(755,root,root) %{_bindir}/extend_dmalloc | |
149 | %attr(755,root,root) %{_bindir}/kdekillall | |
150 | %attr(755,root,root) %{_bindir}/kdelnk2desktop.py | |
151 | %attr(755,root,root) %{_bindir}/package_crystalsvg | |
152 | %attr(755,root,root) %{_bindir}/png2mng.pl | |
153 | %attr(755,root,root) %{_bindir}/kdemangen.pl | |
154 | %attr(755,root,root) %{_bindir}/svnintegrate | |
155 | %attr(755,root,root) %{_bindir}/kde_generate_export_header | |
156 | %attr(755,root,root) %{_bindir}/kde-systemsettings-tree.py | |
157 | %attr(755,root,root) %{_bindir}/reviewboard-am | |
158 | %{_mandir}/man1/adddebug.1* | |
159 | %{_mandir}/man1/cheatmake.1* | |
160 | %{_mandir}/man1/create_cvsignore.1* | |
161 | %{_mandir}/man1/create_makefile.1* | |
162 | %{_mandir}/man1/create_makefiles.1* | |
163 | %{_mandir}/man1/cvscheck.1* | |
164 | %{_mandir}/man1/cvslastchange.1* | |
165 | %{_mandir}/man1/cvslastlog.1* | |
166 | %{_mandir}/man1/cvsrevertlast.1* | |
167 | %{_mandir}/man1/cxxmetric.1* | |
168 | %{_mandir}/man1/extend_dmalloc.1* | |
169 | %{_mandir}/man1/extractrc.1* | |
170 | %{_mandir}/man1/fixincludes.1* | |
171 | %{_mandir}/man1/pruneemptydirs.1* | |
172 | %{_mandir}/man1/qtdoc.1* | |
173 | %{_mandir}/man1/reportview.1* | |
174 | %{_mandir}/man1/transxx.1* | |
175 | %{_mandir}/man1/zonetab2pot.py.1* |