]> git.pld-linux.org Git - SPECS.git/blob - kconfigure.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / kconfigure.spec
1 Summary:        Simplifies compiling and installing software by providing a graphical interface
2 Summary(pl.UTF-8):      Graficzny interfejs upraszczający kompilację i instalowanie oprogramowania
3 Name:           kconfigure
4 Version:        2.1
5 Release:        2
6 License:        GPL
7 Group:          Development/Tools
8 Source0:        http://dl.sourceforge.net/kconfigure/%{name}-%{version}.tar.gz
9 # Source0-md5:  5b9094af94efdc65ec14fe7f5a7c7ef8
10 URL:            http://kconfigure.sourceforge.net/
11 BuildRequires:  automake
12 BuildRequires:  kdebase-devel
13 BuildRequires:  kdelibs-devel >= 9:3.2.0
14 BuildRequires:  rpmbuild(macros) >= 1.129
15 BuildRequires:  sed >= 4.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Kconfigure is a KDE program to compile the sources without the xterm
20 or other text terminal. Easy to use, click in konqueror the configure
21 file and configure, make and install the sources in the gui with
22 kconfigure.
23
24 %description -l pl.UTF-8
25 Kconfigure jest programem pod KDE służącym do kompilacji źródeł bez
26 xterma czy innego terminala tekstowego. Jest łatwy w użyciu, wystarczy
27 kliknąć w konquerorze na pliku configure aby przejść przez proces
28 konfiguracji, kompilacji i instalacji źródeł w graficznym interfejsie
29 kconfigure.
30
31 %prep
32 %setup -q -n %{name}
33
34 sed -i -e 's/^Categories=.*/Categories=Qt;KDE;Development;Building;/' kconfigure/kconfigure.desktop
35
36 %build
37 cp -f /usr/share/automake/config.sub admin
38 %configure \
39         --with-qt-libraries=%{_libdir}
40
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT \
48         kde_htmldir=%{_kdedocdir} \
49         kde_libs_htmldir=%{_kdedocdir} \
50         mangdir=%{_mandir}/man1
51
52 gzip -d $RPM_BUILD_ROOT%{_mandir}/man1/kconfigure.1.gz
53
54 install -d $RPM_BUILD_ROOT%{_desktopdir}
55 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Applications/kconfigure.desktop \
56         $RPM_BUILD_ROOT%{_desktopdir}
57
58 %find_lang %{name} --with-kde
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog README TODO
66 %attr(755,root,root) %{_bindir}/kconfigure
67 %{_datadir}/apps/kconfigure
68 %{_iconsdir}/hicolor/*x*/apps/kconfigure.png
69 %{_iconsdir}/hicolor/*x*/mimetypes/configure.png
70 %{_desktopdir}/kconfigure.desktop
71 %{_datadir}/mimelnk/text/x-configure.desktop
72 %{_mandir}/man1/kconfigure.1*
This page took 1.514168 seconds and 3 git commands to generate.