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