]> git.pld-linux.org Git - packages/csstidy.git/blob - csstidy.spec
- pl
[packages/csstidy.git] / csstidy.spec
1 Summary:        Open Source CSS parser and optimiser
2 Summary(pl.UTF-8):      Analizator i optymalizator CSS z otwartymi źródłami
3 Name:           csstidy
4 Version:        1.2
5 Release:        0.3
6 License:        GPL v2+
7 Group:          Applications/WWW
8 Source0:        http://dl.sourceforge.net/csstidy/%{name}-source-%{version}.zip
9 # Source0-md5:  cd2e1e50289fdaba0c56dcb293de8c40
10 Patch0:         http://ftp.debian.org/debian/pool/main/c/csstidy/%{name}_%{version}-1.diff.gz
11 URL:            http://csstidy.sourceforge.net/
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  sed >= 4.0
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 csstidy parses and optimises your CSS code, making it cleaner and more
18 concise. The end result is a smaller CSS file and better written code.
19 It has a variety of option settings giving the user a significant
20 amount of control over the level of file compression and readability.
21 It is not meant to be a CSS validator.
22
23 %description -l pl.UTF-8
24 csstidy analizuje i optymalizuje kod CSS, czyniąc go czystszym i
25 bardziej zwięzłym. Efekt końcowy to mniejszy plik CSS i lepiej
26 napisany kod. Ma rozmaite ustawienia opcji dające użytkowi znaczącą
27 kontrolę nad poziomem kompresji i czytelności pliku. Program nie jest
28 przeznaczony do sprawdzania poprawności CSS.
29
30 %prep
31 %setup -qc
32 %patch0 -p1
33 %{__patch} -p1 < debian/patches/01_Makefiles.dpatch
34 chmod +x configure
35
36 %build
37 %configure
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 install -D csstidy.layout $RPM_BUILD_ROOT%{_datadir}/%{name}/csstidy.layout
46 install -D debian/csstidy.1 $RPM_BUILD_ROOT%{_mandir}/man1/csstidy.1
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/csstidy
54 %dir %{_datadir}/%{name}
55 %{_datadir}/%{name}/csstidy.layout
56 %{_mandir}/man1/csstidy.1*
This page took 0.040638 seconds and 4 git commands to generate.