]>
Commit | Line | Data |
---|---|---|
aab10ba2 AM |
1 | %define _state stable |
2 | %define orgname rocs | |
3 | ||
4 | Summary: K Desktop Environment - Rocs Graph Theory | |
ac93e664 | 5 | Summary(pl.UTF-8): K Desktop Environment - Rocs - teoria grafów |
df1778e8 | 6 | Name: kde4-rocs |
4cd138ff WF |
7 | Version: 4.12.0 |
8 | Release: 1 | |
aab10ba2 AM |
9 | License: GPL |
10 | Group: X11/Applications/Science | |
9ea91482 | 11 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
4cd138ff | 12 | # Source0-md5: 8030c5ceaf98b8672725af50e3ffaaaf |
aab10ba2 | 13 | URL: http://www.kde.org/ |
7972da11 | 14 | BuildRequires: QtScriptTools-devel |
aab10ba2 AM |
15 | BuildRequires: boost-devel |
16 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
17 | Obsoletes: kde4-kdeedu-rocs < 4.7.0 | |
df1778e8 | 18 | Obsoletes: rocs <= 4.8.0 |
aab10ba2 AM |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | Graph Theory Tool for Professors and Students. | |
23 | ||
24 | %description -l pl.UTF-8 | |
ac93e664 | 25 | Teoria grafów dla profesorów oraz studentów. |
aab10ba2 AM |
26 | |
27 | %package devel | |
28 | Summary: Header files for %{name} library | |
29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name} | |
30 | Group: X11/Development/Libraries | |
31 | Requires: %{name} = %{version}-%{release} | |
32 | Obsoletes: kde4-kdeedu-devel < 4.7.0 | |
df1778e8 | 33 | Obsoletes: rocs-devel <= 4.8.0 |
aab10ba2 AM |
34 | |
35 | %description devel | |
36 | Header files for %{name} library. | |
37 | ||
38 | %description devel -l pl.UTF-8 | |
39 | Pliki nagłówkowe biblioteki %{name}. | |
40 | ||
41 | %prep | |
42 | %setup -q -n %{orgname}-%{version} | |
43 | ||
44 | %build | |
45 | install -d build | |
46 | cd build | |
47 | %cmake \ | |
48 | .. | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} -C build/ install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT \ | |
56 | kde_htmldir=%{_kdedocdir} | |
57 | ||
df1778e8 | 58 | %find_lang %{orgname} --with-kde |
aab10ba2 AM |
59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
df1778e8 | 63 | %files -f %{orgname}.lang |
aab10ba2 AM |
64 | %defattr(644,root,root,755) |
65 | %attr(755,root,root) %{_bindir}/rocs | |
66 | %{_desktopdir}/kde4/rocs.desktop | |
67 | %{_datadir}/apps/rocs | |
9b25a145 | 68 | %{_datadir}/apps/rocs_rootedtree |
aab10ba2 AM |
69 | %{_datadir}/config.kcfg/rocs.kcfg |
70 | %{_datadir}/kde4/services/rocs_assignvaluesplugin.desktop | |
9b25a145 | 71 | %{_datadir}/kde4/services/rocs_dotfileformatplugin.desktop |
aab10ba2 | 72 | %{_datadir}/kde4/services/rocs_generategraphplugin.desktop |
9b25a145 JR |
73 | %{_datadir}/kde4/services/rocs_gmlfileformatplugin.desktop |
74 | %{_datadir}/kde4/services/rocs_GraphStructure.desktop | |
75 | %{_datadir}/kde4/services/rocs_kmlfileformatplugin.desktop | |
76 | %{_datadir}/kde4/services/rocs_ListStructure.desktop | |
77 | %{_datadir}/kde4/services/rocs_RootedTreeStructure.desktop | |
78 | %{_datadir}/kde4/services/rocs_tgffileformatplugin.desktop | |
79 | %{_datadir}/kde4/services/rocs_tikzfileformatplugin.desktop | |
aab10ba2 AM |
80 | %{_datadir}/kde4/services/rocs_transformedgesplugin.desktop |
81 | %{_datadir}/kde4/servicetypes/RocsDataStructurePlugin.desktop | |
9b25a145 | 82 | %{_datadir}/kde4/servicetypes/RocsGraphFilePlugin.desktop |
aab10ba2 | 83 | %{_datadir}/kde4/servicetypes/RocsToolsPlugin.desktop |
aab10ba2 | 84 | %{_datadir}/config/rocs.knsrc |
aba20fae | 85 | %{_iconsdir}/hicolor/*x*/apps/rocs.png |
4cd138ff | 86 | %{_iconsdir}/hicolor/scalable/apps/rocs.svgz |
aab10ba2 AM |
87 | |
88 | %attr(755,root,root) %{_libdir}/kde4/rocs_assignvaluesplugin.so | |
9b25a145 | 89 | %attr(755,root,root) %{_libdir}/kde4/rocs_dotfileformat.so |
aab10ba2 | 90 | %attr(755,root,root) %{_libdir}/kde4/rocs_generategraphplugin.so |
9b25a145 | 91 | %attr(755,root,root) %{_libdir}/kde4/rocs_gmlfileformat.so |
aab10ba2 | 92 | %attr(755,root,root) %{_libdir}/kde4/rocs_GraphStructure.so |
9b25a145 | 93 | %attr(755,root,root) %{_libdir}/kde4/rocs_kmlfileformat.so |
aab10ba2 | 94 | %attr(755,root,root) %{_libdir}/kde4/rocs_ListStructure.so |
9b25a145 JR |
95 | %attr(755,root,root) %{_libdir}/kde4/rocs_RootedTreeStructure.so |
96 | %attr(755,root,root) %{_libdir}/kde4/rocs_tgffileformat.so | |
97 | %attr(755,root,root) %{_libdir}/kde4/rocs_tikzfileformat.so | |
98 | %attr(755,root,root) %{_libdir}/kde4/rocs_transformedgesplugin.so | |
99 | %attr(755,root,root) %ghost %{_libdir}/librocscore.so.? | |
100 | %attr(755,root,root) %{_libdir}/librocscore.so.*.*.* | |
101 | %attr(755,root,root) %ghost %{_libdir}/librocsvisualeditor.so.? | |
102 | %attr(755,root,root) %{_libdir}/librocsvisualeditor.so.*.*.* | |
aab10ba2 AM |
103 | |
104 | %files devel | |
105 | %defattr(644,root,root,755) | |
106 | %{_includedir}/rocs | |
9b25a145 JR |
107 | %attr(755,root,root) %{_libdir}/librocscore.so |
108 | %attr(755,root,root) %{_libdir}/librocsvisualeditor.so |