]>
Commit | Line | Data |
---|---|---|
55557e35 | 1 | %define _snap 20061110 |
bd10bebf | 2 | Summary: Utility to clean up and pretty print HTML files |
63037b52 | 3 | Summary(pl.UTF-8): Narzędzie do porządkowania kodu HTML |
bd10bebf | 4 | Name: tidy |
55557e35 | 5 | Version: 0.%{_snap} |
b7fd6c08 | 6 | Release: 1 |
ebbb6aea | 7 | Epoch: 1 |
9d2f849d | 8 | License: distributable |
6a43e31a | 9 | Group: Applications/Text |
55557e35 ER |
10 | #Source0: http://tidy.sourceforge.net/src/tidy_src.tgz |
11 | Source0: %{name}-%{_snap}.tar.bz2 | |
12 | # Source0-md5: 872c0541d7693ff8a9c0961d67c5e871 | |
13 | Source1: http://tidy.sourceforge.net/docs/%{name}_docs.tgz | |
dcc1f33c | 14 | # Source1-md5: 86de2f198e57399c063d2567b2a25628 |
ae958607 | 15 | URL: http://tidy.sourceforge.net/ |
3b6667cf | 16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
18 | BuildRequires: libtool | |
48397551 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
bd10bebf | 20 | |
21 | %description | |
e60405c2 | 22 | Tidy is utility for cleaning and pretty printing HTML files. It can |
23 | help in keeping your WWW sources in unified format (case of tags) and | |
24 | proper encoding of different character sets. | |
bd10bebf | 25 | |
4b5a1aab JR |
26 | %description -l pl.UTF-8 |
27 | Tidy jest narzędziem służącym do czytelnego formatowania i | |
28 | wyświetlania źródłowego kodu HTML. Ułatwia utrzymanie porządku w | |
29 | źródłach stron WWW, utrzymanie jednolitej konwencji (wielkość liter w | |
30 | tagach) oraz poprawnego kodowania różnych standardów znaków. | |
bd10bebf | 31 | |
9d2f849d | 32 | %package devel |
39c4f628 | 33 | Summary: Tidy header files |
63037b52 | 34 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dla programu Tidy |
39c4f628 | 35 | Group: Development/Libraries |
e891f6af | 36 | Requires: %{name} = %{epoch}:%{version}-%{release} |
9d2f849d MK |
37 | |
38 | %description devel | |
e67a84ac JB |
39 | Tidy header files. |
40 | ||
4b5a1aab JR |
41 | %description devel -l pl.UTF-8 |
42 | Pliki nagłówkowe biblioteki dla programu Tidy. | |
e67a84ac JB |
43 | |
44 | %package static | |
45 | Summary: Static Tidy library | |
63037b52 | 46 | Summary(pl.UTF-8): Statyczna biblioteka Tidy |
e67a84ac | 47 | Group: Development/Libraries |
e891f6af | 48 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} |
e67a84ac JB |
49 | |
50 | %description static | |
51 | Static Tidy library. | |
9d2f849d | 52 | |
4b5a1aab | 53 | %description static -l pl.UTF-8 |
e67a84ac | 54 | Statyczna biblioteka Tidy. |
9d2f849d | 55 | |
bd10bebf | 56 | %prep |
956b1ed6 ER |
57 | %setup -q -c -b1 |
58 | cd %{name} | |
bd10bebf | 59 | |
60 | %build | |
956b1ed6 | 61 | cd %{name} |
3b6667cf | 62 | cp -af build/gnuauto/* . |
63 | %{__libtoolize} | |
64 | %{__aclocal} | |
65 | %{__automake} | |
66 | %{__autoconf} | |
67 | %configure | |
9d2f849d MK |
68 | %{__make} |
69 | ||
bd10bebf | 70 | %install |
19c544cf | 71 | rm -rf $RPM_BUILD_ROOT |
956b1ed6 | 72 | cd %{name} |
e67a84ac | 73 | |
3b6667cf | 74 | %{__make} install \ |
e67a84ac | 75 | DESTDIR=$RPM_BUILD_ROOT |
6a43e31a | 76 | |
bd10bebf | 77 | %clean |
19c544cf | 78 | rm -rf $RPM_BUILD_ROOT |
bd10bebf | 79 | |
e67a84ac JB |
80 | %post -p /sbin/ldconfig |
81 | %postun -p /sbin/ldconfig | |
82 | ||
bd10bebf | 83 | %files |
638a6fe6 | 84 | %defattr(644,root,root,755) |
55557e35 | 85 | %doc tidy/htmldoc/* |
3b6667cf | 86 | %attr(755,root,root) %{_bindir}/* |
e67a84ac | 87 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* |
9d2f849d MK |
88 | |
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
e67a84ac JB |
91 | %attr(755,root,root) %{_libdir}/lib*.so |
92 | %{_libdir}/lib*.la | |
3b6667cf | 93 | %{_includedir}/*.h |
e67a84ac JB |
94 | |
95 | %files static | |
96 | %defattr(644,root,root,755) | |
97 | %{_libdir}/lib*.a |