]>
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 |
183872de | 7 | Version: 4.9.1 |
9ea91482 | 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 |
183872de | 12 | # Source0-md5: 9db72de4b77d5a1d3d5cc07b1b43fb59 |
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 | |
68 | %{_datadir}/config.kcfg/rocs.kcfg | |
df1778e8 | 69 | %{_datadir}/kde4/services/rocs_GMLParser.desktop |
aab10ba2 | 70 | %{_datadir}/kde4/services/rocs_assignvaluesplugin.desktop |
df1778e8 | 71 | %{_datadir}/kde4/services/rocs_dotFilePlugin.desktop |
aab10ba2 AM |
72 | %{_datadir}/kde4/services/rocs_generategraphplugin.desktop |
73 | %{_datadir}/kde4/services/rocs_plaintxtplugin.desktop | |
74 | %{_datadir}/kde4/services/rocs_transformedgesplugin.desktop | |
75 | %{_datadir}/kde4/servicetypes/RocsDataStructurePlugin.desktop | |
76 | %{_datadir}/kde4/servicetypes/RocsFilePlugin.desktop | |
77 | %{_datadir}/kde4/servicetypes/RocsToolsPlugin.desktop | |
78 | %{_datadir}/kde4/services/rocs_GraphStructure.desktop | |
79 | %{_datadir}/kde4/services/rocs_ListStructure.desktop | |
80 | %{_datadir}/config/rocs.knsrc | |
81 | ||
df1778e8 | 82 | %attr(755,root,root) %{_libdir}/kde4/rocs_GMLParser.so |
aab10ba2 | 83 | %attr(755,root,root) %{_libdir}/kde4/rocs_assignvaluesplugin.so |
df1778e8 | 84 | %attr(755,root,root) %{_libdir}/kde4/rocs_dotFilePlugin.so |
aab10ba2 AM |
85 | %attr(755,root,root) %{_libdir}/kde4/rocs_generategraphplugin.so |
86 | %attr(755,root,root) %{_libdir}/kde4/rocs_plaintxt.so | |
87 | %attr(755,root,root) %{_libdir}/kde4/rocs_transformedgesplugin.so | |
88 | %attr(755,root,root) %{_libdir}/kde4/rocs_GraphStructure.so | |
89 | %attr(755,root,root) %{_libdir}/kde4/rocs_ListStructure.so | |
90 | %attr(755,root,root) %{_libdir}/librocslib.so.? | |
91 | %attr(755,root,root) %{_libdir}/librocslib.so.*.*.* | |
92 | ||
93 | %files devel | |
94 | %defattr(644,root,root,755) | |
95 | %{_includedir}/rocs | |
96 | %attr(755,root,root) %{_libdir}/librocslib.so |