]> git.pld-linux.org Git - packages/frescobaldi.git/blob - frescobaldi.spec
- Requires(post,postun): gtk-update-icon-cache
[packages/frescobaldi.git] / frescobaldi.spec
1 Summary:        LilyPond sheet music text editor for KDE4
2 Summary(pl.UTF-8):      Edytor arkuszy muzycznych LilyPond pod KDE4
3 Name:           frescobaldi
4 Version:        1.0.1
5 Release:        4
6 License:        GPL
7 Group:          X11/Libraries
8 Source0:        http://lilykde.googlecode.com/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  9b989f2daef6fa94015971a31891d683
10 URL:            http://www.frescobaldi.org/
11 BuildRequires:  ImageMagick-coder-png
12 BuildRequires:  cmake >= 2.6.1-2
13 BuildRequires:  gettext-devel
14 BuildRequires:  lilypond
15 BuildRequires:  python-PyKDE4 >= 4.0.2
16 BuildRequires:  rpm-pythonprov
17 Requires(post,postun):  gtk-update-icon-cache
18 Requires(post,postun):  hicolor-icon-theme
19 Requires:       TiMidity++
20 Requires:       kde4-kdebase-konsole >= 4.1.2
21 Requires:       kde4-kdegraphics-okular >= 4.1.2
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*
This page took 0.067872 seconds and 3 git commands to generate.