]>
Commit | Line | Data |
---|---|---|
258452ab | 1 | Summary: Development environment for children |
07ac0ac8 | 2 | Summary(pl.UTF-8): Środowiko programistyczne dla dzieci |
258452ab | 3 | Name: littlewizard |
83e5b963 | 4 | Version: 1.2.2 |
5 | Release: 0 | |
4d2e90b0 | 6 | License: GPL v2+ |
fe037dc5 | 7 | Group: Development/Tools |
99dcf5b3 | 8 | Source0: http://downloads.sourceforge.net/littlewizard/%{name}-%{version}.tar.gz |
83e5b963 | 9 | # Source0-md5: 1a6f4405418c8b55b29de0ce5934d73f |
0153b9a8 | 10 | Patch0: %{name}-Makefile.patch |
e1886668 | 11 | Patch1: %{name}-pixmapsdir.patch |
4d2e90b0 | 12 | Patch2: %{name}-desktop.patch |
258452ab | 13 | URL: http://littlewizard.sourceforge.net/ |
a42ef99b JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
700f728e MB |
16 | BuildRequires: gettext-devel |
17 | BuildRequires: gtk+2-devel >= 2:2.4.0 | |
18 | BuildRequires: libtool | |
19 | BuildRequires: libxml2-devel >= 2.4 | |
fe037dc5 | 20 | BuildRequires: pkgconfig |
700f728e | 21 | BuildRequires: rpmbuild(macros) >= 1.311 |
99dcf5b3 AF |
22 | Requires(post,postun): gtk-update-icon-cache |
23 | Requires(post,postun): hicolor-icon-theme | |
700f728e | 24 | Requires(post,postun): shared-mime-info |
258452ab | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
2c179dd8 | 28 | Development environment for children. Program little wizard without |
29 | using keybord, just use the drag and drop system. | |
30 | ||
31f9e0cd JR |
31 | %description -l pl.UTF-8 |
32 | Little wizard ("mały czarodziej") to środowisko programistyczne dla | |
f85bd721 | 33 | dzieci. Programuje się w nim bez użycia klawiatury, korzystając z |
34 | systemu "złap i upuść". | |
258452ab | 35 | |
a42460c8 | 36 | %package devel |
c27ccadd | 37 | Summary: Header files for littlewizard |
07ac0ac8 | 38 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek littlewizard |
a42460c8 | 39 | Group: Development/Libraries |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
42 | %description devel | |
c27ccadd | 43 | littlewizard header files. |
a42460c8 | 44 | |
31f9e0cd JR |
45 | %description devel -l pl.UTF-8 |
46 | Pliki nagłówkowe bibliotek littlewizard. | |
a42460c8 | 47 | |
48 | %package static | |
49 | Summary: Static libraries for littlewizard | |
07ac0ac8 | 50 | Summary(pl.UTF-8): Statyczne biblioteki dla littlewizard |
a42460c8 | 51 | Group: Development/Libraries |
c27ccadd | 52 | Requires: %{name}-devel = %{version}-%{release} |
a42460c8 | 53 | |
54 | %description static | |
55 | littlewizard static libraries. | |
56 | ||
31f9e0cd | 57 | %description static -l pl.UTF-8 |
a42460c8 | 58 | Biblioteki statyczne dla littlewizard. |
59 | ||
258452ab | 60 | %prep |
0153b9a8 | 61 | %setup -q |
62 | %patch0 -p1 | |
e1886668 | 63 | %patch1 -p1 |
4d2e90b0 | 64 | %patch2 -p1 |
258452ab | 65 | |
66 | %build | |
700f728e | 67 | %{__libtoolize} |
0153b9a8 | 68 | %{__aclocal} |
69 | %{__autoconf} | |
700f728e | 70 | %{__autoheader} |
0153b9a8 | 71 | %{__automake} |
258452ab | 72 | %configure |
6e610bb8 | 73 | %{__make} |
258452ab | 74 | |
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
80 | ||
700f728e | 81 | %find_lang %{name} |
685a842c | 82 | |
258452ab | 83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
700f728e MB |
86 | %post |
87 | /sbin/ldconfig | |
88 | %update_icon_cache hicolor | |
89 | %update_mime_database | |
889e0a74 | 90 | |
700f728e MB |
91 | %postun |
92 | /sbin/ldconfig | |
93 | %update_icon_cache hicolor | |
94 | %update_mime_database | |
95 | ||
96 | %files -f %{name}.lang | |
258452ab | 97 | %defattr(644,root,root,755) |
f85bd721 | 98 | %doc AUTHORS COMPATIBILITY ChangeLog README TODO |
700f728e MB |
99 | %attr(755,root,root) %{_bindir}/littlewizard |
100 | %attr(755,root,root) %{_bindir}/littlewizardtest | |
101 | %attr(755,root,root) %{_libdir}/liblanguage.so.*.*.* | |
102 | %attr(755,root,root) %ghost %{_libdir}/liblanguage.so.0 | |
103 | %attr(755,root,root) %{_libdir}/liblw.so.*.*.* | |
104 | %attr(755,root,root) %ghost %{_libdir}/liblw.so.0 | |
0153b9a8 | 105 | %{_pixmapsdir}/* |
700f728e | 106 | %{_desktopdir}/littlewizard.desktop |
10d9c88b | 107 | %{_datadir}/%{name} |
700f728e MB |
108 | %{_datadir}/mime/packages/littlewizard.xml |
109 | %{_iconsdir}/hicolor/*/*/*.png | |
110 | %{_iconsdir}/hicolor/*/*/*.svg | |
a42460c8 | 111 | |
112 | %files devel | |
113 | %defattr(644,root,root,755) | |
700f728e MB |
114 | %attr(755,root,root) %{_libdir}/liblanguage.so |
115 | %attr(755,root,root) %{_libdir}/liblw.so | |
116 | %{_libdir}/liblanguage.la | |
117 | %{_libdir}/liblw.la | |
c27ccadd | 118 | %{_includedir}/littlewizard |
a42460c8 | 119 | |
120 | %files static | |
121 | %defattr(644,root,root,755) | |
700f728e MB |
122 | %{_libdir}/liblanguage.a |
123 | %{_libdir}/liblw.a |