]>
Commit | Line | Data |
---|---|---|
ec688560 | 1 | # TODO: |
e6799581 | 2 | # - optflags |
82f357a9 | 3 | # - fet doesn't respect locale settings |
ec688560 | 4 | # |
8380c349 SS |
5 | Summary: FET is open source free software for automatically scheduling the timetable |
6 | Summary(hu.UTF-8): FET egy nyílt forrású órarend-készítő program | |
7c28ed6e | 7 | Summary(pl.UTF-8): Narzędzie do automatycznego układania planów dla szkół i uczelni |
8380c349 | 8 | Name: fet |
7736396e | 9 | Version: 5.7.5 |
f8bdf701 | 10 | Release: 1 |
8380c349 SS |
11 | License: GPL v2 |
12 | Group: X11/Applications | |
13 | Source0: http://www.lalescu.ro/liviu/fet/download/%{name}-%{version}.tar.bz2 | |
7736396e | 14 | # Source0-md5: 7d815e3ba40f2eb503a5c82a06179dca |
60cbcc4a | 15 | URL: http://www.lalescu.ro/liviu/fet |
8380c349 SS |
16 | BuildRequires: Qt3Support-devel |
17 | BuildRequires: QtCore-devel | |
18 | BuildRequires: QtGui-devel | |
ec688560 | 19 | BuildRequires: QtXml-devel |
8380c349 SS |
20 | BuildRequires: qt4-build |
21 | BuildRequires: qt4-qmake | |
e2dfb500 | 22 | BuildRequires: unzip |
8380c349 SS |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | FET is open source free software for automatically scheduling the | |
27 | timetable of a school, high-school or university. It uses a fast and | |
28 | efficient timetabling algorithm. | |
29 | ||
30 | %description -l hu.UTF-8 | |
a632ae38 | 31 | FET egy nyílt forrású szoftver, amely általános iskolák, középiskolák, |
ec688560 SS |
32 | egyetemek órarendjét (időbeosztását) készíti el. Egy gyors és hatékony |
33 | algoritmust használ. | |
8380c349 | 34 | |
7c28ed6e | 35 | %description -l pl.UTF-8 |
e6799581 JB |
36 | FET jest oprogramowaniem o otwartych źródłach służącym do |
37 | automatycznego układania planów zajęć szkół i uczelni. Program ten | |
38 | używa szybkiego i efektywnego algorytmu układającego harmonogramy. | |
7c28ed6e | 39 | |
7736396e ZU |
40 | %package examples |
41 | Summary: Sample inputs to FET | |
42 | Summary(hu.UTF-8): Példafájlok FET-hez | |
7397c6f0 | 43 | Summary(pl.UTF-8): Przykładowe pliki wejściowe dla programu FET |
7736396e ZU |
44 | Group: X11/Applications |
45 | ||
46 | %description examples | |
47 | Sample input files to FET from all the world. | |
48 | ||
49 | %description examples -l hu.UTF-8 | |
50 | Példafájlok FET-hez a világ minden tájáról. | |
51 | ||
7397c6f0 JB |
52 | %description examples -l pl.UTF-8 |
53 | Przykładowe pliki wejściowe dla programu FET. | |
7736396e | 54 | |
8380c349 SS |
55 | %prep |
56 | %setup -q | |
57 | ||
58 | %build | |
59 | qmake-qt4 fet.pro | |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
694d1073 SS |
64 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}/translations} |
65 | ||
66 | install fet $RPM_BUILD_ROOT%{_bindir} | |
67 | install doc/fet.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
82f357a9 | 68 | install translations/fet_*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}/translations |
7736396e ZU |
69 | install -d $RPM_BUILD_ROOT%{_docdir} |
70 | %{__cp} -a sample_inputs $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
694d1073 | 71 | |
82f357a9 SS |
72 | %{__rm} -f $RPM_BUILD_ROOT%{_datadir}/%{name}/translations/fet_untranslated.qm |
73 | ||
8380c349 SS |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
e2dfb500 | 79 | %doc AUTHORS ChangeLog CONTRIBUTORS GUESTBOOK LINKS README REFERENCES SPONSORS THANKS TODO TRANSLATORS doc/*/* |
8380c349 | 80 | %attr(755,root,root) %{_bindir}/%{name} |
ec688560 | 81 | %dir %{_datadir}/%{name} |
ec688560 SS |
82 | %dir %{_datadir}/%{name}/translations |
83 | %lang(ar) %{_datadir}/%{name}/translations/fet_ar.qm | |
ec688560 | 84 | %lang(ca) %{_datadir}/%{name}/translations/fet_ca.qm |
ec688560 | 85 | %lang(de) %{_datadir}/%{name}/translations/fet_de.qm |
ec688560 | 86 | %lang(el) %{_datadir}/%{name}/translations/fet_el.qm |
ec688560 | 87 | %lang(es) %{_datadir}/%{name}/translations/fet_es.qm |
ec688560 | 88 | %lang(fr) %{_datadir}/%{name}/translations/fet_fr.qm |
ec688560 | 89 | %lang(hu) %{_datadir}/%{name}/translations/fet_hu.qm |
ec688560 | 90 | %lang(id) %{_datadir}/%{name}/translations/fet_id.qm |
ec688560 | 91 | %lang(it) %{_datadir}/%{name}/translations/fet_it.qm |
ec688560 | 92 | %lang(mk) %{_datadir}/%{name}/translations/fet_mk.qm |
ec688560 | 93 | %lang(ms) %{_datadir}/%{name}/translations/fet_ms.qm |
ec688560 | 94 | %lang(nl) %{_datadir}/%{name}/translations/fet_nl.qm |
ec688560 | 95 | %lang(pl) %{_datadir}/%{name}/translations/fet_pl.qm |
ec688560 | 96 | %lang(ro) %{_datadir}/%{name}/translations/fet_ro.qm |
ec688560 | 97 | %lang(tr) %{_datadir}/%{name}/translations/fet_tr.qm |
7397c6f0 | 98 | %{_mandir}/man1/fet.1* |
7736396e ZU |
99 | |
100 | %files examples | |
101 | %defattr(644,root,root,755) | |
102 | %{_examplesdir}/%{name}-%{version}/sample_inputs |