]>
Commit | Line | Data |
---|---|---|
d9e8a49f KM |
1 | Summary: LilyPond sheet music text editor for KDE4 |
2 | Summary(pl.UTF-8): Edytor arkuszy muzycznych LilyPond pod KDE4 | |
3 | Name: frescobaldi | |
d12f10f9 | 4 | Version: 1.2.0 |
eb7614cd | 5 | Release: 2 |
d9e8a49f KM |
6 | License: GPL |
7 | Group: X11/Libraries | |
8 | Source0: http://lilykde.googlecode.com/files/%{name}-%{version}.tar.gz | |
d12f10f9 | 9 | # Source0-md5: e5dbc9425e3aae9890d54649b3d60166 |
d9e8a49f KM |
10 | URL: http://www.frescobaldi.org/ |
11 | BuildRequires: ImageMagick-coder-png | |
12 | BuildRequires: cmake >= 2.6.1-2 | |
e7e445a9 | 13 | BuildRequires: gettext-tools |
d9e8a49f KM |
14 | BuildRequires: lilypond |
15 | BuildRequires: python-PyKDE4 >= 4.0.2 | |
da9a987a | 16 | BuildRequires: rpm-pythonprov |
1655f8c8 AF |
17 | Requires(post,postun): gtk-update-icon-cache |
18 | Requires(post,postun): hicolor-icon-theme | |
d9e8a49f | 19 | Requires: TiMidity++ |
eb7614cd AM |
20 | Requires: konsole >= 4.1.2 |
21 | Requires: okular >= 4.1.2 | |
d9e8a49f KM |
22 | Requires: lilypond |
23 | Requires: python-PyKDE4 >= 4.0.2 | |
24 | Requires: python-PyQt4 >= 4.4.3 | |
25 | Requires: rumor | |
26 | BuildArch: noarch | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
30 | Frescobaldi is a LilyPond sheet music text editor for KDE4. It aims to | |
31 | be powerful, yet lightweight and easy to use. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | Edytor arkuszy muzycznych LilyPond pod KDE4. Ma być potężny, lecz | |
35 | lekki i łatwy w użyciu. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | install -d build | |
42 | cd build | |
43 | %cmake .. \ | |
44 | -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \ | |
45 | -DCMAKE_INSTALL_PREFIX=%{_prefix} | |
46 | ||
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} -C build install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %find_lang %{name} --with-kde | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %update_desktop_database_post | |
62 | %update_icon_cache hicolor | |
63 | ||
64 | %postun | |
65 | %update_desktop_database_postun | |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %files -f %{name}.lang | |
69 | %defattr(644,root,root,755) | |
70 | %attr(755,root,root) %{_bindir}/frescobaldi | |
71 | %{_desktopdir}/kde4/frescobaldi.desktop | |
72 | %{_datadir}/apps/frescobaldi | |
73 | %{_iconsdir}/hicolor/scalable/apps/frescobaldi* |