Last change
on this file since 555c7f8 was
5f4d9c3,
checked in by Maciej Prill <mprill@…>, 13 years ago
|
Rewritten the build system, added lem UTF-8 version.
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[5f4d9c3] | 1 | # |
---|
| 2 | # Default RPM header. |
---|
| 3 | # |
---|
| 4 | # START_RPM_STD_HEADER: |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | # |
---|
| 8 | # RPM properties |
---|
| 9 | # |
---|
| 10 | %define _this_product UAM Text Tools |
---|
| 11 | %define _this_summary Some tools for text processing |
---|
| 12 | %define _this_name utt |
---|
| 13 | %define _this_version %(cat ../../common/version.def) |
---|
| 14 | %define _this_release %(cat ../../common/release.def) |
---|
| 15 | %define _this_copyright Adam Mickiewicz University, Poland |
---|
| 16 | |
---|
| 17 | # |
---|
| 18 | # Default RPM header. |
---|
| 19 | # |
---|
| 20 | # END_RPM_STD_HEADER: |
---|
| 21 | # -------------------------------------------------------------------- |
---|
| 22 | |
---|
| 23 | Summary: %_this_summary |
---|
| 24 | Name: %_this_name |
---|
| 25 | Version: %_this_version |
---|
| 26 | Release: %_this_release |
---|
| 27 | #Copyright: %_this_copyright |
---|
| 28 | License: GPL |
---|
| 29 | Group: Development/Tools |
---|
| 30 | URL: http://utt.amu.edu.pl |
---|
| 31 | Vendor: Adam Mickiewicz University |
---|
| 32 | BuildRoot: %(pwd) |
---|
| 33 | #BuildArch: i586 |
---|
| 34 | # requirements for utt application |
---|
| 35 | #AutoReq: no |
---|
| 36 | #AutoReqProv: no |
---|
| 37 | |
---|
| 38 | #Requires: glibc >= 2.1.3 |
---|
| 39 | #Requires: libgcc1 >= 3.0 |
---|
| 40 | #Requires: libgcc >= 3.0 |
---|
| 41 | #Requires: libstdc++6 >= 3.4.1 |
---|
| 42 | #Requires: libstdc++ >= 3.4.1 |
---|
| 43 | |
---|
| 44 | %description |
---|
| 45 | %(cat ../../common/description.def) |
---|
| 46 | |
---|
| 47 | %description -l pl |
---|
| 48 | %(cat ../../common/description.pl.def) |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | # ------------------------------------------------------------- |
---|
| 52 | # preparing sources for compilation |
---|
| 53 | %prep |
---|
| 54 | |
---|
| 55 | # source compilation |
---|
| 56 | %build |
---|
| 57 | |
---|
| 58 | # rpm building |
---|
| 59 | %install |
---|
| 60 | |
---|
| 61 | # cleaning after rpm build |
---|
| 62 | %clean |
---|
| 63 | |
---|
| 64 | # ------------------------------------------------------------- |
---|
| 65 | #before installation |
---|
| 66 | %pre |
---|
| 67 | |
---|
| 68 | #after installation |
---|
| 69 | %post |
---|
| 70 | # we need to create utt.conf file |
---|
| 71 | |
---|
| 72 | #before uninstallation |
---|
| 73 | %preun |
---|
| 74 | |
---|
| 75 | #after uninstallation |
---|
| 76 | %postun |
---|
| 77 | |
---|
| 78 | # ------------------------------------------------------------- |
---|
| 79 | %files |
---|
| 80 | %defattr(-,root,root) |
---|
| 81 | /* |
---|
Note: See
TracBrowser
for help on using the repository browser.