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